The following comment has been added to this issue:
Author: Stephen McConnell
Created: Fri, 16 Apr 2004 11:51 AM
Body:
Under Maven RC2 the jar plugin manifest entries have been changed in such a way that can result in runtime failure based on the assigned specification version.
The change is the inclusion of the following line in the manifest:
<ant:attribute name="Specification-Version" value="${pom.currentVersion}"/>
Small correction - I should have said that the above line which has been added to the plugin.jelly is the cause of the problem.
Firstly - the "Specification-Version" is not the same as the implementation version (impl version is correctly assigned as ${pom.currentVersion). Secondly the jar optional extensions spec requires that the specification version is a dewey decimal. RC2 generated jars will fail if the current version of the jar contains alphanumeric characters (e.g. 1.2-dev) or any string value that cannot be converted to a dewey decimal.
Please note the this issue is currently marked as TRIVIAL however the changes between RC1 and RC2 result in runtime failure in systems that support the Optional Extensions Specification due to the assignment of invalid values in the manifest. As such, this issue is now a BLOCKER as it is causing test failures in the Fulcrum and Avalon projects.
Stephen.
--------------------------------------------------------------------- View this comment: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJAR-7&page=comments#action_18692
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJAR-7
--
|------------------------------------------------| | Magic by Merlin | | Production by Avalon | | | | http://avalon.apache.org/merlin | | http://dpml.net/merlin/distributions/latest | |------------------------------------------------|
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
