Author: bentmann Date: Tue Dec 2 14:47:30 2008 New Revision: 722656 URL: http://svn.apache.org/viewvc?rev=722656&view=rev Log: [MNGSITE-71] Mistakes in "Introduction to the Dependency Mechanism"
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=722656&r1=722655&r2=722656&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 Tue Dec 2 14:47:30 2008 @@ -374,13 +374,13 @@ </dependencyManagement> <dependencies> <dependency> - <groupId>maven-test</groupId> + <groupId>test</groupId> <artifactId>a</artifactId> <version>1.0</version> <scope>runtime</scope> </dependency> <dependency> - <groupId>maven-test</groupId> + <groupId>test</groupId> <artifactId>c</artifactId> <scope>runtime</scope> </dependency> @@ -395,7 +395,7 @@ * a and c both are declared as dependencies of the project so version 1.0 is used due to dependency mediation. Both will also have runtime scope since it is directly specified. - * b is defined in B's parent's dependency managemnet section and since dependency management + * b is defined in B's parent's dependency management section and since dependency management takes precedence over dependency mediation for transitive dependencies, version 1.0 will be selected should it be referenced in a or c's pom. b will also have compile scope. @@ -447,13 +447,13 @@ </dependencyManagement> <dependencies> <dependency> - <groupId>maven-test</groupId> + <groupId>test</groupId> <artifactId>a</artifactId> <version>1.0</version> <scope>runtime</scope> </dependency> <dependency> - <groupId>maven-test</groupId> + <groupId>test</groupId> <artifactId>c</artifactId> <scope>runtime</scope> </dependency>