Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-1
-
Fix Version/s: 2.0.7
-
Component/s: Plugins and Lifecycle
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
settings.xml has a <pluginGroups> section to list additional groupIds to search for top level m2 plugin goals.
By default, "org.apache.maven.plugins" is not required to be present in this list, and always wins if there is a collision.
<pluginGroups> that explicitly list "org.apache.maven.plugins" should be able to control this default behavior, so that a different plugin groupId can always win in the case of a collision.
For example, in settings.xml:
<pluginGroups>
<pluginGroup>org.example.maven.plugins</pluginGroup>
<pluginGroup>org.apache.maven.plugins</pluginGroup>
</pluginGroups>
This would allow "org.example.maven.plugins" to always win in the case of a collision, whereas:
<pluginGroups>
<pluginGroup>org.example.maven.plugins</pluginGroup>
</pluginGroups>
would still allow "org.apache.maven.plugins" to always win, as it does today.
Issue Links
- is duplicated by
-
MNG-2926
group search order for plugins is inverted
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Component/s | maven-core [ 11340 ] |
| Fix Version/s | 2.0-beta-3 [ 11991 ] |
| Fix Version/s | 2.0-beta-4 [ 11991 ] | |
| Fix Version/s | 2.1 [ 11704 ] |
| Workflow | Maven [ 39778 ] | Maven New [ 47883 ] |
| Fix Version/s | 2.1.x [ 13142 ] | |
| Fix Version/s | 2.1 [ 11704 ] |
| Fix Version/s | 2.0.7 [ 13138 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] | |
| Assignee | Brian Fox [ brianfox ] | |
| Fix Version/s | 2.1.x [ 13142 ] |