Maven 3 environment properties not set from the build engine
![]()
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 enviornment.name whose default value is dev. When I pass -Denvironment.name=test, the value is still dev. The same works fine in command line using maven.
"mvn -Denvironment.name=test 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,
Shyam
|
One answer
![]()
Update:
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.
|