Problems passing system properties using maven 3.0.1
I'm using maven 3.0.1 in ubuntu 10.10, I'm trying to do:
export JAVA_OPTS="-Dfoo=bar"
mvn clean install
And my build does not work. However, when I do
mvn clean install -Dfoo=bar
It works开发者_JS百科.
Does anyone have any idea why this happens?
Maven doesn't use JAVA_OPTS
but uses MAVEN_OPTS
for the same purpose.
精彩评论