I have tried running a Maven plugin from a directory which has my
standard java maven structure and pom.xml.  From this directory, I run
the following command:

 

mvn test-group:test-plugin:TEST:work

Here, I got wrong results.

 

However, when I bound this plugin to a phase in the pom.xml (e.g.
deploy) and ran the following:

mvn deploy

 

Then the plugin executed correctly.  Why doesnt the plugin work from the
command line when invoked directly but only works in the POM.xml when
bound to a phase?  Please let me know what Im doing wrong.  Thanks. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]

Reply via email to