mirror of https://github.com/apache/maven.git
e687cfed61
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 |
||
---|---|---|
benchmark | ||
maven-1.x-integration | ||
maven-archetype | ||
maven-artifact | ||
maven-core | ||
maven-core-it | ||
maven-core-it-plugin | ||
maven-core-it-support | ||
maven-core-it-verifier | ||
maven-mboot | ||
maven-mboot2 | ||
maven-meeper | ||
maven-model | ||
maven-plugin | ||
maven-plugin-loaders/maven-marmalade-loader | ||
maven-plugin-tools | ||
maven-plugins | ||
maven-repository-tools | ||
.cvsignore | ||
README.txt | ||
ci.sh | ||
m2-bootstrap-all.bat | ||
m2-bootstrap-all.sh | ||
pom.xml | ||
upgrading-dependencies.apt |
README.txt
------------------------------------------------------------------------------- Bootstrapping Maven ------------------------------------------------------------------------------- To bootstrap Maven you must have a ~/.m2/maven.properties file with the following entry: maven.repo.local = /path/to/your/local/repository Set the environment variable M2_HOME pointing to the dir where you want Maven2 installed. You can set the parameters passed to the Java VM when running Maven2 bootstrap, setting the environment variable MAVEN_OPTS, e.g. e.g. to run in offline mode, set MAVEN_OPTS=-Dmaven.online=false e.g. to build maven with debug info, set MAVEN_OPTS=-Dmaven.compiler.debug=true Then run m2-bootstrap-all.bat (in Windows) or m2-bootstrap-all.sh (in Unix) NOTE: You must run these instructions from this directory!