Thanks Franz,
That works just great.
Cheers
Neil
On Wednesday 04 April 2007 16:52, franz see wrote:
> Good day to you, Neil ,
>
> On top of my head,....
>
> 1. Copy your tomcat-zip somewhere in your target ( probably using the
> maven-dependency-plugin ).
> 2. Set ${XXX} to the location where you copied tomcat-zip
>
> Cheers,
> Franz
>
> neilb wrote:
> > Hello,
> >
> > I am starting to use Cargo for functional testing in maven2. I would like
> > to
> > store the tomcat install zip in the local repository and then resolve the
> > path to the dependancy as a system property in at test. For example:
> >
> > ...
> > <dependency>
> > <groupId>tomcat</groupId>
> > <artifactId>tomcat-zip</artifactId>
> > <version>5</version>
> > <type>zip</type>
> > </dependency>
> > ...
> >
> > ...
> > <groupId>org.apache.maven.plugins</groupId>
> > <artifactId>maven-surefire-plugin</artifactId>
> > <configuration>
> > <printSummary>true</printSummary>
> > <useFile>false</useFile>
> > <systemProperties>
> > <property>
> > <name>tomcat.zip</name>
> > <value>${XXX}</value>
> > </property>
> > </systemProperties>
> > </configuration>
> > </plugin>
> > ...
> >
> > Please can anyone tell me how to get the path to a dependancy like this
> > in the
> > pom.
> >
> > Thanks
> > Neil
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]