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 to achieve is somehow associate a unique id
(which I guess in ant is called a target) associated with these settings I
have defined (like the plugin-name, the goal to execute, and the parameters
required for that goal) and call it directly (giving it just the id)  like
mvn "[uniqueID]" and hence run that plugin/goal associated with that id
instead of running an entire build and process everything defined in that
pom (or otherwise where I could still achieve the objective)? I know maven
does provide a way to call a goal directly but I would want to further
xmlify the settings/parameters for that goal (within a plugin) and run it
independently.



Thanks and Regards,



Farhan.

Reply via email to