[
http://jira.codehaus.org/browse/MSOURCES-13?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_111698
]
Dennis Lundberg commented on MSOURCES-13:
-----------------------------------------
Are you saying that the "generate-sources" phase will be run twice?
Because SourceJarMojo has
@phase package (which also includes generate-sources)
and
@execute phase="generate-sources"
> No-Forking mojos for use within a POM instead of CLI
> ----------------------------------------------------
>
> Key: MSOURCES-13
> URL: http://jira.codehaus.org/browse/MSOURCES-13
> Project: Maven 2.x Source Plugin
> Issue Type: Improvement
> Environment: ALL
> Reporter: Ben Tatham
> Attachments: nofork.patch, nofork.patch
>
>
> The exiting jar at test-jar mojos will always cause a lifecycle fork and
> generate-sources. This can cause all kinds of undesired side effects when
> using the source plugin with a pom, instead of CLI. I propose a simple fix
> (patch attached) to extend these two mojos in no-forking mode. I can't think
> of a better name for them.
> This behaviour is similar to the difference between assembly:assembly and
> assembly:attached.
--
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