The following comment has been added to this issue:
Author: John Casey
Created: Wed, 19 Nov 2003 10:59 PM
Body:
Maybe I'm missing something, but I don't see anywhere in the maven core (including
core-bundled plugins) where pom.specificationVersion is set. To prove this to myself,
I created a jar of one of my commonjava projects, then checked the MANIFEST.MF. This
is what I got:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.5.3
Created-By: Apache Jakarta Maven
Built-By: jdcasey
Package: org.commonjava.io
Build-Jdk: 1.4.2_01
Extension-Name: commonjava-io
Specification-Version:
^^^^^^^^^^^^^^
Specification-Vendor: CommonJava Open Component Project
Specification-Title:
Implementation-Version: 2.0
Implementation-Vendor: CommonJava Open Component Project
Implementation-Vendor-Id:
As you can see, nothing! Maybe we should be setting Specification-Version to
${pom.currentVersion} everywhere...
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-936
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-936
Summary: Specification-Version and Implementation-Vendor-Id not being set
Type: Improvement
Status: Unassigned
Priority: Trivial
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
plugin-jar
Fix Fors:
1.0-rc2
Versions:
1.0-rc1
Assignee:
Reporter: Lynn Richards
Created: Wed, 15 Oct 2003 2:29 PM
Updated: Wed, 19 Nov 2003 10:59 PM
Environment: XP
Description:
Please make the jar manifests consistent.
1. Specification-Version not being set. pom.specifiationVersion not defined in
project schema.
- maven.jar.plugin uses:
<ant:attribute
name="Specification-Version"
value="${pom.specificationVersion}"/>
- maven.ejb.plugin uses:
<ant:attribute
name="Specification-Version"
value="${pom.currentVersion}"/>
2. Implementation-Vendor-Id not being set. pom.organization.identifier not defined in
project schema.
- maven.jar.plugin uses:
<ant:attribute
name="Implementation-Vendor-Id"
value="${pom.organization.identifier}"/>
- maven.ejb.plugin uses (title rather than vendor-id):
<ant:attribute
name="Implementation-Title"
value="${pom.package}"/>
Thanks,
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]