I'm having trouble running a plugin I wrote and setting a variable to
another variable that I want to interpolate later.

I've had success inside pom files by escaping the $ as $$, but from
the command-line that is not working.

What's weird is that it is inconsistent about when it will interpolate
it or not, e.g.:

mvn myplugin:mygoal -Dmyvar1=${myvar2}   => this sets myvar1 to
literally "${myvar2}", without interpolation

mvn myplugin:mygoal -Dmyvar1="c:\test\${myvar2}"  => this one
interpolates it so I get myvar1 set to "c:\test\null"

How can I make the second one work?

Phillip

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to