alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Axis 2 example source code file (pom.xml)

This example Axis 2 source code file (pom.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Axis 2 tags/keywords

apache, apache, asf, asf, conditions, is, kind, license, license, of, see, see, version, you

The Axis 2 pom.xml source code

<!--
  ~ 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
    <parent>
        <groupId>org.apache.axis2
        <artifactId>axis2-parent
        <version>1.3
    </parent>

    <groupId>org.apache.axis2
    <artifactId>distribution
    <name>Apache Axis 2.0 - Distribution
    <description>Apache Axis2 Distribution
    <packaging>pom

    <properties>
       <docs.folder.version>1_3
    </properties>

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

        <dependency>
            <groupId>xmlbeans
            <artifactId>xbean
        </dependency>
        <dependency>
            <groupId>org.apache.ws.jaxme
            <artifactId>jaxme2
        </dependency>
        <dependency>
            <groupId>log4j
            <artifactId>log4j
        </dependency>
        <dependency>
            <groupId>rhino
            <artifactId>js
        </dependency>
        <dependency>
            <groupId>bsf
            <artifactId>bsf
        </dependency>
        <dependency>
            <groupId>jalopy
            <artifactId>jalopy
        </dependency>
        <dependency>
            <groupId>log4j
            <artifactId>log4j
        </dependency>
	<dependency>
	    <groupId>org.apache.geronimo.specs
	    <artifactId>geronimo-jms_1.1_spec
	    <version>${geronimo.spec.jms.version}
	 </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins
                <artifactId>maven-assembly-plugin
                <version>2.2-beta-1
                <executions>
                    <execution>
                        <id>distribution-package
                        <phase>package
                        <goals>
                            <goal>single
                        </goals>
                        <configuration>
                            <finalName>axis2-${version}
                            <descriptors>
                                <descriptor>src/main/assembly/war-assembly.xml
                                <descriptor>src/main/assembly/src-assembly.xml
                                <descriptor>src/main/assembly/bin-assembly.xml 
                                <descriptor>src/main/assembly/doc-assembly.xml 
                            </descriptors>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins
                <artifactId>maven-antrun-plugin
                <version>1.1
                <inherited>false
                <executions>
                    <execution>
                      <id>package
                      <phase>process-resources
                      <configuration>
                        <tasks>
                            <copy toDir="target/tmp-doc-distro/xdocs/${docs.folder.version}">
                                <fileset dir="../documentation/xdocs/@axis2_version_dir@">
                                    <exclude name="**/*.xml"/>
                                </fileset>
                            </copy>
                            <filter filtersfile="../documentation/xdocs/dynamic-labels.properties"/>
                            <copy toDir="target/tmp-doc-distro/xdocs/${docs.folder.version}" filtering="on" overwrite="true">
                                <globmapper from="*.xml" to="*.html"/>
                                <fileset dir="../documentation/xdocs/@axis2_version_dir@"/>
                            </copy>
                            
			    <filter token="axisVersion" value="${version}"/>
                            <tstamp>	
                               <format property="TODAY" pattern="dd-MM-yyyy"/>
                            </tstamp>
  	                    <filter token="TODAY" value="${TODAY}"/>
                            <copy toDir="target/tmp-doc-distro/docs" filtering="on" overwrite="true">
                                <fileset dir="../..">
                                    <include name="LICENSE.txt"/>
		                    <include name="README.txt"/>
				    <include name="release-notes.html"/>
                                </fileset>
                                <fileset dir="../../release-docs/readme-files">
                                    <include name="*.txt"/>
                                </fileset>
			    </copy>

			    <copy toDir="target/tmp-doc-distro/xdocs" filtering="on" overwrite="true">
                                <globmapper from="*.xml" to="*.html"/>
                                <fileset dir="../documentation/xdocs">
                                    <exclude name="@axis2_version_dir@/**"/>
                                    <exclude name="**/*.gif"/>
                                    <exclude name="**/*.jpg"/>
                                    <exclude name="**/*.png"/>
                                </fileset>
                            </copy>

                            <copy toDir="target/tmp-doc-distro/xdocs" filtering="off" overwrite="true">
                                <fileset dir="../documentation/xdocs">
                                    <exclude name="@axis2_version_dir@/**"/>
                                    <include name="**/*.gif"/>
                                    <include name="**/*.jpg"/>
                                    <include name="**/*.png"/>
                                    <include name="**/*.css"/>
                                    <include name="**/*.xsd"/>
                                    <include name="**/*.cgi"/>
                                    <include name="**/*.properties"/>
                                </fileset>
                            </copy>
                        </tasks>
                       </configuration>
                       <goals>
                         <goal>run
                       </goals>
                    </execution>
                    <execution>
                        <id>service-module-list-generation
                        <phase>process-resources
                        <configuration>
                            <tasks>
				<mkdir dir="target/tmp-repository"/>
				<mkdir dir="target/tmp-repository/modules"/>
				<mkdir dir="target/tmp-repository/services"/>

				<copy file="../../modules/soapmonitor/target/soapmonitor-${version}.mar" tofile="target/tmp-repository/modules/soapmonitor-${soapmonitor.mar.version}.mar"/>
				<copy file="../../modules/addressing/target/addressing-${version}.mar" tofile="target/tmp-repository/modules/addressing-${addressing.mar.version}.mar"/>
				<copy file="../../modules/ping/target/ping-${version}.mar" tofile="target/tmp-repository/modules/ping-${ping.mar.version}.mar"/>
				<copy file="../../modules/mex-mar/target/mex-${version}.mar" tofile="target/tmp-repository/modules/mex-${mex.mar.version}.mar"/>
				<copy file="../../modules/scripting/target/axis2-scripting-${version}.mar" tofile="target/tmp-repository/modules/scripting-${scripting.mar.version}.mar"/>
			
				<!-- generate modules.list -->			        
				<echo file="target/tmp-repository/modules/modules.list" append="false">
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
#
soapmonitor-${soapmonitor.mar.version}.mar
addressing-${addressing.mar.version}.mar
ping-${ping.mar.version}.mar
mex-${mex.mar.version}.mar
scripting-${scripting.mar.version}.mar
			        </echo>

				<copy file="../../modules/samples/target/toWar/services/version.aar" todir="target/tmp-repository/services"/>
				<!-- generate services.list -->			        
			        <echo file="target/tmp-repository/services/services.list" append="false">
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
#
version.aar
			        </echo>
                            </tasks>
                        </configuration>
                        <goals>
                            <goal>run
                        </goals>
                    </execution>
                    <execution>
		        <id>delete-temporary-files
			<phase>install
			<configuration>
			   <tasks>
			     <delete dir="target/tmp-doc-distro"/>
			     <delete dir="target/tmp-repository"/>
			     <delete dir="target/archive-tmp"/>
			   </tasks>
		        </configuration>
		        <goals>
		            <goal>run
		        </goals>
	            </execution>
                </executions>
	     </plugin>
        </plugins>
    </build>
</project>

Other Axis 2 examples (source code examples)

Here is a short list of links related to this Axis 2 pom.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.