Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
maven-runtime-1.0-alpha-1
-
None
Description
We currently depend on maven-project:2.0.8, but with Maven3 about to be released we should upgrade our dependencies to 3.0. In Maven3, maven-project has been moved into maven-core:3.0.
Maven3 also brings in changes to ProjectSorter via MNG-3814. This means that versions are considered when ordering dependencies. This affects maven-runtime as only the mediated version of a dependency is available at runtime and thus vertices of the runtime dependency graph can be neglected, leading to incorrect ordering from MavenRuntime.getSortedProjects.
To resolve this we need to inject the runtime version of all discovered artifacts into the parsed MavenProjects prior to sorting. This will emulate the situation that we have at runtime.
Attachments
Issue Links
- depends upon
-
MSHARED-227 Upgrade dependencies to Maven3
- Closed
- is related to
-
MNG-3814 Reactor builds fail due to erroneous cycle in project sorting which does not consider versions
- Closed