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 2005/11/29 05:11:27 UTC

svn commit: r349614 - in /webservices/axis2/trunk/java/modules: codegen/maven.xml core/maven.xml integration/maven.xml samples/maven.xml security/maven.xml

Author: dims
Date: Mon Nov 28 20:11:23 2005
New Revision: 349614

URL: http://svn.apache.org/viewcvs?rev=349614&view=rev
Log:
"maven -Dmaven.test.skip=true -o" is now blazingly fast! try it :)


Modified:
    webservices/axis2/trunk/java/modules/codegen/maven.xml
    webservices/axis2/trunk/java/modules/core/maven.xml
    webservices/axis2/trunk/java/modules/integration/maven.xml
    webservices/axis2/trunk/java/modules/samples/maven.xml
    webservices/axis2/trunk/java/modules/security/maven.xml

Modified: webservices/axis2/trunk/java/modules/codegen/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/maven.xml?rev=349614&r1=349613&r2=349614&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/maven.xml (original)
+++ webservices/axis2/trunk/java/modules/codegen/maven.xml Mon Nov 28 20:11:23 2005
@@ -30,6 +30,8 @@
 
      <!-- run the schema compiler -->
    <postGoal name="test:compile">
+     <j:if test="context.getVariable('maven.test.skip') != 'true'}">
+
         <j:set var="compiled.classes.dir" value="target/classes"/>   <!-- Theres got to be a better way to do this -->
         <j:set var="schema.source.dir" value="test-resources/xsd"/>
         <j:set var="schema.output.base.dir" value="target/schema"/>
@@ -69,6 +71,7 @@
 
         <ant:path id="schema.generated.classes.dir" location="${schema.generated.classes.dir}"/>
         <maven:addPath id="maven.dependency.classpath" refid="schema.generated.classes.dir"/>
+      </j:if>
     </postGoal>
 
 </project>

Modified: webservices/axis2/trunk/java/modules/core/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/maven.xml?rev=349614&r1=349613&r2=349614&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/maven.xml (original)
+++ webservices/axis2/trunk/java/modules/core/maven.xml Mon Nov 28 20:11:23 2005
@@ -9,6 +9,7 @@
     xmlns:deploy="deploy"
     xmlns:ant="jelly:ant">
     <postGoal name="test:compile">
+      <j:if test="context.getVariable('maven.test.skip') != 'true'}">
         <j:jelly xmlns="jelly:ant">
             <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="test-resources/deployment/service2"/>
             <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="test-resources/deployment/echo"/>
@@ -18,6 +19,7 @@
             <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="test-resources/deployment/serviceModule"/>
         </j:jelly>
         <ant:copy file="${basedir}/test-resources/deployment/axis2.xml" tofile="${basedir}/target/test-resources/deployment/axis2.xml"/>
+      </j:if>
     </postGoal>
     <preGoal name="itest:compile">
         <u:file var="file" name="${maven.itest.src}"/>

Modified: webservices/axis2/trunk/java/modules/integration/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/maven.xml?rev=349614&r1=349613&r2=349614&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/maven.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/maven.xml Mon Nov 28 20:11:23 2005
@@ -17,6 +17,7 @@
     </postGoal>
 
     <postGoal name="test:compile">
+      <j:if test="context.getVariable('maven.test.skip') != 'true'}">
         <mkdir dir="target/test-resources/samples/modules"/>
         <mkdir dir="target/test-resources/repository-client/modules"/>
         <copy file="../addressing/target/addressing.mar"
@@ -433,6 +434,7 @@
             <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="test-resources/SOAP12Testing/SOAP12TestServiceB"/>
             <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="test-resources/SOAP12Testing/SOAP12TestServiceC"/>
         </j:jelly>
+      </j:if>
     </postGoal>
 
     <postGoal name="test:test">

Modified: webservices/axis2/trunk/java/modules/samples/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/maven.xml?rev=349614&r1=349613&r2=349614&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/maven.xml (original)
+++ webservices/axis2/trunk/java/modules/samples/maven.xml Mon Nov 28 20:11:23 2005
@@ -11,7 +11,9 @@
     <j:set var="samples.dir" value="target/samples"/>
 
     <postGoal name="test:test">
+      <j:if test="context.getVariable('maven.test.skip') != 'true'}">
         <attainGoal name="create-samples"/>
+      </j:if>
     </postGoal>
     
     <goal name="mail-tests">

Modified: webservices/axis2/trunk/java/modules/security/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/security/maven.xml?rev=349614&r1=349613&r2=349614&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/security/maven.xml (original)
+++ webservices/axis2/trunk/java/modules/security/maven.xml Mon Nov 28 20:11:23 2005
@@ -17,7 +17,7 @@
     </preGoal>
     
     <postGoal name="test:compile">
-
+      <j:if test="context.getVariable('maven.test.skip') != 'true'}">
         <mkdir dir="target/classes/META-INF"/>
         <copy file="src/META-INF/module.xml"
             tofile="target/classes/META-INF/module.xml"/>
@@ -39,10 +39,12 @@
             <include name="**/*"/>
         </jar>
         <copy file="target/security.mar" tofile="target/modules/security.mar"/>
-
+      </j:if>
     </postGoal>
 
     <preGoal name="java:compile">
+     <j:if test="context.getVariable('maven.test.skip') != 'true'}">
+
        	<j:set var="interop.dir" value="target/interop"/>
         <j:set var="work.dir" value="${interop.dir}/work"/>
         <j:set var="class.dir" value="${interop.dir}/classes"/>
@@ -88,10 +90,12 @@
 
    	    <ant:path id="src.dir" location="${work.dir}"/>
         <maven:addPath id="maven.compile.src.set" refid="src.dir"/>	
+     </j:if>
     </preGoal>
 
 	<!--Create the service.aar" -->
     <postGoal name="java:compile">
+      <j:if test="context.getVariable('maven.test.skip') != 'true'}">
 
 		<!-- move/copy interop classes into class.dir -->
     	<ant:move todir="${class.dir}">
@@ -147,7 +151,7 @@
 	<jar jarfile="target/PingPort.aar" basedir="target/interop/classes">
             <include name="**/*"/>
         </jar>
-        
+     </j:if>
     </postGoal>
 
 </project>