It's all about the answers!

Ask a question

Maven 3 environment properties not set from the build engine

Shyam Gavulla (111) | asked Sep 21 '12, 3:09 p.m.
 Hello everyone,
We are integrating Maven 3 and RTC and got into an issue. I am not able to pass custom properties using java arguments. I have a variable defined as whose default value is dev. When I pass, the value is still dev. The same works fine in command line using maven. 
"mvn clean" works fine from the command line. It looks like it is an issue with RTC and maven integration. 
Has anyone seen this issue before with Maven 3 and RTC?

Any help will be greatly appreciated. 

Thank you,

One answer

permanent link
Shyam Gavulla (111) | answered Sep 21 '12, 5:06 p.m.
It looks like if the default values exist then RTC is not using the JVM arguments. I removed the default values from the POM and it works. It seems like an issue with RTC and Maven integration. 

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.