Author: ruchithf
Date: Tue Feb 6 02:32:07 2007
New Revision: 504066
URL: http://svn.apache.org/viewvc?view=rev&rev=504066
Log:
moving resources to src/test/resources
Added:
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/conf/
- copied from r504027,
webservices/rampart/trunk/java/modules/rampart-integration/resources/conf/
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rahas/
- copied from r504027,
webservices/rampart/trunk/java/modules/rampart-integration/resources/rahas/
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/rampart/
- copied from r504027,
webservices/rampart/trunk/java/modules/rampart-integration/resources/rampart/
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/security/
- copied from r504027,
webservices/rampart/trunk/java/modules/rampart-integration/resources/security/
Removed:
webservices/rampart/trunk/java/modules/rampart-integration/resources/conf/
webservices/rampart/trunk/java/modules/rampart-integration/resources/rahas/
webservices/rampart/trunk/java/modules/rampart-integration/resources/rampart/
webservices/rampart/trunk/java/modules/rampart-integration/resources/security/
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/axis2.crypto.properties
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/axis2.saml.properties
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/axis2.saml3.properties
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/axis2.saml4.properties
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/complete.client.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/complete.service.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/complete.service.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/issuer.properties
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/ping.wsdl
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/policy/
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s1-services.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s1.client.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s1.service.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s1.service.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s2-services.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s2.client.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s2.service.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s2.service.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s2a.client.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s2a.service.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s2a.service.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s3-services.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s3.client.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s3.service.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s3.service.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s4-services.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s4.client.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s4.service.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s4.service.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s5.client.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s5.service.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s5.service.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s6.client.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s6.service.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s6.service.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s7.client.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s7.service.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/s7.service.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/sST1.client.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/sST1.service.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/sST1.service.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/sc/
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/secMtom.client.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/secMtom.service.axis2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/secMtom.service.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/services-1.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/services-2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/services-3.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/services-4.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/services-5.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/services-6.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/services-7.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/services-8.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/services-9.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/services-sc-1.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/services-sc-2.xml
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/store.jks
webservices/rampart/trunk/java/modules/rampart-integration/src/test/resources/x509.PFX.MSFT
Modified:
webservices/rampart/trunk/java/modules/rampart-integration/pom.xml
Modified: webservices/rampart/trunk/java/modules/rampart-integration/pom.xml
URL:
http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/pom.xml?view=diff&rev=504066&r1=504065&r2=504066
==============================================================================
--- webservices/rampart/trunk/java/modules/rampart-integration/pom.xml
(original)
+++ webservices/rampart/trunk/java/modules/rampart-integration/pom.xml Tue Feb
6 02:32:07 2007
@@ -132,7 +132,7 @@
<copy overwrite="yes" file="target/classes/org/apache/rampart/Service.class"
tofile="target/temp-ramp/org/apache/rampart/Service.class"/>
<copy overwrite="yes"
file="target/classes/org/apache/rampart/PWCallback.class"
tofile="target/temp-ramp/org/apache/rampart/PWCallback.class"/>
-<copy overwrite="yes" file="resources/rampart/store.jks"
tofile="target/temp-ramp/store.jks"/>
+<copy overwrite="yes" file="src/test/resources/rampart/store.jks"
tofile="target/temp-ramp/store.jks"/>
<!--path id="ramp.client.props" location="test-resources/rampart"/-->
<!--maven:addPath id="maven.dependency.classpath" refid="ramp.client.props" -->
<mkdir dir="target/test-resources/rampart_client_repo"/>
@@ -149,38 +149,38 @@
<copy file="target/artifacts/rampart-sts-SNAPSHOT.mar"
tofile="target/test-resources/rampart_service_repo/modules/rampart-sts-SNAPSHOT.mar"/>
<copy file="target/artifacts/addressing-SNAPSHOT.mar"
tofile="target/test-resources/rampart_service_repo/modules/addressing-SNAPSHOT.mar"/>
<!-- Service 1 -->
-<copy overwrite="yes" file="resources/rampart/services-1.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
+<copy overwrite="yes" file="src/test/resources/rampart/services-1.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
<jar
jarfile="target/test-resources/rampart_service_repo/services/SecureService1.aar"
basedir="target/temp-ramp"/>
<!-- Service 2 -->
-<copy overwrite="yes" file="resources/rampart/services-2.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
+<copy overwrite="yes" file="src/test/resources/rampart/services-2.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
<jar
jarfile="target/test-resources/rampart_service_repo/services/SecureService2.aar"
basedir="target/temp-ramp"/>
<!-- Service 3 -->
-<copy overwrite="yes" file="resources/rampart/services-3.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
+<copy overwrite="yes" file="src/test/resources/rampart/services-3.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
<jar
jarfile="target/test-resources/rampart_service_repo/services/SecureService3.aar"
basedir="target/temp-ramp"/>
<!-- Service 4 -->
-<copy overwrite="yes" file="resources/rampart/services-4.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
+<copy overwrite="yes" file="src/test/resources/rampart/services-4.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
<jar
jarfile="target/test-resources/rampart_service_repo/services/SecureService4.aar"
basedir="target/temp-ramp"/>
<!-- Service 5 -->
-<copy overwrite="yes" file="resources/rampart/services-5.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
+<copy overwrite="yes" file="src/test/resources/rampart/services-5.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
<jar
jarfile="target/test-resources/rampart_service_repo/services/SecureService5.aar"
basedir="target/temp-ramp"/>
<!-- Service 6 -->
-<copy overwrite="yes" file="resources/rampart/services-6.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
+<copy overwrite="yes" file="src/test/resources/rampart/services-6.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
<jar
jarfile="target/test-resources/rampart_service_repo/services/SecureService6.aar"
basedir="target/temp-ramp"/>
<!-- Service 7 -->
-<copy overwrite="yes" file="resources/rampart/services-7.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
+<copy overwrite="yes" file="src/test/resources/rampart/services-7.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
<jar
jarfile="target/test-resources/rampart_service_repo/services/SecureService7.aar"
basedir="target/temp-ramp"/>
<!-- Service 8 -->
-<copy overwrite="yes" file="resources/rampart/services-8.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
+<copy overwrite="yes" file="src/test/resources/rampart/services-8.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
<jar
jarfile="target/test-resources/rampart_service_repo/services/SecureService8.aar"
basedir="target/temp-ramp"/>
<!-- Service 9 -->
-<copy overwrite="yes" file="resources/rampart/services-9.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
+<copy overwrite="yes" file="src/test/resources/rampart/services-9.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
<jar
jarfile="target/test-resources/rampart_service_repo/services/SecureService9.aar"
basedir="target/temp-ramp"/>
<!-- Service SC-1 -->
-<copy overwrite="yes" file="resources/rampart/issuer.properties"
tofile="target/temp-ramp/issuer.properties"/>
-<copy overwrite="yes" file="resources/rampart/services-sc-1.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
+<copy overwrite="yes" file="src/test/resources/rampart/issuer.properties"
tofile="target/temp-ramp/issuer.properties"/>
+<copy overwrite="yes" file="src/test/resources/rampart/services-sc-1.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
<jar
jarfile="target/test-resources/rampart_service_repo/services/SecureServiceSC1.aar"
basedir="target/temp-ramp"/>
-<copy overwrite="yes" file="resources/rampart/issuer.properties"
tofile="target/temp-ramp/issuer.properties"/>
-<copy overwrite="yes" file="resources/rampart/services-sc-2.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
+<copy overwrite="yes" file="src/test/resources/rampart/issuer.properties"
tofile="target/temp-ramp/issuer.properties"/>
+<copy overwrite="yes" file="src/test/resources/rampart/services-sc-2.xml"
tofile="target/temp-ramp/META-INF/services.xml"/>
<jar
jarfile="target/test-resources/rampart_service_repo/services/SecureServiceSC2.aar"
basedir="target/temp-ramp"/>
<!-- Service classes for the SecConv tests -->
<mkdir dir="target/temp-sc"/>
@@ -188,7 +188,7 @@
<copy overwrite="yes"
file="target/classes/org/apache/axis2/security/sc/Service.class"
tofile="target/temp-sc/org/apache/axis2/security/sc/Service.class"/>
<copy overwrite="yes"
file="target/classes/org/apache/axis2/security/sc/PWCallback.class"
tofile="target/temp-sc/org/apache/axis2/security/sc/PWCallback.class"/>
<copy overwrite="yes" todir="target/temp-sc">
-<fileset dir="resources/security/sc">
+<fileset dir="src/test/resources/security/sc">
<include name="sctIssuer.properties"/>
<include name="sts.jks"/>
</fileset>
@@ -206,10 +206,10 @@
<mkdir dir="target/test-resources/sc_service_repo_1/services"/>
<mkdir dir="target/test-resources/sc_service_repo_1/modules"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/sc_service_repo_1/modules/rampart-SNAPSHOT.mar"/>
-<copy
file="${user.home}/.m2/repository/org/apache/rampart/rampart-sts/SNAPSHOT/rampart-sts-SNAPSHOT.mar"
tofile="target/test-resources/sc_service_repo_1/modules/rahas-SNAPSHOT.mar"/>
+<copy file="target/artifacts/rampart-sts-SNAPSHOT.mar"
tofile="target/test-resources/sc_service_repo_1/modules/rahas-SNAPSHOT.mar"/>
<copy file="target/artifacts/addressing-SNAPSHOT.mar"
tofile="target/test-resources/sc_service_repo_1/modules/addressing-SNAPSHOT.mar"/>
<!-- copy the services.xml and create the aar -->
-<copy overwrite="yes" file="resources/security/sc/s1-services.xml"
tofile="target/temp-sc/META-INF/services.xml"/>
+<copy overwrite="yes" file="src/test/resources/security/sc/s1-services.xml"
tofile="target/temp-sc/META-INF/services.xml"/>
<jar
jarfile="target/test-resources/sc_service_repo_1/services/SecureService.aar"
basedir="target/temp-sc"/>
<!-- SecConv Test - 1 :END -->
<!-- SecConv Test - 2 -->
@@ -218,10 +218,10 @@
<mkdir dir="target/test-resources/sc_service_repo_2/services"/>
<mkdir dir="target/test-resources/sc_service_repo_2/modules"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/sc_service_repo_2/modules/rampart-SNAPSHOT.mar"/>
-<copy
file="${user.home}/.m2/repository/org/apache/rampart/rampart-sts/SNAPSHOT/rampart-sts-SNAPSHOT.mar"
tofile="target/test-resources/sc_service_repo_2/modules/rahas-SNAPSHOT.mar"/>
+<copy file="target/artifacts/rampart-sts-SNAPSHOT.mar"
tofile="target/test-resources/sc_service_repo_2/modules/rahas-SNAPSHOT.mar"/>
<copy file="target/artifacts/addressing-SNAPSHOT.mar"
tofile="target/test-resources/sc_service_repo_2/modules/addressing-SNAPSHOT.mar"/>
<!-- copy the services.xml and create the aar -->
-<copy overwrite="yes" file="resources/security/sc/s2-services.xml"
tofile="target/temp-sc/META-INF/services.xml"/>
+<copy overwrite="yes" file="src/test/resources/security/sc/s2-services.xml"
tofile="target/temp-sc/META-INF/services.xml"/>
<jar
jarfile="target/test-resources/sc_service_repo_2/services/SecureService.aar"
basedir="target/temp-sc"/>
<!-- SecConv Test - 2 :END -->
<!-- SecConv Test - 3 -->
@@ -232,7 +232,7 @@
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/sc_service_repo_3/modules/rampart-SNAPSHOT.mar"/>
<copy file="target/artifacts/addressing-SNAPSHOT.mar"
tofile="target/test-resources/sc_service_repo_3/modules/addressing-SNAPSHOT.mar"/>
<!-- copy the services.xml and create the aar -->
-<copy overwrite="yes" file="resources/security/sc/s3-services.xml"
tofile="target/temp-sc/META-INF/services.xml"/>
+<copy overwrite="yes" file="src/test/resources/security/sc/s3-services.xml"
tofile="target/temp-sc/META-INF/services.xml"/>
<jar
jarfile="target/test-resources/sc_service_repo_3/services/SecureService.aar"
basedir="target/temp-sc"/>
<!-- SecConv Test - 3 :END -->
<!-- SecConv Test - 4 -->
@@ -241,10 +241,10 @@
<mkdir dir="target/test-resources/sc_service_repo_4/services"/>
<mkdir dir="target/test-resources/sc_service_repo_4/modules"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/sc_service_repo_4/modules/rampart-SNAPSHOT.mar"/>
-<copy
file="${user.home}/.m2/repository/org/apache/rampart/rampart-sts/SNAPSHOT/rampart-sts-SNAPSHOT.mar"
tofile="target/test-resources/sc_service_repo_4/modules/rahas-SNAPSHOT.mar"/>
+<copy file="target/artifacts/rampart-sts-SNAPSHOT.mar"
tofile="target/test-resources/sc_service_repo_4/modules/rahas-SNAPSHOT.mar"/>
<copy file="target/artifacts/addressing-SNAPSHOT.mar"
tofile="target/test-resources/sc_service_repo_4/modules/addressing-SNAPSHOT.mar"/>
<!-- copy the services.xml and create the aar -->
-<copy overwrite="yes" file="resources/security/sc/s4-services.xml"
tofile="target/temp-sc/META-INF/services.xml"/>
+<copy overwrite="yes" file="src/test/resources/security/sc/s4-services.xml"
tofile="target/temp-sc/META-INF/services.xml"/>
<jar
jarfile="target/test-resources/sc_service_repo_4/services/SecureService.aar"
basedir="target/temp-sc"/>
<!-- SecConv Test - 4 :END -->
<!-- clean up temp sc stuff -->
@@ -279,10 +279,10 @@
<mkdir dir="target/test-resources/rahas_service_repo_1/services"/>
<mkdir dir="target/test-resources/rahas_service_repo_1/modules"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/rahas_service_repo_1/modules/rampart-SNAPSHOT.mar"/>
-<copy
file="${user.home}/.m2/repository/org/apache/rampart/rampart-sts/SNAPSHOT/rampart-sts-SNAPSHOT.mar"
tofile="target/test-resources/rahas_service_repo_1/modules/rahas-SNAPSHOT.mar"/>
+<copy file="target/artifacts/rampart-sts-SNAPSHOT.mar"
tofile="target/test-resources/rahas_service_repo_1/modules/rahas-SNAPSHOT.mar"/>
<copy file="target/artifacts/addressing-SNAPSHOT.mar"
tofile="target/test-resources/rahas_service_repo_1/modules/addressing-SNAPSHOT.mar"/>
<!-- copy the services.xml and create the aar -->
-<copy overwrite="yes" file="resources/rahas/s1-services.xml"
tofile="target/temp-rahas/META-INF/services.xml"/>
+<copy overwrite="yes" file="src/test/resources/rahas/s1-services.xml"
tofile="target/temp-rahas/META-INF/services.xml"/>
<jar
jarfile="target/test-resources/rahas_service_repo_1/services/SecureService.aar"
basedir="target/temp-rahas"/>
<!-- Rahas Test1: SAML Token test : END -->
<!--
@@ -293,10 +293,10 @@
<mkdir dir="target/test-resources/rahas_service_repo_3/services"/>
<mkdir dir="target/test-resources/rahas_service_repo_3/modules"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/rahas_service_repo_3/modules/rampart-SNAPSHOT.mar"/>
-<copy
file="${user.home}/.m2/repository/org/apache/rampart/rampart-sts/SNAPSHOT/rampart-sts-SNAPSHOT.mar"
tofile="target/test-resources/rahas_service_repo_3/modules/rahas-SNAPSHOT.mar"/>
+<copy file="target/artifacts/rampart-sts-SNAPSHOT.mar"
tofile="target/test-resources/rahas_service_repo_3/modules/rahas-SNAPSHOT.mar"/>
<copy file="target/artifacts/addressing-SNAPSHOT.mar"
tofile="target/test-resources/rahas_service_repo_3/modules/addressing-SNAPSHOT.mar"/>
<!-- copy the services.xml and create the aar -->
-<copy overwrite="yes" file="resources/rahas/s3-services.xml"
tofile="target/temp-rahas/META-INF/services.xml"/>
+<copy overwrite="yes" file="src/test/resources/rahas/s3-services.xml"
tofile="target/temp-rahas/META-INF/services.xml"/>
<jar
jarfile="target/test-resources/rahas_service_repo_3/services/SecureService.aar"
basedir="target/temp-rahas"/>
<!--
Rahas Test 3 & 4: RahasSAMLTokenUTForHoKTest and
RahasSAMLTokenUTForHoKV1205Test : END
@@ -306,7 +306,7 @@
<mkdir dir="target/test-resources/default_security_client_repo/modules"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/default_security_client_repo/modules/rampart-SNAPSHOT.mar"/>
<copy file="target/artifacts/addressing-SNAPSHOT.mar"
tofile="target/test-resources/default_security_client_repo/modules/addressing-SNAPSHOT.mar"/>
-<copy file="resources/conf/axis2.xml"
tofile="target/test-resources/default_security_client_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/conf/axis2.xml"
tofile="target/test-resources/default_security_client_repo/conf/axis2.xml"/>
<!-- Scenario 1 -->
<mkdir dir="target/test-resources/scenario1_client_repo"/>
<mkdir dir="target/test-resources/scenario1_client_repo/conf"/>
@@ -317,16 +317,16 @@
<mkdir dir="target/test-resources/scenario1_service_repo/services"/>
<mkdir dir="target/test-resources/scenario1_service_repo/modules"/>
<!-- setup scenario 1 client repository-->
-<copy file="resources/security/s1.client.axis2.xml"
tofile="target/test-resources/scenario1_client_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/s1.client.axis2.xml"
tofile="target/test-resources/scenario1_client_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenario1_client_repo/modules/rampart-SNAPSHOT.mar"/>
<!-- setup scenario 1 service repository-->
-<copy file="resources/security/s1.service.axis2.xml"
tofile="target/test-resources/scenario1_service_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/s1.service.axis2.xml"
tofile="target/test-resources/scenario1_service_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenario1_service_repo/modules/rampart-SNAPSHOT.mar"/>
<mkdir dir="target/temp-interop/META-INF"/>
<!-- Create the .aar file -->
-<copy file="resources/security/s1.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
+<copy file="src/test/resources/security/s1.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
<jar
jarfile="target/test-resources/scenario1_service_repo/services/PingPort.aar"
basedir="target/temp-interop"/>
<!-- Scenario 2 - Setup the client and service repos -->
<mkdir dir="target/test-resources/scenario2_client_repo"/>
@@ -336,11 +336,11 @@
<mkdir dir="target/test-resources/scenario2_service_repo/ conf"/>
<mkdir dir="target/test-resources/scenario2_service_repo/services"/>
<mkdir dir="target/test-resources/scenario2_service_repo/modules"/>
-<copy file="resources/security/s2.client.axis2.xml"
tofile="target/test-resources/scenario2_client_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/s2.client.axis2.xml"
tofile="target/test-resources/scenario2_client_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenario2_client_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/s2.service.axis2.xml"
tofile="target/test-resources/scenario2_service_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/s2.service.axis2.xml"
tofile="target/test-resources/scenario2_service_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenario2_service_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/s2.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
+<copy file="src/test/resources/security/s2.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
<jar
jarfile="target/test-resources/scenario2_service_repo/services/PingPort.aar"
basedir="target/temp-interop"/>
<!-- Scenario 2a - set up repos -->
@@ -351,11 +351,11 @@
<mkdir dir="target/test-resources/scenario2a_service_repo/conf"/>
<mkdir dir="target/test-resources/scenario2a_service_repo/services"/>
<mkdir dir="target/test-resources/scenario2a_service_repo/modules"/>
-<copy file="resources/security/s2a.client.axis2.xml"
tofile="target/test-resources/scenario2a_client_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/s2a.client.axis2.xml"
tofile="target/test-resources/scenario2a_client_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenario2a_client_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/s2a.service.axis2.xml"
tofile="target/test-resources/scenario2a_service_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/s2a.service.axis2.xml"
tofile="target/test-resources/scenario2a_service_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenario2a_service_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/s2a.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
+<copy file="src/test/resources/security/s2a.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
<jar
jarfile="target/test-resources/scenario2a_service_repo/services/PingPort.aar"
basedir="target/temp-interop"/>
<!-- Scenario 3 -->
<mkdir dir="target/test-resources/scenario3_client_repo"/>
@@ -365,11 +365,11 @@
<mkdir dir="target/test-resources/scenario3_service_repo/conf"/>
<mkdir dir="target/test-resources/scenario3_service_repo/services"/>
<mkdir dir="target/test-resources/scenario3_service_repo/modules"/>
-<copy file="resources/security/s3.client.axis2.xml"
tofile="target/test-resources/scenario3_client_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/s3.client.axis2.xml"
tofile="target/test-resources/scenario3_client_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenario3_client_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/s3.service.axis2.xml"
tofile="target/test-resources/scenario3_service_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/s3.service.axis2.xml"
tofile="target/test-resources/scenario3_service_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenario3_service_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/s3.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
+<copy file="src/test/resources/security/s3.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
<jar
jarfile="target/test-resources/scenario3_service_repo/services/PingPort.aar"
basedir="target/temp-interop"/>
<!-- Scenario 4 -->
@@ -380,11 +380,11 @@
<mkdir dir="target/test-resources/scenario4_service_repo/conf"/>
<mkdir dir="target/test-resources/scenario4_service_repo/services"/>
<mkdir dir="target/test-resources/scenario4_service_repo/modules"/>
-<copy file="resources/security/s4.client.axis2.xml"
tofile="target/test-resources/scenario4_client_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/s4.client.axis2.xml"
tofile="target/test-resources/scenario4_client_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenario4_client_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/s4.service.axis2.xml"
tofile="target/test-resources/scenario4_service_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/s4.service.axis2.xml"
tofile="target/test-resources/scenario4_service_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenario4_service_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/s4.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
+<copy file="src/test/resources/security/s4.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
<jar
jarfile="target/test-resources/scenario4_service_repo/services/PingPort.aar"
basedir="target/temp-interop"/>
<!-- Scenario 5 -->
@@ -395,11 +395,11 @@
<mkdir dir="target/test-resources/scenario5_service_repo/conf"/>
<mkdir dir="target/test-resources/scenario5_service_repo/services"/>
<mkdir dir="target/test-resources/scenario5_service_repo/modules"/>
-<copy file="resources/security/s5.client.axis2.xml"
tofile="target/test-resources/scenario5_client_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/s5.client.axis2.xml"
tofile="target/test-resources/scenario5_client_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenario5_client_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/s5.service.axis2.xml"
tofile="target/test-resources/scenario5_service_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/s5.service.axis2.xml"
tofile="target/test-resources/scenario5_service_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenario5_service_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/s5.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
+<copy file="src/test/resources/security/s5.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
<jar
jarfile="target/test-resources/scenario5_service_repo/services/PingPort.aar"
basedir="target/temp-interop"/>
<!-- Scenario 6 -->
@@ -410,11 +410,11 @@
<mkdir dir="target/test-resources/scenario6_service_repo/conf"/>
<mkdir dir="target/test-resources/scenario6_service_repo/services"/>
<mkdir dir="target/test-resources/scenario6_service_repo/modules"/>
-<copy file="resources/security/s6.client.axis2.xml"
tofile="target/test-resources/scenario6_client_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/s6.client.axis2.xml"
tofile="target/test-resources/scenario6_client_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenario6_client_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/s6.service.axis2.xml"
tofile="target/test-resources/scenario6_service_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/s6.service.axis2.xml"
tofile="target/test-resources/scenario6_service_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenario6_service_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/s6.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
+<copy file="src/test/resources/security/s6.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
<jar
jarfile="target/test-resources/scenario6_service_repo/services/PingPort.aar"
basedir="target/temp-interop"/>
<!-- Scenario 7 -->
@@ -425,11 +425,11 @@
<mkdir dir="target/test-resources/scenario7_service_repo/conf"/>
<mkdir dir="target/test-resources/scenario7_service_repo/services"/>
<mkdir dir="target/test-resources/scenario7_service_repo/modules"/>
-<copy file="resources/security/s7.client.axis2.xml"
tofile="target/test-resources/scenario7_client_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/s7.client.axis2.xml"
tofile="target/test-resources/scenario7_client_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenario7_client_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/s7.service.axis2.xml"
tofile="target/test-resources/scenario7_service_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/s7.service.axis2.xml"
tofile="target/test-resources/scenario7_service_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenario7_service_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/s7.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
+<copy file="src/test/resources/security/s7.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
<jar
jarfile="target/test-resources/scenario7_service_repo/services/PingPort.aar"
basedir="target/temp-interop"/>
<!-- Scenario ST1 -->
@@ -440,11 +440,11 @@
<mkdir dir="target/test-resources/scenarioST1_service_repo/conf"/>
<mkdir dir="target/test-resources/scenarioST1_service_repo/services"/>
<mkdir dir="target/test-resources/scenarioST1_service_repo/modules"/>
-<copy file="resources/security/sST1.client.axis2.xml"
tofile="target/test-resources/scenarioST1_client_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/sST1.client.axis2.xml"
tofile="target/test-resources/scenarioST1_client_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenarioST1_client_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/sST1.service.axis2.xml"
tofile="target/test-resources/scenarioST1_service_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/sST1.service.axis2.xml"
tofile="target/test-resources/scenarioST1_service_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/scenarioST1_service_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/sST1.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
+<copy file="src/test/resources/security/sST1.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
<jar
jarfile="target/test-resources/scenarioST1_service_repo/services/PingPort.aar"
basedir="target/temp-interop"/>
<!-- MTOM Optimized Security Test -->
@@ -455,11 +455,11 @@
<mkdir dir="target/test-resources/mtom_sec_service_repo/conf"/>
<mkdir dir="target/test-resources/mtom_sec_service_repo/services"/>
<mkdir dir="target/test-resources/mtom_sec_service_repo/modules"/>
-<copy file="resources/security/secMtom.client.axis2.xml"
tofile="target/test-resources/mtom_sec_client_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/secMtom.client.axis2.xml"
tofile="target/test-resources/mtom_sec_client_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/mtom_sec_client_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/secMtom.service.axis2.xml"
tofile="target/test-resources/mtom_sec_service_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/secMtom.service.axis2.xml"
tofile="target/test-resources/mtom_sec_service_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/mtom_sec_service_repo/modules/rampart-SNAPSHOT.mar"/>
-<copy file="resources/security/secMtom.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
+<copy file="src/test/resources/security/secMtom.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
<jar
jarfile="target/test-resources/mtom_sec_service_repo/services/PingPort.aar"
basedir="target/temp-interop"/>
<!-- Test with addressing and MTOM -->
@@ -471,31 +471,16 @@
<mkdir dir="target/test-resources/complete_service_repo/services"/>
<mkdir dir="target/test-resources/complete_service_repo/modules"/>
<!-- Test with addressing and MTOM client repository-->
-<copy file="resources/security/complete.client.axis2.xml"
tofile="target/test-resources/complete_client_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/complete.client.axis2.xml"
tofile="target/test-resources/complete_client_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/complete_client_repo/modules/rampart-SNAPSHOT.mar"/>
<copy file="target/artifacts/addressing-SNAPSHOT.mar"
tofile="target/test-resources/complete_client_repo/modules/addressing-SNAPSHOT.mar"/>
<!-- Test with addressing and MTOMservice repository-->
-<copy file="resources/security/complete.service.axis2.xml"
tofile="target/test-resources/complete_service_repo/conf/axis2.xml"/>
+<copy file="src/test/resources/security/complete.service.axis2.xml"
tofile="target/test-resources/complete_service_repo/conf/axis2.xml"/>
<copy file="target/artifacts/rampart-SNAPSHOT.mar"
tofile="target/test-resources/complete_service_repo/modules/rampart-SNAPSHOT.mar"/>
<copy file="target/artifacts/addressing-SNAPSHOT.mar"
tofile="target/test-resources/complete_service_repo/modules/addressing-SNAPSHOT.mar"/>
-<copy file="resources/security/complete.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
+<copy file="src/test/resources/security/complete.service.xml"
tofile="target/temp-interop/META-INF/services.xml" overwrite="true"/>
<!-- Create the .aar file -->
<jar
jarfile="target/test-resources/complete_service_repo/services/PingPort.aar"
basedir="target/temp-interop"/>
-<!-- Standard repository -->
-<mkdir dir="target/Repository"/>
-<mkdir dir="target/Repository/conf"/>
-<mkdir dir="target/Repository/services"/>
-<mkdir dir="target/Repository/modules"/>
-<copy file="target/artifacts/addressing-SNAPSHOT.mar"
tofile="target/Repository/modules/addressing-SNAPSHOT.mar"/>
-<copy file="resources/conf/axis2.xml"
tofile="target/Repository/conf/axis2.xml"/>
-<mkdir dir="target/perf2/build/repo/conf"/>
-<mkdir dir="target/perf/build/repo/conf"/>
-<copy file="resources/conf/axis2.xml"
tofile="target/perf2/build/repo/conf/axis2.xml"/>
-<copy file="resources/conf/axis2.xml"
tofile="target/perf/build/repo/conf/axis2.xml"/>
-<mkdir dir="target/perf2/build/repo/modules"/>
-<copy file="target/artifacts/addressing-SNAPSHOT.mar"
tofile="target/perf2/build/repo/modules/addressing-SNAPSHOT.mar"/>
-<mkdir dir="target/perf/build/repo/modules"/>
-<copy file="target/artifacts/addressing-SNAPSHOT.mar"
tofile="target/perf/build/repo/modules/addressing-SNAPSHOT.mar"/>
</tasks>
</configuration>
<goals>