maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josselin Pujo (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MPJAR-56) Per package package name invalid in manifest
Date Wed, 01 Aug 2007 08:35:13 GMT
Per package package name invalid in manifest
--------------------------------------------

                 Key: MPJAR-56
                 URL: http://jira.codehaus.org/browse/MPJAR-56
             Project: Maven 1.x Jar Plugin
          Issue Type: Bug
    Affects Versions: 1.8.1
         Environment: Windows XP, Maven 1.1 release, JDK 1.4, 1.5 and 1.6
            Reporter: Josselin Pujo
            Priority: Minor


Package versionning has been moved from the Jar level to the package level in Maven 1.1, wich
is better for jar merging tools.

But the package name generated by maven is generated by the following rule:
<util:replace var="packagePath" oldChar="." newChar="/" value="${pom.package}"/>
wich does not add the final / to the package name.

Replacing 

        <util:replace var="packagePath" oldChar="." newChar="/" value="${pom.package}"/>
        <ant:section name="${packagePath}">

With 

        <util:replace var="packagePath" oldChar="." newChar="/" value="${pom.package}"/>
        <ant:section name="${packagePath}/">

Solves the problem.

Best regards,

Josselin Pujo


-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message