summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dtimoney@att.com>2019-12-11 08:16:13 -0500
committerTimoney, Dan (dt5972) <dtimoney@att.com>2019-12-11 08:16:13 -0500
commit3b423f520594457ab8bf98d576ea1f8987ba3aab (patch)
treeff8c819538654f814dad820c9db7649781aa5aa7 /pom.xml
parent77e00fff42edeab5ce77e01a20d686faaeee535e (diff)
Generate dependency list
Generate list of direct dependencies for repository and publish to Nexus. Change-Id: If8a89cc6d3a46e896159d30682a7196df45dd258 Issue-ID: CCSDK-1986 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml44
1 files changed, 43 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index b376605e7..c3df62b56 100644
--- a/pom.xml
+++ b/pom.xml
@@ -76,7 +76,49 @@
</build>
</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>