[ https://issues.apache.org/jira/browse/MSOURCES-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17959404#comment-17959404 ]
Matthias Bünger commented on MSOURCES-37: ----------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-source-plugin#122|https://github.com/apache/maven-source-plugin/issues/122]. > CLONE -maven-source-plugin causes generate-sources phase to execute twice > ------------------------------------------------------------------------- > > Key: MSOURCES-37 > URL: https://issues.apache.org/jira/browse/MSOURCES-37 > Project: Maven Source Plugin (Moved to GitHub Issues) > Issue Type: Bug > Affects Versions: 2.0.1 > Reporter: Moiz Dohadwala > Priority: Major > > 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. -- This message was sent by Atlassian Jira (v8.20.10#820010)