Uploaded image for project: 'Maven Source Plugin'
  1. Maven Source Plugin
  2. MSOURCES-8

maven-source-plugin causes generate-sources phase to execute twice

    XMLWordPrintableJSON

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

          Activity

            People

              Unassigned Unassigned
              goonie Andreas Schildbach
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: