Maven 2.x Source Plugin

Source jar manifest should contain Specification and Implementation details

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: None
  • Fix Version/s: 2.1
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

The javadoc jar manifest should contain Specification and Implementation details, e.g.:

Implementation-Title: Commons SCXML
Implementation-Vendor: The Apache Software Foundation
Implementation-Vendor-Id: org.apache
Implementation-Version: 0.8
Specification-Title: Commons SCXML
Specification-Vendor: The Apache Software Foundation
Specification-Version: 0.8

Issue Links

Activity

Hide
Vincent Siveton added a comment -

We need to use MavenArchiveConfiguration similar to http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/AbstractJarMojo.java

With this, the configuration could be:

          <configuration>
            <archive>
              <manifest>
                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
              </manifest>
            </archive>
          </configuration>
Show
Vincent Siveton added a comment - We need to use MavenArchiveConfiguration similar to http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/AbstractJarMojo.java With this, the configuration could be:
          <configuration>
            <archive>
              <manifest>
                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
              </manifest>
            </archive>
          </configuration>
Hide
Paul Gier added a comment -

This is fixed by MSOURCES-42

Show
Paul Gier added a comment - This is fixed by MSOURCES-42

People

  • Assignee:
    Unassigned
    Reporter:
    SebbASF
Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: