Is this a good time to bring up a potential name conflict between maven convention and ant's use of 'env'? eg: <property environment="env"/> provides all environment variables as Ant properties prefixed by "env."
-----Original Message----- From: nicolas.duminil [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2008 7:59 AM To: users@maven.apache.org Subject: Can't pass "-Denv=dev" to scm:bootstrap goal Greetings, In a POM, I'm displaying the value of the "env" variable: <project> ............. <build> ............ <plugins> ........... <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>verify</phase> <configuration> <tasks> <echo message="env: ${env}"/> </tasks> </configuration> </execution> </executions> </plugin> ............. </plugins> </build> ........... </project> When running: "mvn -Denv=dev", the displayed line is "env: dev" as expected. But if I run it: "mvn -Denv=dev scm:bootstrap -DconnectionUrl=... -Dgoals=...", the display is "env: ${env}". As if the "-Denv=dev" hasn't given on the command line. Of course, I tried also: "mvn scm:bootstrap -Denv=dev -DconnectionUrl=... -Dgoals=..." but the result is the same. Please help ! Many thanks in advance. Nicolas -- View this message in context: http://www.nabble.com/Can%27t-pass-%22-Denv%3Ddev%22-to-scm%3Abootstrap-goal-tp17912903p17912903.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- 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]