Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IAM (Eclipse Integration for Apache Maven) » how do you pass properties to the build configuration
how do you pass properties to the build configuration [message #569670] Thu, 04 June 2009 14:06
Bill Brown is currently offline Bill BrownFriend
Messages: 2
Registered: July 2009
Junior Member
Greetings:

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.

Bill.
Previous Topic:IAM maven builder not copying resources?
Next Topic:how do you pass properties to the build configuration
Goto Forum:
  


Current Time: Tue Sep 18 20:58:53 GMT 2018

Powered by FUDForum. Page generated in 0.02471 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top