/[Apache-SVN]
ViewVC logotype

Revision 178825


Jump to revision: Previous Next
Author: jdcasey
Date: Fri May 27 21:47:12 2005 UTC (19 years, 5 months ago)
Changed paths: 5
Log Message:
Added inheritance of Plugins according to the rules we decided upon. This consists of:

- inheritanceApplied flag on Plugin and Goal (NOT fields, just a code-only flag)
- flushGoalMap/flushPluginMap to clear caching of these calculated attributes
- ModelUtils.mergePluginLists() and ModelUtils.mergePluginDefinitions() for use in both
    * DefaultModelInheritanceAssembler (Plugin/PluginManagement lists)
    * DefaultModelDefaultsInjector (PluginManagement -> Plugin merges)

- Also added a few unit tests for basic Plugin inheritance stuff. This could be more thoroughly tested...

Changed paths

Path Details
Directorymaven/components/trunk/maven-model/maven.mdo modified , text changed
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/project/ModelUtils.java modified , text changed
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java modified , text changed
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java modified , text changed
Directorymaven/components/trunk/maven-project/src/test/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssemblerTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26