You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2015/12/17 00:22:20 UTC
svn commit: r1720477 - in /axis/axis2/java/core/trunk: pom.xml
src/main/assembly/doc.xml src/main/assembly/jar.xml
Author: veithen
Date: Wed Dec 16 23:22:19 2015
New Revision: 1720477
URL: http://svn.apache.org/viewvc?rev=1720477&view=rev
Log:
Kill the aggregate JAR and docs distribution to simplify the release process:
- Aggregate JARs deployed to Maven are a bad idea. Ideally a given Java package should correspond to a single Maven groupId/artifactId.
- There is no way to have (1) a simple release process that uses the standard maven-release-plugin workflow AND (2) a docs distribution AND (3) Maven sub-modules that contribute to the site (i.e. to have a site that requires execution of mvn site:stage). We need (3) e.g. to generate documentation for our Maven plugins. Since we definitely want (1), let's sacrifice (2) and have users visit our Web site instead of downloading a docs distribution.
- Both prevent us from having a simple build setup where the root POM is also the parent POM.
Removed:
axis/axis2/java/core/trunk/src/main/assembly/doc.xml
axis/axis2/java/core/trunk/src/main/assembly/jar.xml
Modified:
axis/axis2/java/core/trunk/pom.xml
Modified: axis/axis2/java/core/trunk/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/pom.xml?rev=1720477&r1=1720476&r2=1720477&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/pom.xml (original)
+++ axis/axis2/java/core/trunk/pom.xml Wed Dec 16 23:22:19 2015
@@ -143,32 +143,6 @@
</executions>
</plugin>
<plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <!-- Configure an additional execution. The configuration
- is the same as the one specified together with the execution
- in the pre-site phase. -->
- <executions>
- <execution>
- <id>distribution-javadoc</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>aggregate</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-site-plugin</artifactId>
- <executions>
- <execution>
- <phase>prepare-package</phase>
- <goals>
- <goal>site</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
@@ -185,18 +159,6 @@
</configuration>
</execution>
<execution>
- <id>package-other-distributions</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <descriptors>
- <descriptor>src/main/assembly/doc.xml</descriptor>
- </descriptors>
- </configuration>
- </execution>
- <execution>
<id>prepare-dists</id>
<!-- Must be done in the install phase after the checksum and signature for
the docs distribution has been generated. -->
@@ -634,24 +596,6 @@
</configuration>
</execution>
</executions>
- </plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <id>package-jar</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <descriptors>
- <descriptor>src/main/assembly/jar.xml</descriptor>
- </descriptors>
- <appendAssemblyId>false</appendAssemblyId>
- </configuration>
- </execution>
- </executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>