Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5940

Change the maven-source-plugin jar goal into jar-no-fork in Maven Super POM

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.5.4
    • Core
    • None

    Description

      At the moment the maven-source-plugin:jar goal is defined in the Maven super pom:

        <plugin>
                  <inherited>true</inherited>
                  <artifactId>maven-source-plugin</artifactId>
                  <executions>
                    <execution>
                      <id>attach-sources</id>
                      <goals>
                        <goal>jar</goal>
                      </goals>
                    </execution>
                  </executions>
                </plugin>
      

      where the goal of maven-source-plugin should be changed from jar into jar-no-fork, cause most of the time you need to override this behaviour.

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              khmarbaise Karl Heinz Marbaise
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: