<!--
  ~ Copyright (c) 2006, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<project
        xmlns="http://maven.apache.org/POM/4.0.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.apache.axis2</groupId>
        <artifactId>axis2-parent</artifactId>
        <version>SNAPSHOT</version>
    </parent>

    <groupId>org.apache.axis2</groupId>
    <artifactId>documentation</artifactId>
    <name>Apache Axis 2.0 - Documentation</name>
    <description>Apache Axis2 Documentation</description>
    <packaging>pom</packaging>


    <dependencies>
        <dependency>
            <groupId>com.sun.xml.fastinfoset</groupId>
            <artifactId>FastInfoset</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.tomcat</groupId>
            <artifactId>tribes</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.tomcat</groupId>
            <artifactId>juli</artifactId>
        </dependency>
        <dependency>
            <groupId>xml-apis</groupId>
            <artifactId>xml-apis</artifactId>
        </dependency>
        <dependency>
            <groupId>xalan</groupId>
            <artifactId>xalan</artifactId>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-impl</artifactId>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-xjc</artifactId>
        </dependency>
        <dependency>
            <groupId>javax.xml.bind</groupId>
            <artifactId>jaxb-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
        </dependency>
        <dependency>
            <groupId>org.codehaus.jettison</groupId>
            <artifactId>jettison</artifactId>
        </dependency>
        <dependency>
            <groupId>jibx</groupId>
            <artifactId>jibx-bind</artifactId>
        </dependency>
        <dependency>
            <groupId>jibx</groupId>
            <artifactId>jibx-run</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.ant</groupId>
            <artifactId>ant-launcher</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.ws.commons.schema</groupId>
            <artifactId>XmlSchema</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.neethi</groupId>
            <artifactId>neethi</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.ant</groupId>
            <artifactId>ant</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.bcel</groupId>
            <artifactId>bcel</artifactId>
        </dependency>
        <dependency>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
        </dependency>
        <dependency>
            <groupId>commons-codec</groupId>
            <artifactId>commons-codec</artifactId>
        </dependency>
        <dependency>
            <groupId>${stax.impl.groupid}</groupId>
            <artifactId>${stax.impl.artifactid}</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-activation_1.1_spec</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-javamail_1.4_spec</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-annotation_1.0_spec</artifactId>
        </dependency>
        <dependency>
            <groupId>jaxen</groupId>
            <artifactId>jaxen</artifactId>
        </dependency>
        <dependency>
            <groupId>annogen</groupId>
            <artifactId>annogen</artifactId>
        </dependency>
        <dependency>
            <groupId>commons-httpclient</groupId>
            <artifactId>commons-httpclient</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpcore</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpcore-nio</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpcore-niossl</artifactId>
        </dependency>
        <dependency>
            <groupId>commons-fileupload</groupId>
            <artifactId>commons-fileupload</artifactId>
        </dependency>
        <dependency>
            <groupId>wsdl4j</groupId>
            <artifactId>wsdl4j</artifactId>
        </dependency>
        <dependency>
            <groupId>backport-util-concurrent</groupId>
            <artifactId>backport-util-concurrent</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.woden</groupId>
            <artifactId>woden-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.xmlbeans</groupId>
            <artifactId>xmlbeans</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.ws.jaxme</groupId>
            <artifactId>jaxme2</artifactId>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
        </dependency>
        <dependency>
            <groupId>rhino</groupId>
            <artifactId>js</artifactId>
        </dependency>
        <dependency>
            <groupId>bsf</groupId>
            <artifactId>bsf</artifactId>
        </dependency>
        <dependency>
            <groupId>jalopy</groupId>
            <artifactId>jalopy</artifactId>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-site-plugin</artifactId>
                <configuration>
                    <xdocDirectory>${basedir}/xdocs</xdocDirectory>
                    <resourcesDirectory>${basedir}/xdocs/resources</resourcesDirectory>
                </configuration>
   	                                 <executions>
 	                                        <execution>
 	                                                <phase>install</phase>
 	                                                <goals>
 	                                                        <goal>site</goal>
 	                                                </goals>
 	                                        </execution>
 	                                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.1</version>
                <inherited>false</inherited>
                <executions>
                    <execution>
                        <id>service-module-list-generation</id>
                        <phase>package</phase>
                        <configuration>
                            <tasks>

							<mkdir dir="${basedir}/target/apidocs"/>
							<javadoc packagenames="org.apache.axis2.*"
									 destdir="${basedir}/target/apidocs"
									 classpathref="maven.runtime.classpath"
									 author="true"
									 version="true"
									 use="true"
									 windowtitle="Axis2 API"
									 doctitle="Axis2"
									 bottom="Copyright &#169; 2007 Apache Web Services Project. All Rights Reserved."
							>
								<packageset dir="../../modules/kernel/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/adb/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/adb-codegen/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/addressing/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/clustering/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/codegen/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/distribution/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/fastinfoset/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/java2wsdl/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/jaxbri/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/jaxws/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/jaxws-api/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/jibx/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/json/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/jws-api/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/kernel/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/metadata/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/mex/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/mex-mar/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/mtompolicy/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/ping/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/saaj/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/saaj-api/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/scripting/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/soapmonitor/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/spring/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/webapp/src" defaultexcludes="yes">
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>    
								<packageset dir="../../modules/xmlbeans/src" defaultexcludes="yes">    
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>  
                                                 <packageset dir="../../modules/corba/src" defaultexcludes="yes">    
								  <include name="org/apache/axis2/**"/>
								  <include name="javax/**"/>
								</packageset>      
							</javadoc>
                            </tasks>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
	     </plugin>
        </plugins>
    </build>
</project>
