Uploaded image for project: 'Apache Commons All'
  1. Apache Commons All
  2. COMMONSSITE-40

Update maven-source-plugin to 2.1 and add default entries to manifest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Commons Parent Pom
    • None

    Description

      The maven-source-plugin now supports default manifest entries, provided one uses at least version 2.1

      AFAICS, two changes are needed:

      Update version to 2.1 in <pluginManagement>

      Add plugin configuration section:

      <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-source-plugin</artifactId>
              <configuration>
                <archive>
                  <manifest>
                    <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                    <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                  </manifest>
                </archive>
              </configuration>
      </plugin>
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sebb Sebb
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: