[ 
http://jira.codehaus.org/browse/MEAR-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Jeffery updated MEAR-66:
-----------------------------

    Attachment: build.zip

Extract and run a clean install in the top directory....

Have a look at the resultant EAR. The ejb client jar is named without and 
extension and is correctly refererenced in the ejb jar's manifest.

Then change to MTestEAR directory and run a clean install

Have a look at the resultant EAR. The ejb client jar is named with an extension 
but is still referenced without an extension in the ejb jars manifest.

The j2ee dependency is also attached

Thanks

> finalName taken into account for full build but not for ear build
> -----------------------------------------------------------------
>
>                 Key: MEAR-66
>                 URL: http://jira.codehaus.org/browse/MEAR-66
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>         Environment: Windows XP; JDK1.5
>            Reporter: Mark Jeffery
>            Assignee: Stephane Nicoll
>         Attachments: build.zip
>
>
> If I force a build of all projects via a parent pom (which build 2 EARS), 
> then the finalName attribute of the jar plugin is taken into account for the 
> dependencies when they are built.
> If I quickly build one EAR only, via its pom, it retrieves the dependencies 
> from the repository, the finalName in the dependency pom is not taken into 
> account and the version number is added to the jar name.
> This breaks the manifest entries for the jars that were built with the forced 
> build as they still reference the specified name but the jars included in the 
> EAR have the version on the name.

-- 
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

        

Reply via email to