Commit Graph

6 Commits

Author SHA1 Message Date
Brett Leslie Porter a44b6f9726 flip pom format
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163511 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 01:35:25 +00:00
Brett Leslie Porter f35b9869af fix some integration tests that were over-testing for their spec, and incorrectly so
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163487 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 05:57:00 +00:00
Jason van Zyl 1432ed959d o updating tests to reflect the addition of the lifecyle
in most cases this amounts to changing

  "jar:jar" -> "package"
  "jar:install" -> "install"
  "compiler:compile" -> "compile"

  and I also disabled the tests for pre/post goals as we aren't going
  to use those anymore (hopefully).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163358 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 07:11:14 +00:00
John Dennis Casey 2e187a4237 o Fixed formats.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163332 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 22:16:33 +00:00
John Dennis Casey da47c49f4f o Revised the defaults section to <dependencyManagement>, all builds and is happy.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163325 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 02:23:12 +00:00
John Dennis Casey e687cfed61 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.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163323 13f79535-47bb-0310-9956-ffa450edef68
2005-02-01 22:43:03 +00:00