Support transitive excludes in dependency-tools

Update spring-boot-dependency-tools to support transitive excludes.
Transitive excludes are useful with Gradle which considers each
dependency independently (see GRADLE-3061).

Transitive excludes are supported by parsing the dependency-tree file
from spring-boot-versions.

See gh-1047
This commit is contained in:
Phillip Webb
2014-06-08 12:04:00 -07:00
parent 28090e8a5f
commit addc1f77bd
12 changed files with 1604 additions and 4 deletions

View File

@@ -31,7 +31,7 @@
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-effective-pom</id>
<id>copy-resources</id>
<phase>generate-resources</phase>
<goals>
<goal>copy</goal>
@@ -47,6 +47,15 @@
<outputDirectory>${generated.pom.dir}</outputDirectory>
<destFileName>effective-pom.xml</destFileName>
</artifactItem>
<artifactItem>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-versions</artifactId>
<version>${project.version}</version>
<type>dependency-tree</type>
<overWrite>true</overWrite>
<outputDirectory>${generated.pom.dir}</outputDirectory>
<destFileName>dependency-tree.txt</destFileName>
</artifactItem>
</artifactItems>
</configuration>
</execution>