[ http://jira.codehaus.org/browse/MEJB-18?page=all ]
     
Joerg Schaible closed MEJB-18:
------------------------------

     Resolution: Duplicate
    Fix Version: 2.0

> Manifest classpath contains wrong entries in multi-module build
> ---------------------------------------------------------------
>
>          Key: MEJB-18
>          URL: http://jira.codehaus.org/browse/MEJB-18
>      Project: Maven 2.x Ejb Plugin
>         Type: Bug

>     Versions: 2.0
>     Reporter: Joerg Schaible
>     Priority: Blocker
>      Fix For: 2.0
>  Attachments: MEJB-18.zip
>
>
> We had to detect, that in multi-module builds the entries in the Manifest for 
> the classpath for those artifacts can be wrong that are also part of the 
> build. The incident occurs, if an artifact is build in a SNAPSHOT version, 
> but the EJB refers this artifact in a released version. The manifest contains 
> nevertheless an entry for the SNAPSHOT.
> Additional observations:
> * the target/effective-pom.xml contains the dependency with the right version
> * the manifest contains the correct entry classpath when the artifact is 
> build locally
> This is a real blocker, since building the EAR. Maven will copy the *correct* 
> released version of the artifact, but the EJB is broken, because of the wrong 
> (and missing) dependency.
> It seems the component creating the manifest uses a wrong dependency 
> resolution for multi module builds ... might be the maven-archiver ?

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