Author: davidillsley Date: Thu May 31 12:49:25 2007 New Revision: 543233 URL: http://svn.apache.org/viewvc?view=rev&rev=543233 Log: Some work towards maven2 support in integration module
Modified: webservices/axis2/trunk/java/modules/integration/pom.xml Modified: webservices/axis2/trunk/java/modules/integration/pom.xml URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/pom.xml?view=diff&rev=543233&r1=543232&r2=543233 ============================================================================== --- webservices/axis2/trunk/java/modules/integration/pom.xml (original) +++ webservices/axis2/trunk/java/modules/integration/pom.xml Thu May 31 12:49:25 2007 @@ -191,6 +191,11 @@ <groupId>javax.xml</groupId> </exclusion> </exclusions> + </dependency> + <dependency> + <groupId>groovy</groupId> + <artifactId>groovy-all</artifactId> + <version>${groovy.all.version}</version> </dependency> </dependencies> <profiles> @@ -297,7 +302,8 @@ <tasks> <!-- Set a property that can be picked up from the ant build.xml's --> <property name="maven.class.path" refid="maven.runtime.classpath"/> - + <property name="maven.test.path" refid="maven.compile.classpath"/> + <echo>${maven.test.path}</echo> <!-- copy the mars so that they are available on the test classpath --> <copy file="../addressing/target/addressing-${version}.mar" tofile="target/test-classes/modules/addressing-${version}.mar"/> @@ -314,7 +320,8 @@ <mkdir dir="${wsdl.output.base.dir}"/> <echo>Compiling DocumentUnwrappingTest.wsdl</echo> - <mkdir dir="${wsdl.output.base.dir}/documentunwrapping"/> + <mkdir dir="${wsdl.output.base.dir}/documentunwrapping"/> + <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true"> <classpath refid="maven.runtime.classpath"/> <classpath location="${compiled.classes.dir}"/> @@ -438,8 +445,12 @@ <artifactId>maven-surefire-plugin</artifactId> <inherited>true</inherited> <configuration> - <skip>false</skip> - <forkMode>once</forkMode> + <skip>false</skip> + + <!-- The pertest forkMode is not ideal but seems to be necessary + because the test server doesn't shut down properly :-( + Should be removed if possible --> + <forkMode>pertest</forkMode> <argLine>-Xms256m -Xmx512m</argLine> <!-- Enable the next 2 lines if you want to attach a debugger <argLine>-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006</argLine>--> @@ -469,11 +480,11 @@ </plugins> </build> <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-report-plugin</artifactId> - </plugin> - </plugins> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-report-plugin</artifactId> + </plugin> + </plugins> </reporting> </project> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]