[BUILD-188] Enforce groupID and certain properties to be set when using parent poms Created: 12/Nov/14 Updated: 30/Oct/17 |
|
| Status: | Open |
| Project: | Build |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Neutral |
| Reporter: | Magnolia International | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Description |
|
We currently use the enforce plugin with a few of the built-in rules. Mojo@codehaus has additional rules which could be useful: http://mojo.codehaus.org/extra-enforcer-rules/index.html Among other, it seems that requirePropertyDiverges could help enforcing projects specify their own groupID (so they won't accidentally use that of the parent poms!) and might help make sure our projects consistently re-define properties like scmTagPrefix or documentationURL. This could also be interesting: MENFORCER-174 : Add a Rule for distributionManagement |