Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.0.1
-
None
-
None
Description
Due to the lack of documentation, I configured the plugin as follows, in order to install sources when doing "mvn install":
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
Unfortunately, "mvn install" causes the generate-sources phase to execute twice, which can manifest for example in an antrun-task executing twice.
Attachments
Issue Links
- is related to
-
MSOURCES-13 No-Forking mojos for use within a POM instead of CLI
- Closed