summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dtimoney@att.com>2019-12-10 10:30:14 -0500
committerTimoney, Dan (dt5972) <dtimoney@att.com>2019-12-10 16:53:55 -0500
commit9ed4144aa7a72da788306a420b8a9a26fd0d4401 (patch)
tree05028e4cca9a535ef7b9ba6434d778f15779676e /pom.xml
parent98e280c2cd8a777ed953606022aa7afd94b38d18 (diff)
Generate dependency list
Generate list of direct dependencies for repository and publish to Nexus. Change-Id: Iedca8bf65f4f7ea494816197b4e4b94dfbcf9b48 Issue-ID: CCSDK-1986 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Diffstat (limited to 'pom.xml')
-rwxr-xr-xpom.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index c8fe41506..fa8254e8e 100755
--- a/pom.xml
+++ b/pom.xml
@@ -80,6 +80,50 @@
</profile>
+ <profile>
+ <id>dependency-list</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.github.ferstl</groupId>
+ <artifactId>depgraph-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <inherited>false</inherited>
+ <goals>
+ <goal>aggregate</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-artifacts</id>
+ <phase>package</phase>
+ <inherited>false</inherited>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <configuration>
+ <artifacts>
+ <artifact>
+ <file>${dependency-list.file}</file>
+ <type>txt</type>
+ <classifier>dependencies</classifier>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
</profiles>
<build>