Details
-
Improvement
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
-
any
Description
When compiling or packaging a project consisting of subprojects
where one depends on another, maven should first check the build environment
for existing jars or classes (in target/ directories) from the dependent subproject,
rather than always looking in the local and remote repositories for jar artifacts.
Attached is a very simple test-case with 2 subprojects, where one depends
on the other.
Only m2 install works; m2 compile and m2 package should also work.
Attachments
Attachments
Issue Links
- relates to
-
MNG-2921 ejb-client dependency no longer resolved in reactor build
- Closed
-
MNG-1088 Plugins built and used within the same multiproject build fail unless lifecycle phase is compile or later
- Closed
-
MNG-3043 Allow 'mvn test' to work with test-jar dependencies in a reactor
- Closed
-
MNG-870 Make plugin discovery reactor aware
- Closed