Maven 2.x JAR Plugin

no Implementation-Vendor-Id in META-INF/MANIFEST.MF

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.1
  • Component/s: None
  • Labels:
    None
  • Environment:
    Linux 2.6.12-9-386 Kubuntu java version "1.4.2-02"
  • Number of attachments :
    0

Description

mvn package does not generate an entry "Implementation-Vendor-Id". This is a blocker when we use the extension mechanisme with tomcat.

Issue Links

Activity

Hide
Mike Perham added a comment -

Here's an example I found from the Sun spec. What data from the POM should be used though? I can't think any elements which fit this requirement. Maybe groupId?

Implementation-Vendor-Id: com.sun
Implementation-Vendor: Sun Microsystems, Inc
Implementation-Version: 1.0

Show
Mike Perham added a comment - Here's an example I found from the Sun spec. What data from the POM should be used though? I can't think any elements which fit this requirement. Maybe groupId? Implementation-Vendor-Id: com.sun Implementation-Vendor: Sun Microsystems, Inc Implementation-Version: 1.0
Hide
Lukas Theussl added a comment -

See MPJAR-51 and MPJAR-7 for related discussions in the m1 plugin.

Show
Lukas Theussl added a comment - See MPJAR-51 and MPJAR-7 for related discussions in the m1 plugin.
Hide
Stephane Nicoll added a comment -

What about a configuration property of the JavaMojo with the groupId as default?

Show
Stephane Nicoll added a comment - What about a configuration property of the JavaMojo with the groupId as default?
Hide
Pascal Grange added a comment -

That would be great!

Show
Pascal Grange added a comment - That would be great!
Hide
Mike Perham added a comment -

Added new Implementation-Vendor-Id manifest entry to maven-archiver with default value being the project's groupId. You must enable the new <addDefaultImplementationEntries> element in the manifest configuration or else Maven doesn't add anything. Alternatively you can just supply your own value in the manifest configuration entries within the JAR configuration.

Show
Mike Perham added a comment - Added new Implementation-Vendor-Id manifest entry to maven-archiver with default value being the project's groupId. You must enable the new <addDefaultImplementationEntries> element in the manifest configuration or else Maven doesn't add anything. Alternatively you can just supply your own value in the manifest configuration entries within the JAR configuration.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: