This commit is contained in:
Trygve Laugstol 2005-09-16 18:41:35 +00:00
parent 29cd88daaa
commit f079f1866c
1 changed files with 28 additions and 26 deletions

View File

@ -203,33 +203,35 @@
<source><![CDATA[ <source><![CDATA[
<project> <project>
... ...
<dependencies> <dependencyManagement>
<dependency> <dependencies>
<groupId>group-a</groupId> <dependency>
<artifactId>artifact-a</artifactId> <groupId>group-a</groupId>
<version>1.0</version> <artifactId>artifact-a</artifactId>
<version>1.0</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<groupId>group-c</groupId> <groupId>group-c</groupId>
<artifactId>excluded-artifact</artifactId> <artifactId>excluded-artifact</artifactId>
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>group-c</groupId> <groupId>group-c</groupId>
<artifactId>artifact-b</artifactId> <artifactId>artifact-b</artifactId>
<version>1.0</version> <version>1.0</version>
<type>war</type> <type>war</type>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>group-a</groupId> <groupId>group-a</groupId>
<artifactId>artifact-b</artifactId> <artifactId>artifact-b</artifactId>
<version>1.0</version> <version>1.0</version>
<type>bar</type> <type>bar</type>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
</dependencies> </dependencies>
</dependencyManagement>
</project>]]></source> </project>]]></source>
And then the two child poms would become much simpler: And then the two child poms would become much simpler:
</p> </p>