You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Josselin Pujo (JIRA)" <ji...@codehaus.org> on 2007/08/01 10:35:13 UTC

[jira] Created: (MPJAR-56) Per package package name invalid in manifest

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