[wsas-java-dev] svn commit r319 - wsas/java/trunk/modules/distribution/common

svn at wso2.com svn at wso2.com
Thu Jan 4 21:08:00 PST 2007


Author: saminda
Date: Thu Jan  4 21:07:59 2007
New Revision: 319

Modified:
   wsas/java/trunk/modules/distribution/common/pom.xml
Log:
javadoc build worked 


Modified: wsas/java/trunk/modules/distribution/common/pom.xml
==============================================================================
--- wsas/java/trunk/modules/distribution/common/pom.xml	(original)
+++ wsas/java/trunk/modules/distribution/common/pom.xml	Thu Jan  4 21:07:59 2007
@@ -500,6 +500,65 @@
                 </plugins>
             </build>
         </profile>
+
+        <profile>
+            <id>javadoc</id>
+            <activation>
+                <property>
+                    <name>javadoc</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-antrun-plugin</artifactId>
+                        <version>1.1</version>
+                        <executions>
+                            <execution>
+                                <id>build-javadoc</id>
+                                <phase>process-classes</phase>
+                                <configuration>
+                                    <tasks>
+                                        <javadoc packagenames="org.wso2.wsas.*"
+                                                 overview="../../../etc/copyright.html"
+                                                 stylesheetfile="../../../etc/JavadocStyles.css"
+                                                 destdir="${dist.temp.dir}/docs/apidocs"
+                                                 author="true"
+                                                 breakiterator="true"
+                                                 version="true"
+                                                 use="true"
+                                                 windowtitle="WSO2 Web Services Application Server API">
+
+                                            <sourcepath>
+                                                <dirset dir="../..">
+                                                    <include name="**/admin/src"/>
+                                                    <include name="**/core/src"/>
+                                                    <include name="**/servlet-edition/src"/>
+                                                </dirset>
+                                            </sourcepath>
+
+                                            <classpath refid="maven.dependency.classpath"/>
+                                            <classpath refid="maven.compile.classpath"/>
+                                            <classpath refid="maven.runtime.classpath"/>
+                                            
+                                            <excludepackage name="org.apache.axis2.tool.codegen.*"/>
+                                            <excludepackage name="org.apache.axis2.tool.service.*"/>
+                                        </javadoc>
+                                    </tasks>
+                                </configuration>
+                                <goals>
+                                    <goal>run</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+
+                    </plugin>
+                </plugins>
+            </build>
+
+        </profile>
+
     </profiles>
 
 




More information about the Wsas-java-dev mailing list