Author: saminda
Date: Fri Jan 5 05:57:19 2007
New Revision: 336
Modified:
wsas/java/trunk/modules/distribution/common/pom.xml
Log:
generating javadocs under release
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 Fri Jan 5 05:57:19 2007
@@ -142,6 +142,42 @@
<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>
+ <execution>
<id>package</id>
<phase>package</phase>
<configuration>
@@ -499,65 +535,6 @@
</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>