[CONTROLLER-1087] Refactor pom.xml files in controller repo Created: 08/Jan/15 Updated: 25/Jul/23 Resolved: 05/May/15 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | adsal |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Thanh Ha (zxiiro) | Assignee: | Thanh Ha (zxiiro) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||||||
| Description |
|
We should look into refactoring the pom.xml files in the controller repo to take advantage of Maven pom inheritance. For example the <scm> section is duplicated in multiple pom.xml files: <scm> A quick count shows that the <scm> section exists in 162 pom.xml files. If the scm URL ever changes this means we'd have to update that in 162 locations which isn't very clean and maintainable. % find . -name pom.xml | xargs grep '<scm>' | wc -l I'd like to use this bug as a master bug and tackle this issue with many small and easy to review patches to simplify the pom.xml layout for the repo. |
| Comments |
| Comment by Thanh Ha (zxiiro) [ 19/Mar/15 ] |
|
Resolving since the 2 dependent bugs have been closed and we have been making progress in other fronts to reduce duplicate pom.xml configurations in projects. |
| Comment by Carol Sanders [ 05/May/15 ] |
|
This bug is part of the project to Move all ADSAL associated component bugs to ADSAL. |