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 2010/12/16 21:50:14 UTC

svn commit: r1050154 - /axis/axis2/java/sandesha/trunk/modules/distribution/pom.xml

Author: veithen
Date: Thu Dec 16 20:50:14 2010
New Revision: 1050154

URL: http://svn.apache.org/viewvc?rev=1050154&view=rev
Log:
Use maven-javadoc-plugin instead of Ant to generate the Javadoc for inclusion in the doc distribution.

Modified:
    axis/axis2/java/sandesha/trunk/modules/distribution/pom.xml

Modified: axis/axis2/java/sandesha/trunk/modules/distribution/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis2/java/sandesha/trunk/modules/distribution/pom.xml?rev=1050154&r1=1050153&r2=1050154&view=diff
==============================================================================
--- axis/axis2/java/sandesha/trunk/modules/distribution/pom.xml (original)
+++ axis/axis2/java/sandesha/trunk/modules/distribution/pom.xml Thu Dec 16 20:50:14 2010
@@ -118,35 +118,22 @@
                 </executions>
             </plugin>
             <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <version>1.1</version>
-                <inherited>false</inherited>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <version>2.5</version>
                 <executions>
                     <execution>
                         <id>javadoc-generation</id>
                         <phase>package</phase>
-                        <configuration>
-                            <tasks>
-                                <mkdir dir="${basedir}/target/docs/apidocs"/>
-                                <javadoc packagenames="org.apache.sandesha2.*"
-                                         destdir="${basedir}/target/docs/apidocs"
-                                         classpathref="maven.runtime.classpath"
-                                         author="true"
-                                         version="true"
-                                         use="true"
-                                         windowtitle="Sandesha2 API"
-                                         doctitle="Sandesha2"
-                                         bottom="Copyright &#169; 2007 Apache Web Services Project. All Rights Reserved.">
-                                    <packageset dir="target/sources/" defaultexcludes="yes">
-                                        <include name="org/apache/sandesha2/**"/>
-                                    </packageset>
-                                </javadoc>
-                            </tasks>
-                        </configuration>
                         <goals>
-                            <goal>run</goal>
+                            <goal>javadoc</goal>
                         </goals>
+                        <configuration>
+                            <sourcepath>target/sources</sourcepath>
+                            <excludePackageNames>org.tempuri</excludePackageNames>
+                            <reportOutputDirectory>${project.build.directory}/docs/apidocs</reportOutputDirectory>
+                            <windowtitle>Sandesha2 API</windowtitle>
+                            <doctitle>Sandesha2</doctitle>
+                        </configuration>
                     </execution>
                 </executions>
             </plugin>