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 2012/03/24 11:00:41 UTC

svn commit: r1304742 - /axis/axis1/java/trunk/samples/pom.xml

Author: veithen
Date: Sat Mar 24 10:00:41 2012
New Revision: 1304742

URL: http://svn.apache.org/viewvc?rev=1304742&view=rev
Log:
Skip Javadoc JAR generation for samples.

Modified:
    axis/axis1/java/trunk/samples/pom.xml

Modified: axis/axis1/java/trunk/samples/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis1/java/trunk/samples/pom.xml?rev=1304742&r1=1304741&r2=1304742&view=diff
==============================================================================
--- axis/axis1/java/trunk/samples/pom.xml (original)
+++ axis/axis1/java/trunk/samples/pom.xml Sat Mar 24 10:00:41 2012
@@ -64,4 +64,28 @@
             </plugin>
         </plugins>
     </build>
+    <profiles>
+        <profile>
+            <id>apache-release</id>
+            <build>
+                <plugins>
+                    <!-- Don't generate Javadoc JARs for samples since we don't deploy them anyway -->
+                    <plugin>
+                        <artifactId>maven-javadoc-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>attach-javadocs</id>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                                <configuration>
+                                    <skip>true</skip>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 </project>