Thank you for reply.
Are you saying that properties specified in POM can not be overridden with
-D option?
Igor
Wayne Fay wrote:
>
> You should put the properties in different profiles, and then specify
> which profile using -Penv1 when running Maven.
>
> Wayne
>
--
View this message in c
Hello,
I have properties in a POM file I need to be able to override with
command line –D option,
to run build in a different environments. How can I do this? Simple
example below doesn't work
as I expect it should, i.e. test.txt will contain FALSE after running
c:\temp\module> mvn -Dtest.result