Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Duplicate
-
Affects Version/s: 2.0.4
-
Fix Version/s: 2.0.5
-
Component/s: Reactor and workspace
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
The classpath used to compile and test a module is wrong, if the module uses a released version of another module in the reactor build. If the module is build locally, the correct depednencies are on the classpath. This currently breaks our complete development and results makes e.g. EJBs useless (MEJB-18).
Attachment contains thw same minimal project in two steps. To demonstrate the poroblem run in step-1 "mvn install" and then do the same in step-2. You will see the unit test of the issue-client in step-2 failing. Go to the issue-client and run "mvn clean install" and the build has no problems. The problem in step 2 is the undesired usage of the SNAPSHOT version of "issue-core" in the classpath, although it is nowhere referenced. The client never stopped to demand the released version created in step-1.