mirror of https://github.com/apache/maven.git
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289629 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
29cd88daaa
commit
f079f1866c
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue