/[Apache-SVN]
ViewVC logotype

Revision 163323


Jump to revision: Previous Next
Author: jdcasey
Date: Tue Feb 1 22:43:03 2005 UTC (19 years, 9 months ago)
Changed paths: 23
Log Message:
o Added dependencyDefaults section to POM.

  The nested <dependencyDefault> element closely mirrors the <dependency> element specification.
  It provides the ability to set url, artifact, properties, version for a dependency that matches on
  {groupId, artifactId, type}. Url, artifact, and version will only override the dependency's values if
  the dependency doesn't provide the value, and (in the case of url and artifact) the dependency
  doesn't provide a version (url and artifact are assumed to be version-specific).

  Properties will only be overwritten, and only in the case where the dependency
  doesn't specify them.

  Dependencies are validated after merging with defaults, since version is not required
  on either <dependency> or <dependencyDefault> but is required between the two.

o Added component interface/default impl for injecting project defaults.
o Added unit and integration tests.


Changed paths

Path Details
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java modified , text changed , props changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDefaultsInjector.java added
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/project/MavenProject.java modified , text changed , props changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/project/ProjectDefaultsInjector.java added
Directorymaven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml modified , text changed , props changed
Directorymaven/components/trunk/maven-core/src/test/java/org/apache/maven/project/DefaultProjectDefaultsInjectorTest.java added
Directorymaven/components/trunk/maven-core-it/README.txt modified , text changed , props changed
Directorymaven/components/trunk/maven-core-it/integration-tests.txt modified , text changed , props changed
Directorymaven/components/trunk/maven-core-it/it0011/ added
Directorymaven/components/trunk/maven-core-it/it0011/.cvsignore added
Directorymaven/components/trunk/maven-core-it/it0011/expected-results.txt added
Directorymaven/components/trunk/maven-core-it/it0011/goals.txt added
Directorymaven/components/trunk/maven-core-it/it0011/pom.xml added
Directorymaven/components/trunk/maven-core-it/it0011/prebuild-hook.txt added
Directorymaven/components/trunk/maven-core-it/it0011/src/ added
Directorymaven/components/trunk/maven-core-it/it0011/src/main/ added
Directorymaven/components/trunk/maven-core-it/it0011/src/main/java/ added
Directorymaven/components/trunk/maven-core-it/it0011/src/main/java/org/ added
Directorymaven/components/trunk/maven-core-it/it0011/src/main/java/org/apache/ added
Directorymaven/components/trunk/maven-core-it/it0011/src/main/java/org/apache/maven/ added
Directorymaven/components/trunk/maven-core-it/it0011/src/main/java/org/apache/maven/it0011/ added
Directorymaven/components/trunk/maven-core-it/it0011/src/main/java/org/apache/maven/it0011/PersonFinder.java added
Directorymaven/components/trunk/maven-model/maven.mdo modified , text changed , props changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26