Author: veithen
Date: Thu Nov 11 14:12:13 2010
New Revision: 1033942
URL: http://svn.apache.org/viewvc?rev=1033942&view=rev
Log:
Avoid a build failure when the apache-release profile is activated, but
gpg.skip=true (as in Hudson).
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=1033942&r1=1033941&r2=1033942&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/pom.xml (original)
+++ axis/axis2/java/core/trunk/pom.xml Thu Nov 11 14:12:13 2010
@@ -194,8 +194,21 @@
<configuration>
<descriptors>
<descriptor>src/main/assembly/doc.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ <execution>
+ <id>prepare-dists</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
<descriptor>src/main/assembly/dists.xml</descriptor>
</descriptors>
+ <!-- We can only prepare the distributions
if they have been signed -->
+ <skipAssembly>${gpg.skip}</skipAssembly>
</configuration>
</execution>
</executions>