|how do you pass properties to the build configuration [message #569670]
||Thu, 04 June 2009 14:06
| Bill Brown
Registered: July 2009
I am using IAM in eclipse 3.4 on windows. I have a project configuration
where I need to pass the property "-Plocal -Dmaven.test.skip=true" to the
build process so that it pulls in the correct environment properties and
skips running the tests. I can do this on the command in one line "mvn
clean install -Plocal -Dmaven.test.skip=true"
Within eclipse If I go to run configuration and pick a new maven build, I
can specify the project goals "clean install" in the goals input box but
it does not allow me to pass the "-Plocal -Dmaven.test.skip=true" there.
When I do that, I get an "Invalid task '-Plocal'..." error and the build
doesn't complete. I try adding them as key/value pairs below in the other
input area, but that doesn't work either.
Does anyone here know how to pass this extra parameters to the build
within the editor? Thanks for your input.
Powered by FUDForum
. Page generated in 0.01821 seconds