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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-access-a-dependency-path-in-the-pom--tf3526274s177.html#a9839108
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to