Ben Tatham opened MSOURCES-13 and commented
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.
Affects: 2.0.3
Attachments:
Issue Links:
-
MSOURCES-31 forking lifecycle of source:jar goal results in release-plugin error
("is duplicated by")
-
MSOURCES-37 CLONE -maven-source-plugin causes generate-sources phase to execute twice
("is duplicated by")
-
MSOURCES-8 maven-source-plugin causes generate-sources phase to execute twice
-
MSOURCES-57 jar-no-fork should be changed to something more meaningful
5 votes, 5 watchers
Ben Tatham opened MSOURCES-13 and commented
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.
Affects: 2.0.3
Attachments:
Issue Links:
MSOURCES-31 forking lifecycle of source:jar goal results in release-plugin error
("is duplicated by")
MSOURCES-37 CLONE -maven-source-plugin causes generate-sources phase to execute twice
("is duplicated by")
MSOURCES-8 maven-source-plugin causes generate-sources phase to execute twice
MSOURCES-57 jar-no-fork should be changed to something more meaningful
5 votes, 5 watchers