Trying to avoid redundant deployment on release
This commit is contained in:
parent
07fba7f859
commit
921ec38d0c
24
pom.xml
24
pom.xml
|
@ -201,6 +201,11 @@
|
||||||
<artifactId>maven-release-plugin</artifactId>
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<tagBase>https://svn.jboss.org/repos/netty/tags</tagBase>
|
<tagBase>https://svn.jboss.org/repos/netty/tags</tagBase>
|
||||||
|
<!-- We don't want to use the default release profile because it
|
||||||
|
causes the JavaDoc and source jars to be deployed twice. -->
|
||||||
|
<useReleaseProfile>false</useReleaseProfile>
|
||||||
|
<!-- Activate a custom profile called "release" -->
|
||||||
|
<arguments>-Prelease</arguments>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
@ -310,4 +315,21 @@
|
||||||
<url>https://snapshots.jboss.org/maven2</url>
|
<url>https://snapshots.jboss.org/maven2</url>
|
||||||
</snapshotRepository>
|
</snapshotRepository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
</project>
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>release</id>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<inherited>true</inherited>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<updateReleaseInfo>true</updateReleaseInfo>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user