[ 
https://issues.apache.org/jira/browse/MNG-7604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]
Tamas Cservenak updated MNG-7604:
---------------------------------
    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.

  was: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 MNG-7244 makes some older plugins defunct
> ---------------------------------------------
>
>                 Key: MNG-7604
>                 URL: https://issues.apache.org/jira/browse/MNG-7604
>             Project: Maven
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 4.0.0-alpha-2
>            Reporter: Tamas Cservenak
>            Priority: Major
>             Fix For: 4.0.0-alpha-3
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to