Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0.0-alpha-2
-
None
Description
The MNG-7244 removed completely the pom.* prefix interpolation, but IMHO intent was to do it for "currently built projects". The problem is that same interpolator is used in model builder to build transitive dependency models, and with the change Maven 4 lost it's ability to resolve artifacts like wagon-http 1.0-beta-6 (used by things like surefire 2.22.2 and so on).
The implication is that Maven4 CANNOT resolve wagon-http 1.0-beta-6 (and implicitly surefire plugin 2.22.2 is defunct it seems as it uses it). Given we have NO 3.x release of surefire (just M releases), I bet many of users out there still use 2.22.2. Also, we have no idea how many other (used as transitive dependencies) artifact exists out there doing same/similar thing that wagon POM does.
IMHO: rollback the change from master and we need alt fix for it, as making Maven 4 unable to resolve transitive deps using pom.* placeholder introduces a huge toll.