Details
-
Bug
-
Status: Reopened
-
Major
-
Resolution: Unresolved
-
2.0.4
-
None
-
None
-
All
Description
I have an inheritance model as such:
Parent_POM (General dependencyManagement, pluginManagement, etc)
-->Base_POM (global dependency inclusion, default goal, default plugins, etc) |
-->Artifact_POM (declares specific artifact type functionality, resources, profiles, etc) |
-->Project_POM (project specific dependencies, resources, etc) |
I am attempting to create an hierarchy that will enable a new project to get up and running with very little modification. The issue I am having is if build.resources are declared in the Project_POM they are wiping the Artifact_POM's declarations.
I think that resources should always be additive. If nothing else add an <inherited> tag a la the plugin element's <inherited> tag. In lieu of that perhaps a resourceManagement section that exposes resource id's that could be selectively added by the child...