Hi.
I'm currently trying to filter a resource using a command-line argument
as described at http://maven.apache.org/guides/getting-started/index.html .
Interestingly, ${pom.name} and ${pom.version} are both working...
however, ${java.version} is also replaced by the ${pom.version}-value while
${command.line.prop} (as in the example) isn't replaced at all after calling 'mvn process-resources
"-Dcommand.line.prop=hello again"' or 'mvn clean install "-Dcommand.line.prop=hello
again"'...
The relevant part of my pom looks like this:
[..]
<packaging>war</packaging>
[..]
<build>
[..]
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
[..]
</build>
Is filtering using command line arguments currently broken?
Thanks,
Joern.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]