maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Casey (JIRA)" <>
Subject [jira] Updated: (MNG-2502) mvn package does not work on J2EE multi module build
Date Wed, 29 Apr 2009 22:15:46 GMT


John Casey updated MNG-2502:


This is a mockup project that should display the problems described in this issue. If you
look in the root directory at the build.log file, you'll notice that when using Maven 2.1.0,
the ejb-client jar is used from the reactor project, and not from the local repository (it
doesn't even exist in my local repository at the time when this log file was taken).

If this test is in error, please reopen the issue.

> mvn package does not work on J2EE multi module build
> ----------------------------------------------------
>                 Key: MNG-2502
>                 URL:
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Reactor and workspace
>    Affects Versions: 2.0.4
>         Environment: Linux, J2SE 1.4
>            Reporter: Heinrich Nirschl
>             Fix For: 2.2.x
>         Attachments:,
> In a multi module build consisting of an ejb.jar (with an ejb-client.jar), a war, and
an ear where the war depends on the ejb-client.jar and the ear depends on the ejb.jar and
the war, a reactor build with
> mvn package
> fails. The war build tries to download the ejb-client.jar from the repository instead
of using the just built version.
> If I first run 'mvn install' in the ejb module the following multi module 'mvn package'
> This issue causes also problems for the realease plugin since the sub build fails.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message