Associate an ID with a goal and call it independently

2007-08-15 Thread Farhan Sarwar
Hi Guys, There is something which I am trying to achieve through maven, for which I need some assistance.. Basically I would want to run some maven goal for which I have provided the configuration (e.g. the parameters it expects and other stuff) in a pom for a project. Now what I would want

Re: Associate an ID with a goal and call it independently

2007-08-15 Thread Steven Rowe
Hi Farhan, I think you can do what you want with a profile: http://maven.apache.org/guides/introduction/introduction-to-profiles.html If you put your plugin's settings in a profile, then you could then use a cmdline something like: mvn -P profile-id plugin:goal Steve Farhan Sarwar wrote: