[ http://jira.codehaus.org/browse/MNG-472?page=comments#action_51424 ]
Jesse McConnell commented on MNG-472: ------------------------------------- brett - I haven't put it together enough to think of it as a bug or not... or to warrent its own ticket really. in essense, if a mojo has a @phase specificed in the class lvl javadoc, and that mojo is used in multiple executions and you specify the <phase> in the execution, multiple executions will not occur, even if the <phase> is set to the same as the @phase in the mojo itself...remove the <phase> from the execution and it multiple of them will execution. I'll play with this a bit and see about opening an issue or just leaving this little trace here...worst case if ought to be mentioned somewhere as a potential gotcha > multiple <execution/>'s with no goals not considered when running a goal > directly from the CLI > ---------------------------------------------------------------------------------------------- > > Key: MNG-472 > URL: http://jira.codehaus.org/browse/MNG-472 > Project: Maven 2 > Type: Bug > Components: maven-core > Reporter: John Casey > Priority: Critical > > > assume you specify a plugin in the pom with multiple <execution/> sections, > each containing configurations. > It should be possible to directly invoke a goal within this plugin, and have > that goal run once per execution, despite the fact that the goal is not > explicitly specified in the <execution/>. > This is not the case now. > Workaround: specify the goal for each execution in which you want it to run. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
