Hi
If you want to use some of the meta data from Mavens pom file you
could always use the maven-ant tasks. I have used it for running Fit
integration tests using a plain ant build.xml file which is
"including" the Maven pom.xml file and thereby having the dependency
path from Maven.
A small snippet could look like:
<?xml version="1.0" encoding="UTF-8"?>
<project name="test-integration" basedir="." default="maven"
xmlns:artifact="urn:maven-artifact-ant">
<typedef resource="org/apache/maven/artifact/ant/antlib.xml"
uri="urn:maven-artifact-ant">
<classpath>
<pathelement location="lib/maven-artifact-ant-2.0.2-dep.jar" />
</classpath>
</typedef>
<target name="maven_userregister">
<artifact:dependencies pathid="mavendependencies" >
<artifact:pom file="pom.xml" />
</artifact:dependencies>
<property name="maven.dependencies" refid="mavendependencies" />
<!--echo> ${maven.dependencies} </echo-->
<java classname="fit.FileRunner" failonerror="true">
<arg value="src/test/java/org/grouter/integrationtest.html"/>
<arg value="results_userregister.html"/>
<classpath>
<pathelement location="lib/fit.jar" />
<pathelement location="target/classes/" />
<pathelement location="target/test-classes/" />
<pathelement path="${maven.dependencies}"/>
</classpath>
</java>
</target>
</project>
Kind regards
Georges Polyzois
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]