You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2008/03/24 22:03:15 UTC
svn commit: r640576 -
/maven/site/trunk/src/site/apt/guides/introduction/introduction-to-dependency-mechanism.apt
Author: bentmann
Date: Mon Mar 24 14:03:14 2008
New Revision: 640576
URL: http://svn.apache.org/viewvc?rev=640576&view=rev
Log:
o Added anchors to make TOC navigatable
Modified:
maven/site/trunk/src/site/apt/guides/introduction/introduction-to-dependency-mechanism.apt
Modified: maven/site/trunk/src/site/apt/guides/introduction/introduction-to-dependency-mechanism.apt
URL: http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/guides/introduction/introduction-to-dependency-mechanism.apt?rev=640576&r1=640575&r2=640576&view=diff
==============================================================================
--- maven/site/trunk/src/site/apt/guides/introduction/introduction-to-dependency-mechanism.apt (original)
+++ maven/site/trunk/src/site/apt/guides/introduction/introduction-to-dependency-mechanism.apt Mon Mar 24 14:03:14 2008
@@ -16,17 +16,21 @@
Learn more about:
- * Transitive Dependencies
+ * {{{Transitive_Dependencies}Transitive Dependencies}}
- * Dependency Scope
+ * Excluded/Optional Dependencies
- * Dependency Management
-
- * Excluded/Optional Dependencies
+ * {{{Dependency_Scope}Dependency Scope}}
+
+ * {{{Dependency_Management}Dependency Management}}
+
+ * {{{Importing_Dependencies}Importing Dependencies}}
+
+ * {{{System_Dependencies}System Dependencies}}
[]
-* Transitive Dependencies
+* {Transitive Dependencies}
Transitive dependencies are a new feature in Maven 2.0. This allows you to avoid needing to discover and
specify the libraries that your own dependencies require, and including them automatically.
@@ -78,7 +82,7 @@
[]
-* Dependency Scope
+* {Dependency Scope}
Dependency scope is used to limit the transitivity of a depedency, and also to affect the classpath used for
various build tasks.
@@ -136,7 +140,7 @@
library, forcing you to have available at compile time. For this reason, compile time dependencies remain
as compile scope even when they are transitive.
-* Dependency Management
+* {Dependency Management}
The dependency management section is a mechanism for centralizing dependency information. When you have
a set of projects that inherits a common parent it's possible to put all information about the dependency
@@ -403,7 +407,7 @@
The reference information about the dependency management tags is available from the
{{{../../ref/current/maven-model/maven.html#class_DependencyManagement}project descriptor reference}}.
-** Importing Dependencies
+** {Importing Dependencies}
<The features defined in this section are only available in maven 2.0.9 or later.>
@@ -740,7 +744,7 @@
artifact may not have a version specified. (This should be considered a best practice in any case as it
keeps the versions of artifacts from changing from one build to the next).
-* System Dependencies
+* {System Dependencies}
Dependencies with the scope <system> are always available and are not looked
up in repository. They are usually used to tell Maven about dependencies which