Add release and verify profile properties (#114)
This commit is contained in:
parent
f3a368f89a
commit
4081e96f8d
2 changed files with 35 additions and 2 deletions
|
@ -1,6 +1,11 @@
|
||||||
CHANGELOG
|
CHANGELOG
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
5.2.0
|
||||||
|
-----
|
||||||
|
|
||||||
|
* Add release and verify profile properties
|
||||||
|
|
||||||
5.1.2
|
5.1.2
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
32
pom.xml
32
pom.xml
|
@ -53,8 +53,36 @@
|
||||||
</developers>
|
</developers>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>verify</id>
|
||||||
|
<!--
|
||||||
|
The verify profile is intended to be used only when the verify phase is initiated from Jenkins.
|
||||||
|
The test phase should have completed successfully as part of a separate mvn invocation.
|
||||||
|
The following properties disable some of the plugins from executing again during this verify phase.
|
||||||
|
Performing "mvn -P verify clean verify" will fail. Instead: "mvn clean test && mvn -P verify verify"
|
||||||
|
-->
|
||||||
|
<properties>
|
||||||
|
<maven.main.skip>true</maven.main.skip>
|
||||||
|
<skipTests>true</skipTests>
|
||||||
|
<jacoco.skip>true</jacoco.skip>
|
||||||
|
</properties>
|
||||||
|
</profile><!-- verify -->
|
||||||
|
|
||||||
<profile>
|
<profile>
|
||||||
<id>release</id>
|
<id>release</id>
|
||||||
|
<!--
|
||||||
|
The release profile is intended to be used only when the deploy phase is initiated from Jenkins.
|
||||||
|
The install phase should have completed successfully as part of a separate mvn invocation.
|
||||||
|
The following properties disable some of the plugins from executing again during this deploy phase.
|
||||||
|
Performing "mvn -P release clean deploy" will fail. Instead: "mvn clean install && mvn -P release deploy"
|
||||||
|
-->
|
||||||
|
<properties>
|
||||||
|
<maven.main.skip>true</maven.main.skip>
|
||||||
|
<skipTests>true</skipTests>
|
||||||
|
<jacoco.skip>true</jacoco.skip>
|
||||||
|
<skipITs>true</skipITs>
|
||||||
|
<maven.install.skip>true</maven.install.skip>
|
||||||
|
</properties>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
@ -148,7 +176,7 @@
|
||||||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
||||||
</repository>
|
</repository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
</profile>
|
</profile><!-- release -->
|
||||||
</profiles><!-- release -->
|
</profiles>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in a new issue