Author: trygvis Date: Fri Sep 16 11:41:35 2005 New Revision: 289629 URL: http://svn.apache.org/viewcvs?rev=289629&view=rev Log: (empty)
Modified: maven/components/trunk/maven-site/src/site/xdoc/dependency-mechanism.xml Modified: maven/components/trunk/maven-site/src/site/xdoc/dependency-mechanism.xml URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/xdoc/dependency-mechanism.xml?rev=289629&r1=289628&r2=289629&view=diff ============================================================================== --- maven/components/trunk/maven-site/src/site/xdoc/dependency-mechanism.xml (original) +++ maven/components/trunk/maven-site/src/site/xdoc/dependency-mechanism.xml Fri Sep 16 11:41:35 2005 @@ -203,33 +203,35 @@ <source><![CDATA[ <project> ... - <dependencies> - <dependency> - <groupId>group-a</groupId> - <artifactId>artifact-a</artifactId> - <version>1.0</version> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>group-a</groupId> + <artifactId>artifact-a</artifactId> + <version>1.0</version> <exclusions> - <exclusion> - <groupId>group-c</groupId> - <artifactId>excluded-artifact</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>group-c</groupId> - <artifactId>artifact-b</artifactId> - <version>1.0</version> - <type>war</type> - <scope>runtime</scope> - </dependency> - <dependency> - <groupId>group-a</groupId> - <artifactId>artifact-b</artifactId> - <version>1.0</version> - <type>bar</type> - <scope>runtime</scope> - </dependency> - </dependencies> + <exclusion> + <groupId>group-c</groupId> + <artifactId>excluded-artifact</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>group-c</groupId> + <artifactId>artifact-b</artifactId> + <version>1.0</version> + <type>war</type> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>group-a</groupId> + <artifactId>artifact-b</artifactId> + <version>1.0</version> + <type>bar</type> + <scope>runtime</scope> + </dependency> + </dependencies> + </dependencyManagement> </project>]]></source> And then the two child poms would become much simpler: </p> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]