Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 2.0.4
-
Fix Version/s: None
-
Component/s: Reactor and workspace
-
Labels:None
-
Environment:Linux, J2SE 1.4
-
Complexity:Intermediate
-
Number of attachments :
Description
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' succeeds.
This issue causes also problems for the realease plugin since the sub build fails.
Attachments
Issue Links
| This issue is duplicated by: | ||||
| MNG-3339 | Embedder does not resolve transitive dependencies in multi-module project, unless the modules were installed into local repository previously. |
|
|
|
Similar behavior with version 2.0.6. I am running a multi-module JEE build. It works when maven package is run on the web project alone. But when in a multi-module build the ejb-client dependency in the web project fails for reactor artifacts as well as installed local repository artifacts.