gnodet opened a new pull request, #14027:
URL: https://github.com/apache/maven/pull/14027

   Backport of #11072 to `maven-4.0.x`.
   
   Simplify prefix resolution and drop use of `BuildPluginManager` (as 
descriptor will be re-resolved again later) and focus only on prefix to GA 
resolution, using a map of rules:
   - collect POM enlisted plugin `groupId:artifactId` pairs that come from 
non-settings-enlisted groupIDs (and allow only enlisted artifactIDs)
   - add settings enlisted plugin groupIds (keep their order) but "allow any" 
artifactId
   
   Using this map, figure out plugin GA from prefix using Maven metadata only.
   
   **Conflict resolution:** `maven-4.0.x` had already evolved its own 
candidates-map approach (using `Stream.collect`/`groupingBy`) and kept an 
additional `resolveFromProject`/`doResolveFromProject` phase. This backport 
adopts master's simpler `computeIfAbsent` forEach candidates building and 
removes the project-resolution phase entirely, aligning `maven-4.0.x` with the 
simplified metadata-only resolution path.
   
   Cherry-picked from 2b7bb9c6fdb7b4bedc9b1c0581c70dc5b5a19671.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to