You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2007/02/01 16:51:13 UTC
svn commit: r502250 [1/3] - in /webservices/axis2/trunk/java: ./
modules/adb-codegen/
modules/adb-codegen/test/org/apache/axis2/schema/compile/ modules/adb/
modules/addressing/ modules/addressing/test/org/apache/axis2/handlers/util/
modules/codegen/ mo...
Author: dims
Date: Thu Feb 1 07:51:10 2007
New Revision: 502250
URL: http://svn.apache.org/viewvc?view=rev&rev=502250
Log:
Merge changes to poms and code from maven2 branch
Added:
webservices/axis2/trunk/java/modules/adb-codegen/pom.xml
webservices/axis2/trunk/java/modules/adb/pom.xml
webservices/axis2/trunk/java/modules/addressing/pom.xml
webservices/axis2/trunk/java/modules/codegen/pom.xml
webservices/axis2/trunk/java/modules/java2wsdl/pom.xml
webservices/axis2/trunk/java/modules/jaxbri/pom.xml
webservices/axis2/trunk/java/modules/jaxws-api/pom.xml
webservices/axis2/trunk/java/modules/jaxws/pom.xml
webservices/axis2/trunk/java/modules/jibx/pom.xml
webservices/axis2/trunk/java/modules/json/pom.xml
webservices/axis2/trunk/java/modules/kernel/pom.xml
webservices/axis2/trunk/java/modules/mtompolicy/pom.xml
webservices/axis2/trunk/java/modules/saaj-api/pom.xml
webservices/axis2/trunk/java/modules/saaj/pom.xml
webservices/axis2/trunk/java/modules/savan/pom.xml
webservices/axis2/trunk/java/modules/spring/pom.xml
webservices/axis2/trunk/java/modules/xmlbeans/pom.xml
webservices/axis2/trunk/java/pom.xml
Modified:
webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/compile/AbstractSchemaCompilerTester.java
webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/compile/ImportTest.java
webservices/axis2/trunk/java/modules/addressing/test/org/apache/axis2/handlers/util/TestUtil.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/anytype/sei/AnyTypeMessageService.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/attachments/MTOMSerializationTests.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/client/ClientConfigTests.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/client/soapaction/BookStoreService.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/dispatch/SOAPMessageDispatch.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/nonanonymous/complextype/sei/EchoMessageService.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/polymorphic/shape/sei/PolymorphicShapeService.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/polymorphic/shape/tests/PolymorphicTests.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/provider/ProviderTestCase.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/GorillaDLWProxyTests.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/ProxyNonWrappedTests.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/ProxyTests.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/RPCProxyTests.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/doclitwrapped/sei/ProxyDocLitWrappedService.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/soap12/SOAP12EchoService.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/resourceinjection/sei/ResourceInjectionService.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/MtomSampleTests.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/addnumbers/AddNumbersService.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/doclitbare/sei/BareDocLitService.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/faults/FaultyWebServiceService.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/faultsservice/FaultsService.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/nonwrap/sei/DocLitNonWrapService.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/parallelasync/server/AsyncService.java
webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/wrap/sei/DocLitWrapService.java
webservices/axis2/trunk/java/modules/jibx/test/org/apache/axis2/jibx/Test.java
webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/BuilderSelectorDeploymentTest.java
webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/MessageFormatterDeploymentTest.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/util/SimpleServer.java
webservices/axis2/trunk/java/modules/metadata/test/org/apache/axis2/jaxws/description/ValidateWSDLTests.java
webservices/axis2/trunk/java/modules/mtompolicy/test/org/apache/axis2/policy/model/MTOMAssertionTest.java
webservices/axis2/trunk/java/modules/parent/pom.xml
webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/AttachmentSerializationTest.java
webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPBodyTest.java
webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPPartTest.java
webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/integration/IntegrationTest.java
webservices/axis2/trunk/java/modules/savan/test/org/apache/axis2/savan/ConfigurationManagerTest.java
webservices/axis2/trunk/java/modules/savan/test/org/apache/axis2/savan/EventingExpirationTypesTest.java
webservices/axis2/trunk/java/modules/savan/test/org/apache/axis2/savan/EventingSubscripitonProcessorTest.java
webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/pom.xml
webservices/axis2/trunk/java/modules/tool/axis2-mar-maven-plugin/pom.xml
webservices/axis2/trunk/java/modules/tool/pom.xml
webservices/axis2/trunk/java/modules/xmlbeans/test/org/apache/axis2/xmlbeans/WSDL2JavaSuccessTestBase.java
Added: webservices/axis2/trunk/java/modules/adb-codegen/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/pom.xml?view=auto&rev=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/pom.xml (added)
+++ webservices/axis2/trunk/java/modules/adb-codegen/pom.xml Thu Feb 1 07:51:10 2007
@@ -0,0 +1,290 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ !
+ ! Copyright 2006 The Apache Software Foundation.
+ !
+ ! 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>
+ <relativePath>../parent/pom.xml</relativePath>
+ </parent>
+
+ <artifactId>axis2-adb-codegen</artifactId>
+ <name>Apache Axis 2.0 - ADB Codegen</name>
+ <description>ADB code generation support for Axis2</description>
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/adb-codegen</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/adb-codegen</developerConnection>
+ <url>http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen</url>
+ </scm>
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>axis2-adb</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>axis2-codegen</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>axis2-kernel</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ws.commons.schema</groupId>
+ <artifactId>XmlSchema</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>xmlunit</groupId>
+ <artifactId>xmlunit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <testSourceDirectory>test</testSourceDirectory>
+ <resources>
+ <resource>
+ <directory>conf</directory>
+ <excludes>
+ <exclude>**/*.properties</exclude>
+ </excludes>
+ <filtering>false</filtering>
+ </resource>
+ <resource>
+ <directory>src</directory>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <inherited>true</inherited>
+ <configuration>
+ <skip>false</skip>
+ <excludes>
+ <exclude>**/*Abstract*.java</exclude>
+ <exclude>**/*Util*.java</exclude>
+ <exclude>**/*PhaseResolvingTest.java</exclude>
+ </excludes>
+ <includes>
+ <include>**/*Test.java</include>
+ </includes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <id>generate-test-sources</id>
+ <phase>generate-test-sources</phase>
+ <configuration>
+ <tasks>
+
+
+ <property name="compiled.classes.dir" location="target/classes"/>
+ <property name="test.compiled.classes.dir" location="target/test-classes"/>
+ <property name="schema.source.dir" location="test-resources/xsd"/>
+ <property name="testsuite.source.dir" location="test-resources/testsuite"/>
+ <property name="schema.output.base.dir" location="target/schema"/>
+ <property name="schema.generated.src.dir" location="${schema.output.base.dir}/src"/>
+ <property name="schema.generated.classes.dir" location="${schema.output.base.dir}/classes"/>
+ <property name="maven.junit.jvmargs" value=""/>
+
+
+ <!-- make the dirs -->
+ <mkdir dir="${schema.output.base.dir}"/>
+ <mkdir dir="${schema.generated.src.dir}"/>
+ <mkdir dir="${schema.generated.classes.dir}"/>
+ <mkdir dir="${test.compiled.classes.dir}"/>
+ <!-- Run schema compiler with designated schemas -->
+ <echo>Compiling simple_maxOccurs2.xsd</echo>
+ <!-- simple max occurs 2 xsd -->
+ <java classname="org.apache.axis2.schema.XSD2Java" fork="true">
+ <jvmarg line="${maven.junit.jvmargs}"/>
+ <classpath refid="maven.runtime.classpath"/>
+ <classpath location="${compiled.classes.dir}"/>
+ <arg file="${schema.source.dir}/simple_maxOccurs2.xsd"/>
+ <arg file="${schema.generated.src.dir}"/>
+ </java>
+ <echo>Compiling anonymous_complexType.xsd</echo>
+ <!-- anon complex type xsd -->
+ <java classname="org.apache.axis2.schema.XSD2Java" fork="true">
+ <jvmarg line="${maven.junit.jvmargs}"/>
+ <classpath refid="maven.runtime.classpath"/>
+ <classpath location="${compiled.classes.dir}"/>
+ <arg file="${schema.source.dir}/anonymous_complexType.xsd"/>
+ <arg file="${schema.generated.src.dir}"/>
+ </java>
+ <!-- anon choice xsd -->
+ <echo>Compiling simple_choice.xsd</echo>
+ <java classname="org.apache.axis2.schema.XSD2Java" fork="true">
+ <jvmarg line="${maven.junit.jvmargs}"/>
+ <classpath refid="maven.runtime.classpath"/>
+ <classpath location="${compiled.classes.dir}"/>
+ <arg file="${schema.source.dir}/simple_choice.xsd"/>
+ <arg file="${schema.generated.src.dir}"/>
+ </java>
+ <!-- anon particle all xsd -->
+ <echo>Compiling simple_particle_all.xsd</echo>
+ <java classname="org.apache.axis2.schema.XSD2Java" fork="true">
+ <jvmarg line="${maven.junit.jvmargs}"/>
+ <classpath refid="maven.runtime.classpath"/>
+ <classpath location="${compiled.classes.dir}"/>
+ <arg file="${schema.source.dir}/simple_particle_all.xsd"/>
+ <arg file="${schema.generated.src.dir}"/>
+ </java>
+ <!-- simple max occurs xsd -->
+ <echo>Compiling simple_maxOccurs.xsd</echo>
+ <java classname="org.apache.axis2.schema.XSD2Java" fork="true">
+ <jvmarg line="${maven.junit.jvmargs}"/>
+ <classpath refid="maven.runtime.classpath"/>
+ <classpath location="${compiled.classes.dir}"/>
+ <arg file="${schema.source.dir}/simple_maxOccurs.xsd"/>
+ <arg file="${schema.generated.src.dir}"/>
+ </java>
+
+ <!-- simple any type xsd -->
+ <echo>Compiling simple_anytype.xsd</echo>
+ <java classname="org.apache.axis2.schema.XSD2Java" fork="true">
+ <jvmarg line="${maven.junit.jvmargs}"/>
+ <classpath refid="maven.runtime.classpath"/>
+ <classpath location="${compiled.classes.dir}"/>
+ <arg file="${schema.source.dir}/simple_anytype.xsd"/>
+ <arg file="${schema.generated.src.dir}"/>
+ </java>
+
+
+ <!-- min occurs 0 xsd -->
+ <echo>Compiling simple-minoccurs0.xsd</echo>
+ <java classname="org.apache.axis2.schema.XSD2Java" fork="true">
+ <jvmarg line="${maven.junit.jvmargs}"/>
+ <classpath refid="maven.runtime.classpath"/>
+ <classpath location="${compiled.classes.dir}"/>
+ <arg file="${schema.source.dir}/simple-minoccurs0.xsd"/>
+ <arg file="${schema.generated.src.dir}"/>
+ </java>
+
+ <!-- complex min occurs 0 xsd -->
+ <echo>Compiling complex-minoccurs0.xsd</echo>
+ <java classname="org.apache.axis2.schema.XSD2Java" fork="true">
+ <jvmarg line="${maven.junit.jvmargs}"/>
+ <classpath refid="maven.runtime.classpath"/>
+ <classpath location="${compiled.classes.dir}"/>
+ <arg file="${schema.source.dir}/complex-minoccurs0.xsd"/>
+ <arg file="${schema.generated.src.dir}"/>
+ </java>
+
+ <echo>Compiling simple-recursive-datatypes.xsd</echo>
+ <java classname="org.apache.axis2.schema.XSD2Java" fork="true">
+ <jvmarg line="${maven.junit.jvmargs}"/>
+ <classpath refid="maven.runtime.classpath"/>
+ <classpath location="${compiled.classes.dir}"/>
+ <arg file="${schema.source.dir}/simple-recursive-datatypes.xsd"/>
+ <arg file="${schema.generated.src.dir}"/>
+ </java>
+
+ <echo>Compiling mixed_minoccus0.xsd</echo>
+ <java classname="org.apache.axis2.schema.XSD2Java" fork="true">
+ <jvmarg line="${maven.junit.jvmargs}"/>
+ <classpath refid="maven.runtime.classpath"/>
+ <classpath location="${compiled.classes.dir}"/>
+ <arg file="${schema.source.dir}/mixed_minoccus0.xsd"/>
+ <arg file="${schema.generated.src.dir}"/>
+ </java>
+ <!-- ################################################################### -->
+ <!-- All simple primitive types xsd -->
+ <java classname="org.apache.axis2.schema.XSD2Java" fork="true">
+ <jvmarg line="${maven.junit.jvmargs}"/>
+ <classpath refid="maven.runtime.classpath"/>
+ <classpath location="${compiled.classes.dir}"/>
+ <arg file="${schema.source.dir}/simple/simpleType-All.xsd"/>
+ <arg file="${schema.generated.src.dir}"/>
+ </java>
+
+ <!-- All simple derived types xsd -->
+ <java classname="org.apache.axis2.schema.XSD2Java" fork="true">
+ <jvmarg line="${maven.junit.jvmargs}"/>
+ <classpath refid="maven.runtime.classpath"/>
+ <classpath location="${compiled.classes.dir}"/>
+ <arg file="${schema.source.dir}/derived/derivedType-All.xsd"/>
+ <arg file="${schema.generated.src.dir}"/>
+ </java>
+ <!-- ################################################################### -->
+ <!-- All simple derived types xsd -->
+ <echo>Compiling complete.xsd</echo>
+ <java classname="org.apache.axis2.schema.XSD2Java" fork="true">
+ <jvmarg line="${maven.junit.jvmargs}"/>
+ <classpath refid="maven.runtime.classpath"/>
+ <classpath location="${compiled.classes.dir}"/>
+ <arg file="${testsuite.source.dir}/complete.xsd"/>
+ <arg file="${schema.generated.src.dir}"/>
+ </java>
+ <!-- ################################################################### -->
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant-antlr</artifactId>
+ <version>1.6.5</version>
+ </dependency>
+ <dependency>
+ <groupId>antlr</groupId>
+ <artifactId>antlrall</artifactId>
+ <version>2.7.4</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>add-test-source</id>
+ <phase>process-test-resources</phase>
+ <goals>
+ <goal>add-test-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>${basedir}/target/schema/src</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/compile/AbstractSchemaCompilerTester.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/compile/AbstractSchemaCompilerTester.java?view=diff&rev=502250&r1=502249&r2=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/compile/AbstractSchemaCompilerTester.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/compile/AbstractSchemaCompilerTester.java Thu Feb 1 07:51:10 2007
@@ -46,7 +46,7 @@
documentBuilderFactory.setNamespaceAware(true);
DocumentBuilder builder = documentBuilderFactory.newDocumentBuilder();
- Document doc = builder.parse(new File(fileName));
+ Document doc = builder.parse(new File(System.getProperty("basedir",".")+"/"+fileName));
//now read it to a schema
XmlSchemaCollection schemaCol = getSchemaReader();
Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/compile/ImportTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/compile/ImportTest.java?view=diff&rev=502250&r1=502249&r2=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/compile/ImportTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/compile/ImportTest.java Thu Feb 1 07:51:10 2007
@@ -25,7 +25,7 @@
protected XmlSchemaCollection getSchemaReader() {
XmlSchemaCollection reader = new XmlSchemaCollection();
- reader.setBaseUri("test-resources/xsd");
+ reader.setBaseUri(System.getProperty("basedir",".")+"/"+"test-resources/xsd");
return reader;
}
}
Added: webservices/axis2/trunk/java/modules/adb/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb/pom.xml?view=auto&rev=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/adb/pom.xml (added)
+++ webservices/axis2/trunk/java/modules/adb/pom.xml Thu Feb 1 07:51:10 2007
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ !
+ ! Copyright 2006 The Apache Software Foundation.
+ !
+ ! 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>
+ <relativePath>../parent/pom.xml</relativePath>
+ </parent>
+
+ <artifactId>axis2-adb</artifactId>
+ <name>Apache Axis 2.0 - Data Binding</name>
+ <description>Axis2 Data Binding module</description>
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/adb</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/adb</developerConnection>
+ <url>http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb</url>
+ </scm>
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>axis2-kernel</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ws.commons.axiom</groupId>
+ <artifactId>axiom-dom</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>xmlunit</groupId>
+ <artifactId>xmlunit</artifactId>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <testSourceDirectory>test</testSourceDirectory>
+ <resources>
+ <resource>
+ <directory>conf</directory>
+ <excludes>
+ <exclude>**/*.properties</exclude>
+ </excludes>
+ <filtering>false</filtering>
+ </resource>
+ <resource>
+ <directory>src</directory>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <inherited>true</inherited>
+ <configuration>
+ <skip>false</skip>
+ <excludes>
+ <exclude>**/*Abstract*.java</exclude>
+ <exclude>**/*Util*.java</exclude>
+ <exclude>**/*PhaseResolvingTest.java</exclude>
+ </excludes>
+ <includes>
+ <include>**/*Test.java</include>
+ </includes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Added: webservices/axis2/trunk/java/modules/addressing/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/addressing/pom.xml?view=auto&rev=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/addressing/pom.xml (added)
+++ webservices/axis2/trunk/java/modules/addressing/pom.xml Thu Feb 1 07:51:10 2007
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ !
+ ! Copyright 2006 The Apache Software Foundation.
+ !
+ ! 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>
+ <relativePath>../parent/pom.xml</relativePath>
+ </parent>
+
+ <artifactId>addressing</artifactId>
+ <packaging>mar</packaging>
+ <name>Apache Axis 2.0 - Addressing</name>
+ <description>WS-Addressing implementation</description>
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/addressing</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/addressing</developerConnection>
+ <url>http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/addressing</url>
+ </scm>
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>axis2-kernel</artifactId>
+ </dependency>
+ </dependencies>
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <testSourceDirectory>test</testSourceDirectory>
+ <resources>
+ <resource>
+ <directory>conf</directory>
+ <excludes>
+ <exclude>**/*.properties</exclude>
+ </excludes>
+ <filtering>false</filtering>
+ </resource>
+ <resource>
+ <directory>src</directory>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <targetPath>../test-resources</targetPath>
+ <directory>test-resources</directory>
+ <includes>
+ <include>**/**</include>
+ </includes>
+ </testResource>
+ </testResources>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <inherited>true</inherited>
+ <configuration>
+ <skip>false</skip>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.axis2.maven2</groupId>
+ <artifactId>axis2-mar-maven-plugin</artifactId>
+ <version>SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <includeDependencies>false</includeDependencies>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: webservices/axis2/trunk/java/modules/addressing/test/org/apache/axis2/handlers/util/TestUtil.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/addressing/test/org/apache/axis2/handlers/util/TestUtil.java?view=diff&rev=502250&r1=502249&r2=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/addressing/test/org/apache/axis2/handlers/util/TestUtil.java (original)
+++ webservices/axis2/trunk/java/modules/addressing/test/org/apache/axis2/handlers/util/TestUtil.java Thu Feb 1 07:51:10 2007
@@ -27,7 +27,7 @@
protected static final String IN_FILE_NAME = "soapmessage.xml";
protected StAXSOAPModelBuilder builder;
- protected String testResourceDir = "test-resources";
+ protected String testResourceDir = System.getProperty("basedir",".")+"/"+"test-resources";
public StAXSOAPModelBuilder getOMBuilder(String fileName) throws Exception {
Added: webservices/axis2/trunk/java/modules/codegen/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/pom.xml?view=auto&rev=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/pom.xml (added)
+++ webservices/axis2/trunk/java/modules/codegen/pom.xml Thu Feb 1 07:51:10 2007
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ !
+ ! Copyright 2006 The Apache Software Foundation.
+ !
+ ! 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>
+ <relativePath>../parent/pom.xml</relativePath>
+ </parent>
+
+ <artifactId>axis2-codegen</artifactId>
+ <name>Apache Axis 2.0 - Code Generation</name>
+ <description>Axis2 Code Generation module</description>
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/codegen</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/codegen</developerConnection>
+ <url>http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen</url>
+ </scm>
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>axis2-kernel</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>axis2-adb</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>xmlbeans</groupId>
+ <artifactId>xbean</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>xmlunit</groupId>
+ <artifactId>xmlunit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ws.jaxme</groupId>
+ <artifactId>jaxme2</artifactId>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <testSourceDirectory>test</testSourceDirectory>
+ <resources>
+ <resource>
+ <directory>conf</directory>
+ <excludes>
+ <exclude>**/*.properties</exclude>
+ </excludes>
+ <filtering>false</filtering>
+ </resource>
+ <resource>
+ <directory>src</directory>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ </build>
+</project>
Added: webservices/axis2/trunk/java/modules/java2wsdl/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/java2wsdl/pom.xml?view=auto&rev=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/java2wsdl/pom.xml (added)
+++ webservices/axis2/trunk/java/modules/java2wsdl/pom.xml Thu Feb 1 07:51:10 2007
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ !
+ ! Copyright 2006 The Apache Software Foundation.
+ !
+ ! 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>
+ <relativePath>../parent/pom.xml</relativePath>
+ </parent>
+
+ <artifactId>axis2-java2wsdl</artifactId>
+ <name>Apache Axis 2.0 - Java2WSDL</name>
+ <description>To generate WSDL file for a given Java class</description>
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/java2wsdl</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/java2wsdl</developerConnection>
+ <url>http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/java2wsdl</url>
+ </scm>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.ws.commons.axiom</groupId>
+ <artifactId>axiom-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ws.commons.axiom</groupId>
+ <artifactId>axiom-impl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant</artifactId>
+ </dependency>
+
+ <!-- external JARs -->
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>woodstox</groupId>
+ <artifactId>wstx-asl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ </dependency>
+
+ <!--added this to support to keep WSDL information in AxisService-->
+ <dependency>
+ <groupId>org.apache.ws.commons.schema</groupId>
+ <artifactId>XmlSchema</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.mail</groupId>
+ <artifactId>mail</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>jaxen</groupId>
+ <artifactId>jaxen</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>annogen</groupId>
+ <artifactId>annogen</artifactId>
+ </dependency>
+ </dependencies>
+ <repositories>
+ <repository>
+ <releases>
+ <enabled>false</enabled>
+ <updatePolicy>always</updatePolicy>
+ <checksumPolicy>warn</checksumPolicy>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ <checksumPolicy>fail</checksumPolicy>
+ </snapshots>
+ <id>apache-snapshots</id>
+ <name>Apache Maven2 SNAPSHOTS</name>
+ <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+ <layout>default</layout>
+ </repository>
+ </repositories>
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <resources>
+ <resource>
+ <directory>src</directory>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ </build>
+</project>
Added: webservices/axis2/trunk/java/modules/jaxbri/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxbri/pom.xml?view=auto&rev=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxbri/pom.xml (added)
+++ webservices/axis2/trunk/java/modules/jaxbri/pom.xml Thu Feb 1 07:51:10 2007
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ !
+ ! Copyright 2006 The Apache Software Foundation.
+ !
+ ! 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>
+ <relativePath>../parent/pom.xml</relativePath>
+ </parent>
+
+ <artifactId>axis2-jaxbri</artifactId>
+ <name>Apache Axis 2.0 - JAXB-RI Data Binding</name>
+ <description>JAXB-RI data binding support for Axis 2.0</description>
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/jaxbri</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/jaxbri</developerConnection>
+ <url>http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxbri</url>
+ </scm>
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>axis2-codegen</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <version>2.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-xjc</artifactId>
+ <version>2.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.0</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ </build>
+</project>
Added: webservices/axis2/trunk/java/modules/jaxws-api/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-api/pom.xml?view=auto&rev=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-api/pom.xml (added)
+++ webservices/axis2/trunk/java/modules/jaxws-api/pom.xml Thu Feb 1 07:51:10 2007
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ !
+ ! Copyright 2006 The Apache Software Foundation.
+ !
+ ! 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>
+ <relativePath>../parent/pom.xml</relativePath>
+ </parent>
+
+ <artifactId>axis2-jaxws-api</artifactId>
+ <name>Apache Axis 2.0 - JAXWS API</name>
+ <description>Axis2 JAXWS API</description>
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/jaxws-api</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/jaxws-api</developerConnection>
+ <url>http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-api</url>
+ </scm>
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>axis2-kernel</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-saaj-api</artifactId>
+ <version>SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.0</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <inherited>true</inherited>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Added: webservices/axis2/trunk/java/modules/jaxws/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/pom.xml?view=auto&rev=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/pom.xml (added)
+++ webservices/axis2/trunk/java/modules/jaxws/pom.xml Thu Feb 1 07:51:10 2007
@@ -0,0 +1,708 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ !
+ ! Copyright 2006 The Apache Software Foundation.
+ !
+ ! 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>
+ <relativePath>../parent/pom.xml</relativePath>
+ </parent>
+
+ <artifactId>axis2-jaxws</artifactId>
+ <name>Apache Axis 2.0 - JAXWS</name>
+ <description>Axis2 JAXWS Implementation</description>
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/jaxws</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/jaxws</developerConnection>
+ <url>http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws</url>
+ </scm>
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>axis2-kernel</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-jaxws-api</artifactId>
+ <version>SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-saaj-api</artifactId>
+ <version>SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-adb</artifactId>
+ <version>SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-saaj</artifactId>
+ <version>SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-metadata</artifactId>
+ <version>SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <version>2.0</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>jsr173</artifactId>
+ <groupId>javax.xml</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-xjc</artifactId>
+ <version>2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.0</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>jsr173</artifactId>
+ <groupId>javax.xml</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <testSourceDirectory>test</testSourceDirectory>
+ <resources>
+ <resource>
+ <directory>conf</directory>
+ <includes>
+ <include>**/*.properties</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>src</directory>
+ <includes>
+ <include>**/*.properties</include>
+ <include>**/*.xml</include>
+ </includes>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>test</directory>
+ <includes><include>**/*.xml</include><include>**/*.wsdl</include><include>**/*.properties</include></includes>
+ </testResource>
+ </testResources>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <inherited>true</inherited>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <id>gen-ts</id>
+ <phase>generate-test-sources</phase>
+ <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>
+
+ <echo>Generating java from echo.xsd</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 ${schema.source.dir}/echo.xsd"/>
+ </java>
+
+ <echo>Generating java from stock1.xsd</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 ${schema.source.dir}/stock1.xsd"/>
+ </java>
+
+ <echo>Generating java from stock2.xsd</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 ${schema.source.dir}/stock2.xsd"/>
+ </java>
+
+ <echo>Generating java from samplemtom.xsd</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 ${schema.source.dir}/samplemtom.xsd"/>
+ </java>
+
+ <echo>Generating java from ProxyDocLitWrapped.wsdl</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 -p org.test.proxy.doclitwrapped -quiet -wsdl ${wsdl.source.dir}/ProxyDocLitWrapped.wsdl"/>
+ </java>
+
+ <echo>Generating java from ProxyDocLitnonWrapped.wsdl</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}/ProxyDocLitnonWrapped.wsdl"/>
+ </java>
+
+ <echo>Generating java from RPCLit.wsdl</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} -p org.test.proxy.rpclit -quiet -wsdl ${wsdl.source.dir}/RPCLit.wsdl"/>
+ </java>
+
+ <echo>Generating java from gorilla_dlw.wsdl</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}/gorilla_dlw.wsdl"/>
+ </java>
+
+ <echo>Generating java from SOAP12Echo.wsdl</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}/SOAP12Echo.wsdl"/>
+ </java>
+
+ <echo>Generating java from AddNumbers.wsdl</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}/AddNumbers.wsdl"/>
+ </java>
+ <echo>Generating java from async_doclitwr.wsdl</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}/async_doclitwr.wsdl"/>
+ </java>
+
+ <echo>Generating java from FaultyWebService.wsdl</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}/FaultyWebService.wsdl"/>
+ </java>
+
+ <echo>Generating java from FaultsService.wsdl</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}/FaultsService.wsdl"/>
+ </java>
+
+ <echo>Generating java from jaxbsource</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 -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 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</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}/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</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}/SOAPActionTest.wsdl"/>
+ </java>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+
+ <execution>
+ <id>build-repo</id>
+ <phase>test-compile</phase>
+ <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/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/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/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/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>
+ <!-- ================================================================ -->
+ <!--- 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/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>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant-antlr</artifactId>
+ <version>1.6.5</version>
+ </dependency>
+ <dependency>
+ <groupId>antlr</groupId>
+ <artifactId>antlrall</artifactId>
+ <version>2.7.4</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>add-test-source</id>
+ <phase>process-test-resources</phase>
+ <goals>
+ <goal>add-test-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>${basedir}/target/schema/src</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <inherited>true</inherited>
+ <configuration>
+ <skip>false</skip>
+ <includes>
+ <include>**/*Test.java</include>
+ </includes>
+ <systemProperties>
+ <property>
+ <name>build.repository</name>
+ <value>./target/test-classes</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </reporting>
+</project>
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/anytype/sei/AnyTypeMessageService.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/anytype/sei/AnyTypeMessageService.java?view=diff&rev=502250&r1=502249&r2=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/anytype/sei/AnyTypeMessageService.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/anytype/sei/AnyTypeMessageService.java Thu Feb 1 07:51:10 2007
@@ -28,7 +28,7 @@
URL url = null;
try {
try{
- String baseDir = new File(".").getCanonicalPath();
+ String baseDir = new File(System.getProperty("basedir",".")).getCanonicalPath();
wsdlLocation = new File(baseDir + wsdlLocation).getAbsolutePath();
}catch(Exception e){
e.printStackTrace();
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/attachments/MTOMSerializationTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/attachments/MTOMSerializationTests.java?view=diff&rev=502250&r1=502249&r2=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/attachments/MTOMSerializationTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/attachments/MTOMSerializationTests.java Thu Feb 1 07:51:10 2007
@@ -40,7 +40,7 @@
private DataSource imageDS;
public void setUp() throws Exception {
- String imageResourceDir = "test-resources"+File.separator+"image";
+ String imageResourceDir = System.getProperty("basedir",".")+"/"+"test-resources"+File.separator+"image";
//Create a DataSource from an image
File file = new File(imageResourceDir+File.separator+"test.jpg");
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/client/ClientConfigTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/client/ClientConfigTests.java?view=diff&rev=502250&r1=502249&r2=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/client/ClientConfigTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/client/ClientConfigTests.java Thu Feb 1 07:51:10 2007
@@ -1,5 +1,7 @@
package org.apache.axis2.jaxws.client;
+import java.io.File;
+import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
@@ -17,7 +19,21 @@
}
public void testBadWsdlUrl() throws Exception {
- URL url = new URL("file:./test-resources/wsdl/BadEndpointAddress.wsdl");
+
+ URL url = null;
+ String wsdlLocation = null;
+ try {
+ try{
+ String baseDir = new File(System.getProperty("basedir",".")).getCanonicalPath();
+ wsdlLocation = new File(baseDir + "/test-resources/wsdl/BadEndpointAddress.wsdl").getAbsolutePath();
+ }catch(Exception e){
+ e.printStackTrace();
+ }
+ File file = new File(wsdlLocation);
+ url = file.toURL();
+ } catch (MalformedURLException e) {
+ e.printStackTrace();
+ }
Service svc = Service.create(url, new QName("http://jaxws.axis2.apache.org", "EchoService"));
Dispatch dispatch = svc.createDispatch(new QName("http://jaxws.axis2.apache.org", "EchoPort"),
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/client/soapaction/BookStoreService.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/client/soapaction/BookStoreService.java?view=diff&rev=502250&r1=502249&r2=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/client/soapaction/BookStoreService.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/client/soapaction/BookStoreService.java Thu Feb 1 07:51:10 2007
@@ -18,6 +18,7 @@
*/
package org.apache.axis2.jaxws.client.soapaction;
+import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
@@ -31,18 +32,25 @@
extends Service
{
- private final static URL BOOKSTORESERVICE_WSDL_LOCATION;
-
+ private static URL BOOKSTORESERVICE_WSDL_LOCATION;
+ private static String wsdlLocation="/target/test-classes/services/BookStoreService/META-INF/SOAPActionTest.wsdl";
static {
URL url = null;
try {
- url = new URL("file:./target/test-classes/services/BookStoreService/META-INF/SOAPActionTest.wsdl");
+ try{
+ String baseDir = new File(System.getProperty("basedir",".")).getCanonicalPath();
+ wsdlLocation = new File(baseDir + wsdlLocation).getAbsolutePath();
+ }catch(Exception e){
+ e.printStackTrace();
+ }
+ File file = new File(wsdlLocation);
+ url = file.toURL();
} catch (MalformedURLException e) {
e.printStackTrace();
}
BOOKSTORESERVICE_WSDL_LOCATION = url;
}
-
+
public BookStoreService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/dispatch/SOAPMessageDispatch.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/dispatch/SOAPMessageDispatch.java?view=diff&rev=502250&r1=502249&r2=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/dispatch/SOAPMessageDispatch.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/dispatch/SOAPMessageDispatch.java Thu Feb 1 07:51:10 2007
@@ -42,7 +42,7 @@
public void testSOAPMessageSyncMessageMode() throws Exception {
- String basedir = new File(".").getAbsolutePath();
+ String basedir = new File(System.getProperty("basedir",".")).getAbsolutePath();
String messageResource = new File(basedir, this.messageResource).getAbsolutePath();
System.out.println("---------------------------------------");
@@ -68,7 +68,7 @@
public void testSOAPMessageAsyncCallbackMessageMode() throws Exception {
- String basedir = new File(".").getAbsolutePath();
+ String basedir = new File(System.getProperty("basedir",".")).getAbsolutePath();
String messageResource = new File(basedir, this.messageResource).getAbsolutePath();
System.out.println("---------------------------------------");
@@ -102,7 +102,7 @@
public void testSOAPMessageAsyncPollingMessageMode() throws Exception {
- String basedir = new File(".").getAbsolutePath();
+ String basedir = new File(System.getProperty("basedir",".")).getAbsolutePath();
String messageResource = new File(basedir, this.messageResource).getAbsolutePath();
System.out.println("---------------------------------------");
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/nonanonymous/complextype/sei/EchoMessageService.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/nonanonymous/complextype/sei/EchoMessageService.java?view=diff&rev=502250&r1=502249&r2=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/nonanonymous/complextype/sei/EchoMessageService.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/nonanonymous/complextype/sei/EchoMessageService.java Thu Feb 1 07:51:10 2007
@@ -28,7 +28,7 @@
URL url = null;
try {
try{
- String baseDir = new File(".").getCanonicalPath();
+ String baseDir = new File(System.getProperty("basedir",".")).getCanonicalPath();
wsdlLocation = new File(baseDir + wsdlLocation).getAbsolutePath();
}catch(Exception e){
e.printStackTrace();
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/polymorphic/shape/sei/PolymorphicShapeService.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/polymorphic/shape/sei/PolymorphicShapeService.java?view=diff&rev=502250&r1=502249&r2=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/polymorphic/shape/sei/PolymorphicShapeService.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/polymorphic/shape/sei/PolymorphicShapeService.java Thu Feb 1 07:51:10 2007
@@ -28,7 +28,7 @@
URL url = null;
try {
try{
- String baseDir = new File(".").getCanonicalPath();
+ String baseDir = new File(System.getProperty("basedir",".")).getCanonicalPath();
wsdlLocation = new File(baseDir + wsdlLocation).getAbsolutePath();
}catch(Exception e){
e.printStackTrace();
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/polymorphic/shape/tests/PolymorphicTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/polymorphic/shape/tests/PolymorphicTests.java?view=diff&rev=502250&r1=502249&r2=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/polymorphic/shape/tests/PolymorphicTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/polymorphic/shape/tests/PolymorphicTests.java Thu Feb 1 07:51:10 2007
@@ -62,7 +62,7 @@
URL url = null;
try{
try{
- String baseDir = new File(".").getCanonicalPath();
+ String baseDir = new File(System.getProperty("basedir",".")).getCanonicalPath();
wsdlLocation = new File(baseDir +File.separator+ wsdlLocation).getAbsolutePath();
}catch(Exception e){
e.printStackTrace();
@@ -108,7 +108,7 @@
URL url = null;
try{
try{
- String baseDir = new File(".").getCanonicalPath();
+ String baseDir = new File(System.getProperty("basedir",".")).getCanonicalPath();
wsdlLocation = new File(baseDir +File.separator+ wsdlLocation).getAbsolutePath();
}catch(Exception e){
e.printStackTrace();
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/provider/ProviderTestCase.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/provider/ProviderTestCase.java?view=diff&rev=502250&r1=502249&r2=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/provider/ProviderTestCase.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/provider/ProviderTestCase.java Thu Feb 1 07:51:10 2007
@@ -44,7 +44,7 @@
public ProviderTestCase(String name) {
super(name);
if(basedir == null){
- basedir = new File(".").getAbsolutePath();
+ basedir = new File(System.getProperty("basedir",".")).getAbsolutePath();
}
providerResourceDir = new File(basedir, providerResourceDir).getAbsolutePath();
imageResourceDir = new File(basedir, imageResourceDir).getAbsolutePath();
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/GorillaDLWProxyTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/GorillaDLWProxyTests.java?view=diff&rev=502250&r1=502249&r2=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/GorillaDLWProxyTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/GorillaDLWProxyTests.java Thu Feb 1 07:51:10 2007
@@ -42,7 +42,7 @@
private String axisEndpoint = "http://localhost:8080/axis2/services/GorillaService";
private QName portName = new QName("http://org.apache.axis2.jaxws.proxy.rpclit",
"GorillaPort");
- private String wsdlLocation = "test/org/apache/axis2/jaxws/proxy/gorilla_dlw/META-INF/gorilla_dlw.wsdl";
+ private String wsdlLocation = System.getProperty("basedir",".")+"/"+"test/org/apache/axis2/jaxws/proxy/gorilla_dlw/META-INF/gorilla_dlw.wsdl";
/**
* Utility method to get the proxy
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/ProxyNonWrappedTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/ProxyNonWrappedTests.java?view=diff&rev=502250&r1=502249&r2=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/ProxyNonWrappedTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/ProxyNonWrappedTests.java Thu Feb 1 07:51:10 2007
@@ -43,7 +43,7 @@
QName serviceName = new QName("http://doclitnonwrapped.proxy.test.org", "ProxyDocLitUnwrappedService");
private String axisEndpoint = "http://localhost:8080/axis2/services/ProxyDocLitUnwrappedService";
private QName portName = new QName("http://org.apache.axis2.proxy.doclitwrapped", "ProxyDocLitWrappedPort");
- private String wsdlLocation = "test-resources/wsdl/ProxyDocLitnonWrapped.wsdl";
+ private String wsdlLocation = System.getProperty("basedir",".")+"/"+"test-resources/wsdl/ProxyDocLitnonWrapped.wsdl";
public ProxyNonWrappedTests() {
super();
// TODO Auto-generated constructor stub
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/ProxyTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/ProxyTests.java?view=diff&rev=502250&r1=502249&r2=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/ProxyTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/ProxyTests.java Thu Feb 1 07:51:10 2007
@@ -39,7 +39,7 @@
private String axisEndpoint = "http://localhost:8080/axis2/services/ProxyDocLitWrappedService";
private QName portName = new QName("http://doclitwrapped.proxy.test.org",
"ProxyDocLitWrappedPort");
- private String wsdlLocation = "test/org/apache/axis2/jaxws/proxy/doclitwrapped/META-INF/ProxyDocLitWrapped.wsdl";
+ private String wsdlLocation = System.getProperty("basedir",".")+"/"+"test/org/apache/axis2/jaxws/proxy/doclitwrapped/META-INF/ProxyDocLitWrapped.wsdl";
private boolean runningOnAxis = true;
public void testMultipleServiceCalls(){
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/RPCProxyTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/RPCProxyTests.java?view=diff&rev=502250&r1=502249&r2=502250
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/RPCProxyTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/RPCProxyTests.java Thu Feb 1 07:51:10 2007
@@ -46,7 +46,7 @@
private String axisEndpoint = "http://localhost:8080/axis2/services/RPCLitService";
private QName portName = new QName("http://org.apache.axis2.jaxws.proxy.rpclit",
"RPCLit");
- private String wsdlLocation = "test/org/apache/axis2/jaxws/proxy/rpclit/META-INF/RPCLit.wsdl";
+ private String wsdlLocation = System.getProperty("basedir",".")+"/"+"test/org/apache/axis2/jaxws/proxy/rpclit/META-INF/RPCLit.wsdl";
/**
* Utility method to get the proxy
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org