I have created a plugin with a goal: "myplugin:mygoal" with phase is
"generate-sources" and requiresDependencyResolution is set to "compile".
If I run "mvn myplugin:mygoal" everything is fine.
if I run "mvn install" everything is fine ("myplugin:mygoal" is run at
"generate-sources" phase).
But If I run "mvn eclipse:eclipse" then I get errors when running
"myplugin:mygoal" during "generate-sources" phase because dependencies
are not resolved.
I get the feeling that if a plugin does't have a
requiresDependencyResolution set (as it is the case for the eclipse
plugin) then "requiresDependencyResolution" in other plugins will be
ignored.
I also tried to run "mvn myplugin:mygoal eclipse:eclipse" and it worked,
but the "myplugin:mygoal" is run twice...
What do you think ?
Thanks
Yann.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]