Author: veithen Date: Wed Dec 15 22:36:19 2010 New Revision: 1049733 URL: http://svn.apache.org/viewvc?rev=1049733&view=rev Log: Prevent the apache-release profile from generating a source JAR for sandesha2-client-constants (because it would be empty).
Modified: axis/axis2/java/sandesha/trunk/modules/client/pom.xml Modified: axis/axis2/java/sandesha/trunk/modules/client/pom.xml URL: http://svn.apache.org/viewvc/axis/axis2/java/sandesha/trunk/modules/client/pom.xml?rev=1049733&r1=1049732&r2=1049733&view=diff ============================================================================== --- axis/axis2/java/sandesha/trunk/modules/client/pom.xml (original) +++ axis/axis2/java/sandesha/trunk/modules/client/pom.xml Wed Dec 15 22:36:19 2010 @@ -75,6 +75,22 @@ </executions> </plugin> <plugin> + <!-- This overrides the execution configured in the apache-release profile in + the org.apache:apache super-POM. We don't want to generate a source JAR because + it would be empty. Since the source:jar goal has no skip option, the trick is + to bind it to a non existing phase. --> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <phase>never</phase> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> <artifactId>maven-site-plugin</artifactId> <configuration> <generateReports>false</generateReports>