Add dry-run profile.

feature/16710
Manuele Simi 5 years ago
parent 82ddf0005c
commit e87e8b7c96

@ -25,6 +25,9 @@ A parent pom for all the gCube artifacts.
* Deployments of snapshot artifacts are not permitted
* Release artifacts deployed to gcube-releases
## dry-run
This profile disables the deployment of the artifacts.
## disable-java8-doclint
This profile sets an additional parameter for javadoc generation to disables the doclint.
It avoids the build fails if formal/syntax errors are found in javadoc comments.

@ -200,6 +200,30 @@
</distributionManagement>
</profile>
<profile>
<id>dry-run</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>build-dry-run</name>
<value>true</value>
</property>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M1</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>

Loading…
Cancel
Save