|
Axis 2 example source code file (pom.xml)
The Axis 2 pom.xml source code<?xml version="1.0" encoding="UTF-8"?> <!-- ~ 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. --> <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 <relativePath>../parent/pom.xml </parent> <artifactId>axis2-jaxws <name>Apache Axis 2.0 - JAXWS <description>Axis2 JAXWS Implementation <dependencies> <dependency> <groupId>org.apache.geronimo.specs <artifactId>geronimo-annotation_1.0_spec </dependency> <dependency> <groupId>org.apache.axis2 <artifactId>axis2-kernel <version>${version} </dependency> <dependency> <groupId>org.apache.axis2 <artifactId>axis2-jaxws-api <version>${version} </dependency> <dependency> <groupId>org.apache.axis2 <artifactId>axis2-saaj-api <version>${version} <exclusions> <exclusion> <groupId>org.apache.geronimo.specs <artifactId>geronimo-javamail_1.4_spec </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.axis2 <artifactId>axis2-adb <version>${version} </dependency> <dependency> <groupId>org.apache.axis2 <artifactId>axis2-saaj <version>${version} </dependency> <dependency> <groupId>org.apache.axis2 <artifactId>axis2-metadata <version>${version} </dependency> <dependency> <groupId>jaxen <artifactId>jaxen </dependency> <dependency> <groupId>javax.xml.bind <artifactId>jaxb-api </dependency> <dependency> <groupId>com.sun.xml.bind <artifactId>jaxb-impl <exclusions> <exclusion> <artifactId>jsr173 <groupId>javax.xml </exclusion> </exclusions> </dependency> <dependency> <groupId>com.sun.xml.bind <artifactId>jaxb-xjc </dependency> <dependency> <groupId>xalan <artifactId>xalan </dependency> <dependency> <groupId>javax.servlet <artifactId>servlet-api </dependency> <dependency> <groupId>javax.xml.bind <artifactId>jaxb-api <exclusions> <exclusion> <artifactId>jsr173 <groupId>javax.xml </exclusion> </exclusions> </dependency> </dependencies> <build> <sourceDirectory>src <testSourceDirectory>test <resources> <resource> <directory>conf <includes> <include>**/*.properties </includes> </resource> <resource> <directory>src <includes> <include>**/*.properties <include>**/*.xml </includes> </resource> <resource> <directory>resources <includes> <include>**/* </includes> </resource> </resources> <testResources> <testResource> <directory>test <includes> <include>**/*.xml <include>**/*.wsdl <include>**/*.properties </includes> </testResource> </testResources> <plugins> <plugin> <artifactId>maven-compiler-plugin <inherited>true <configuration> <source>1.5 <target>1.5 </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-antrun-plugin <executions> <execution> <id>gen-ts <phase>generate-test-sources <configuration> <tasks> <!-- Theres got to be a better way to do this --> <property name="schema.source.dir" value="test-resources/xsd"/> <property name="wsdl.source.dir" value="test-resources/wsdl"/> <property name="schema.output.base.dir" value="target/schema"/> <property name="schema.generated.src.dir" value="${schema.output.base.dir}/src"/> <property name="schema.generated.classes.dir" value="${schema.output.base.dir}/classes"/> <!-- make the dirs --> <mkdir dir="${schema.output.base.dir}"/> <mkdir dir="${schema.generated.src.dir}"/> <mkdir dir="${schema.generated.classes.dir}"/> <!-- Run JAXB schema compiler with designated schemas --> <echo>Generating JAX-B classes from XSDs <echo>Generating java from soap 11 <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet ${schema.source.dir}/soap11.xsd"/> </java> <echo>Generating java from echo.xsd <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet ${schema.source.dir}/echo.xsd"/> </java> <echo>Generating java from stock1.xsd <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet ${schema.source.dir}/stock1.xsd"/> </java> <echo>Generating java from stock2.xsd <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet ${schema.source.dir}/stock2.xsd"/> </java> <echo>Generating java from samplemtom.xsd <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet ${schema.source.dir}/samplemtom.xsd"/> </java> <echo>Generating java from ProxyDocLitWrapped.wsdl <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -p org.test.proxy.doclitwrapped -quiet -wsdl ${wsdl.source.dir}/ProxyDocLitWrapped.wsdl"/> </java> <echo>Generating java from ProxyDocLitnonWrapped.wsdl <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/ProxyDocLitnonWrapped.wsdl"/> </java> <echo>Generating java from samplemtomjpeg.wsdl <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/samplemtomjpeg.wsdl"/> </java> <echo>Generating java from RPCLit.wsdl <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -p org.test.proxy.rpclit -quiet -wsdl ${wsdl.source.dir}/RPCLit.wsdl"/> </java> <echo>Generating java from RPCLitSWA.wsdl <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -p org.test.proxy.rpclitswa -quiet -wsdl ${wsdl.source.dir}/RPCLitSWA.wsdl"/> </java> <echo>Generating java from gorilla_dlw.wsdl <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/gorilla_dlw.wsdl"/> </java> <echo>Generating java from SOAP12Echo.wsdl <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/SOAP12Echo.wsdl"/> </java> <echo>Generating java from AddNumbers.wsdl <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/AddNumbers.wsdl"/> </java> <echo>Generating java from AddNumbersHandler.wsdl <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/AddNumbersHandler.wsdl"/> </java> <echo>Generating java from async_doclitwr.wsdl <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/async_doclitwr.wsdl"/> </java> <echo>Generating java from FaultyWebService.wsdl <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/FaultyWebService.wsdl"/> </java> <echo>Generating java from FaultsService.wsdl <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/FaultsService.wsdl"/> </java> <echo>Generating java from jaxbsource <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -p org.test.dispatch.jaxbsource ${schema.source.dir}/jaxbsource.xsd"/> </java> <echo>Generating java from doclit_nonwrap.wsdl for javabean endpoint support</echo> <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/doclit_nonwrap.wsdl"/> </java> <echo>Generating java from doclitwrap.wsdl for javabean endpoint support</echo> <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/doclitwrap.wsdl"/> </java> <echo>Generating java from doclitbare.wsdl for javabean endpoint support</echo> <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/doclitbare.wsdl"/> </java> <echo>Generating java from greeterTypes.xsd <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet ${schema.source.dir}/greeterTypes.xsd"/> </java> <echo>Generating java from EchoMessage.wsdl for javabean endpoint support</echo> <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/EchoMessage.wsdl"/> </java> <echo>Generating java from resourceinjection.wsdl for javabean endpoint Resource Injection support</echo> <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/resourceinjection.wsdl"/> </java> <echo>Generating java from AnyType.wsdl for javabean endpoint AnyType support</echo> <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/AnyType.wsdl"/> </java> <echo>Generating java from WSDLMultiTests.wsdl <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/WSDLMultiTests.wsdl"/> </java> <echo>Generating java from Polymorphic shapes.wsdl for javabean endpoint support</echo> <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/shapes.wsdl"/> </java> <echo>Generating java from SOAPActionTest.wsdl <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/SOAPActionTest.wsdl"/> </java> <echo>Generating java from rpclitenum.wsdl <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/rpclitenum.wsdl"/> </java> <echo>Generating java from AddNumbersHandler.wsdl <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/AddNumbersHandler.wsdl"/> </java> <echo>Generating java from rpclitstringarray.wsdl <java classname="com.sun.tools.xjc.Driver" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> <arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/rpclitstringarray.wsdl"/> </java> </tasks> </configuration> <goals> <goal>run </goals> </execution> <execution> <id>build-repo <phase>test-compile <configuration> <tasks> <copy toDir="target/test-classes/services/EchoService/"> <fileset dir="target/test-classes"> <include name="server/**"/> </fileset> <fileset dir="test/server"> <exclude name="**/*.java"/> </fileset> </copy> <!-- ================================================================ --> <!--- Provider endpoint Service Samples --> <!-- ================================================================ --> <copy toDir="target/test-classes/services/WSGenService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/sample/wsgen/WSGenInterface.class"/> <include name="org/apache/axis2/jaxws/sample/wsgen/WSGenImpl.class"/> <include name="org/apache/axis2/jaxws/sample/wsgen/jaxws/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/sample/wsgen"> <include name="META-INF/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/BasicAuthSecurityService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/security/server/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/security/server"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/StringProviderService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/provider/string/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/provider/string"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/StringMessageProviderService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/provider/stringmsg/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/provider/stringmsg"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/SourceProviderService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/provider/source/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/provider/source"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/SourceMessageProviderService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/provider/sourcemsg/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/provider/sourcemsg"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/SoapMessageProviderService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/provider/soapmsg/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/provider/soapmsg"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/SoapMessageMUProviderService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/provider/soapmsgmu/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/provider/soapmsgmu"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/JAXBProviderService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/provider/jaxb/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/provider/jaxb"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> <fileset dir="target/schema/classes"> <include name="org/test/mtom/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/SendImageService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/sample/mtom1/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/sample/mtom1"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> <fileset dir="target/schema/classes"> <include name="org/apache/axis2/jaxws/sample/mtom1/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/SOAP12Service/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/dispatch/server/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/dispatch/server"> <include name="META-INF/**"/> </fileset> </copy> <!-- ================================================================ --> <!--- Proxy endpoint Service Samples --> <!-- ================================================================ --> <copy toDir="target/test-classes/services/ProxyDocLitWrapped/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/proxy/doclitwrapped/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/proxy/doclitwrapped"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/ProxyDocLitnonWrapped/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/proxy/doclitnonwrapped/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/proxy/doclitnonwrapped"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/RPCLit/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/proxy/rpclit/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/proxy/rpclit"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/RPCLitSWA/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/proxy/rpclitswa/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/proxy/rpclitswa"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/SOAP12EchoService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/proxy/soap12/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/proxy/soap12/server"> <include name="META-INF/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/BookStoreService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/client/soapaction/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/client/soapaction/server"> <include name="META-INF/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/gorilla_dlw/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/proxy/gorilla_dlw/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/proxy/gorilla_dlw"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <!-- ================================================================ --> <!--- XML HTTP Tests --> <!-- ================================================================ --> <copy toDir="target/test-classes/services/XPayloadStringProvider/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/xmlhttp/provider/payload/string/*.class"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/xmlhttp/provider/payload/string"> <include name="META-INF/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/XMessageStringProvider/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/xmlhttp/provider/message/string/*.class"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/xmlhttp/provider/message/string"> <include name="META-INF/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/XPayloadSourceProvider/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/xmlhttp/provider/payload/source/*.class"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/xmlhttp/provider/payload/source"> <include name="META-INF/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/XMessageSourceProvider/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/xmlhttp/provider/message/source/*.class"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/xmlhttp/provider/message/source"> <include name="META-INF/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/XMessageDataSourceProvider/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/xmlhttp/provider/message/datasource/*.class"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/xmlhttp/provider/message/datasource"> <include name="META-INF/**"/> </fileset> </copy> <!-- ================================================================ --> <!--- Java Bean Endpoint Samples --> <!-- ================================================================ --> <copy toDir="target/test-classes/services/AddressBookService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/sample/addressbook/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/sample/addressbook"> <include name="META-INF/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/MtomSampleService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/sample/mtom/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/sample/mtom"> <include name="META-INF/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/DocLitNonWrapService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/sample/nonwrap/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/sample/nonwrap"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/DocLitWrapService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/sample/wrap/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/sample/wrap"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/AddNumbersService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/sample/addnumbers/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/sample/addnumbers"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/AddNumbersHandlerService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/sample/addnumbershandler/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/sample/addnumbershandler"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/GreeterService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/sample/dlwmin/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/sample/dlwmin"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/AsyncService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/sample/parallelasync/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/sample/parallelasync/server"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/FaultyWebServiceService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/sample/faults/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/sample/faults"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/FaultsService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/sample/faultsservice/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/sample/faultsservice"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/BareDocLitService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/sample/doclitbare/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/sample/doclitbare"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/EchoMessageService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/nonanonymous/complextype/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/nonanonymous/complextype"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/ResourceInjectionService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/resourceinjection/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/resourceinjection"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/AnyTypeMessageService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/anytype/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/anytype"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/PolymorphicShapeService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/polymorphic/shape/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/polymorphic/shape"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/RPCLitEnumService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/rpclit/enumtype/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/rpclit/enumtype"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/services/RPCLitStringArrayService/"> <fileset dir="target/test-classes"> <include name="org/apache/axis2/jaxws/rpclit/stringarray/**"/> <include name="org/test/rpclit/stringarray/**"/> </fileset> <fileset dir="test/org/apache/axis2/jaxws/rpclit/stringarray/"> <include name="META-INF/**"/> </fileset> <fileset dir="target/classes"> <include name="org/apache/axis2/jaxws/server/**"/> </fileset> </copy> <copy toDir="target/test-classes/"> <fileset dir="test-resources/"> <include name="**/*.properties"/> <include name="**/axis2.xml"/> </fileset> </copy> </tasks> </configuration> <goals> <goal>run </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo <artifactId>build-helper-maven-plugin <executions> <execution> <id>add-test-source <phase>process-test-resources <goals> <goal>add-test-source </goals> <configuration> <sources> <source>${basedir}/target/schema/src </sources> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-surefire-plugin <inherited>true <configuration> <skip>false <forkMode>once <argLine>-Xms256m -Xmx512m -Djava.endorsed.dirs=${project.build.directory}/../../saaj-api/target/ <!-- Enable the next 2 lines if you want to attach a debugger <argLine>-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006--> <includes> <include>**/*Test.java </includes> <systemProperties> <property> <name>build.repository <value>./target/test-classes </property> <property> <name>javax.xml.soap.MessageFactory <value>org.apache.axis2.saaj.MessageFactoryImpl </property> <property> <name>javax.xml.soap.SOAPFactory <value>org.apache.axis2.saaj.SOAPFactoryImpl </property> <property> <name>javax.xml.soap.SOAPConnectionFactory <value>org.apache.axis2.saaj.SOAPConnectionFactoryImpl </property> <property> <name>javax.xml.soap.MetaFactory <value>org.apache.axis2.saaj.SAAJMetaFactoryImpl </property> <!-- Need this for the client side to pickup an axis2.xml to configure SoapMessageMUProviderChecker --> <property> <name>org.apache.axis2.jaxws.config.path <value>./target/test-classes/axis2.xml </property> </systemProperties> </configuration> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-surefire-report-plugin </plugin> </plugins> </reporting> </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 |
Copyright 1998-2024 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.