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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.4
    • Component/s: core
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: