Author: veithen
Date: Sun Jun 13 21:05:27 2010
New Revision: 954310

URL: http://svn.apache.org/viewvc?rev=954310&view=rev
Log:
Fixed an issue that prevented the Javadoc from being included in the binary 
distribution when the apache-release profile is activated.

Modified:
    webservices/commons/trunk/modules/axiom/pom.xml

Modified: webservices/commons/trunk/modules/axiom/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/pom.xml?rev=954310&r1=954309&r2=954310&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/pom.xml (original)
+++ webservices/commons/trunk/modules/axiom/pom.xml Sun Jun 13 21:05:27 2010
@@ -257,7 +257,11 @@
                 <executions>
                     <execution>
                         <id>distribution-javadoc</id>
-                        <phase>package</phase>
+                        <!-- Need to execute this before the package phase. 
Reason: If the
+                             apache-release profile is activated, then the 
assembly plugin is run
+                             before the javadoc plugin in the package phase. 
Note that the
+                             prepare-package phase is only available in Maven 
2.1. -->
+                        <phase>compile</phase>
                         <goals>
                             <goal>aggregate</goal>
                         </goals>
@@ -354,7 +358,7 @@
                         <goals>
                             <goal>generate-pdf</goal>
                         </goals>
-                        <phase>package</phase>
+                        <phase>compile</phase>
                         <configuration>
                             <includes>userguide.xml</includes>
                             
<foCustomization>src/docbkx/xsl/fo.xsl</foCustomization>
@@ -365,7 +369,7 @@
                         <goals>
                             <goal>generate-pdf</goal>
                         </goals>
-                        <phase>package</phase>
+                        <phase>compile</phase>
                         <configuration>
                             <includes>devguide.xml</includes>
                             
<foCustomization>src/docbkx/xsl/fo.xsl</foCustomization>


Reply via email to