[ http://jira.codehaus.org/browse/MNG-1356?page=comments#action_50276 ]
Vincent Massol commented on MNG-1356: ------------------------------------- Hi John, Yes, it's Cargo which is downloading the container distribution. Using a plugin configuration is exactly what I'm after but it wasn't working when I tried it. Here's an example of the POM I would like to have: <plugins> <plugin> <groupId>org.codehaus.cargo.maven2</groupId> <artifactId>cargo-maven2-plugin</artifactId> <configuration> <wait>true</wait> <container> <containerId>${containerId}</containerId> <log>${basedir}/target/${containerId}/cargo.log</log> <zipUrlInstaller> <url>${downloadUrl}</url> <installDir>${java.io.tmp.dir}/cargo</installDir> </zipUrlInstaller> </container> <configuration> <dir>${basedir}/target/${containerId}/container</dir> <properties> <property> <name>cargo.servlet.port</name> <value>${port}</value> </property> <property> <name>cargo.logging</name> <value>high</value> </property> </properties> </configuration> </configuration> </plugin> </plugins> [...] Thanks > Java system properties should be interpolated in pom.xml > -------------------------------------------------------- > > Key: MNG-1356 > URL: http://jira.codehaus.org/browse/MNG-1356 > Project: Maven 2 > Type: Improvement > Components: maven-core > Versions: 2.0 > Reporter: Vincent Massol > Fix For: 2.0.1 > > > Here's a use case where I'd need ${java.io.tmp.dir} interpolated in my > pom.xml: > Some plugins output things. Some of those things can be transient and putting > them in ${basedir]/target is fine. However there are other cases where you > want to be sure that what is generated stays even after a clean. This is the > case for the cargo plugin which can automatically download containers. It > wouldn't be nice that the downloaded containers be wiped out on a clean. I'd > like to leave it to the user to decide where to put them and one location > that would be fine is ${java.io.tmp.dir} (this is the one I want to use in > the cargo plugin's functional tests). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]