Ensure tarball pom is updated during release:prepare

This commit is contained in:
Trustin Lee 2012-07-11 00:11:10 +09:00
parent fbf54a6027
commit 7c2e09f7b2
2 changed files with 91 additions and 88 deletions

View File

@ -81,17 +81,8 @@
<module>example</module>
<module>testsuite</module>
<module>all</module>
</modules>
<profiles>
<!-- Build xref, Javadoc, and tarball only on full build -->
<profile>
<id>full</id>
<modules>
<module>tarball</module>
</modules>
</profile>
</profiles>
<dependencyManagement>
<dependencies>

View File

@ -20,7 +20,7 @@
<parent>
<groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId>
<version>4.0.0.Alpha1-SNAPSHOT</version>
<version>4.0.0.Alpha2-SNAPSHOT</version>
</parent>
<artifactId>netty-tarball</artifactId>
@ -62,13 +62,51 @@
</execution>
</executions>
</plugin>
<!-- Disable animal sniffer -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<executions>
<execution>
<id>default</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<!-- Disable checkstyle -->
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<id>check-style</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<!-- Do not deploy this module -->
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>full</id>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>copy-jars</id>
<phase>generate-resources</phase>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
@ -80,7 +118,7 @@
</execution>
<execution>
<id>copy-sources</id>
<phase>generate-resources</phase>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
@ -93,7 +131,7 @@
</execution>
<execution>
<id>copy-jars-all-in-one</id>
<phase>generate-resources</phase>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
@ -105,7 +143,7 @@
</execution>
<execution>
<id>copy-sources-all-in-one</id>
<phase>generate-resources</phase>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
@ -140,36 +178,10 @@
</executions>
</plugin>
<!-- Disable animal sniffer -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<executions>
<execution>
<id>default</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<!-- Disable checkstyle -->
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<id>check-style</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<!-- Do not deploy this module -->
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>