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]

Reply via email to