Maven Javadoc Plugin
  1. Maven Javadoc Plugin
  2. MJAVADOC-187

Javadoc jar manifest should contain Specification and Implementation details

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.5
    • 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

          This, the configuration will 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 This, the configuration will be: <configuration> <archive> <manifest> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> </manifest> </archive> </configuration>
          Hide
          Vincent Siveton added a comment -

          fixed in r659968, snapshot deployed.
          Have a glance to Maven archiver reference before:
          http://maven.apache.org/shared/maven-archiver/index.html

          Show
          Vincent Siveton added a comment - fixed in r659968, snapshot deployed. Have a glance to Maven archiver reference before: http://maven.apache.org/shared/maven-archiver/index.html

            People

            • Assignee:
              Vincent Siveton
              Reporter:
              SebbASF
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: