summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dtimoney@att.com>2019-12-10 09:56:35 -0500
committerTimoney, Dan (dt5972) <dtimoney@att.com>2019-12-10 16:56:30 -0500
commit6fd84f1422338180459ca6442be96440f116da44 (patch)
tree39732d36c7b85f6f01b228ab1f19456549efb52e /pom.xml
parent16cb0dd6b9ebe62ee6cb03629d3529057c5d00d3 (diff)
Generate dependency list
Generate list of direct dependencies for repository and publish to Nexus. Change-Id: Ibce710d925b127353a7ca502809514c286969350 Issue-ID: CCSDK-1986 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Diffstat (limited to 'pom.xml')
-rwxr-xr-xpom.xml46
1 files changed, 44 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 959dcbd03..2eafc4163 100755
--- a/pom.xml
+++ b/pom.xml
@@ -74,14 +74,56 @@
</executions>
</plugin>
</plugins>
+ </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>
+
<distributionManagement>
<site>
<id>ecomp-site</id>