summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dtimoney@att.com>2019-12-11 09:52:18 -0500
committerTimoney, Dan (dt5972) <dtimoney@att.com>2019-12-11 09:52:18 -0500
commit3e8b55b9d3841c175776d84d54edf2a284f1f4b5 (patch)
treef03295c883ea40c43a729273db44d8e94c7d377b /pom.xml
parent6930182013e32e9c39340968de64920933d6ac33 (diff)
Generate dependency list
Generate list of direct dependencies for repository and publish to Nexus. Change-Id: I05820144bab2820cb00d8796f361d16172069eaa Issue-ID: CCSDK-1986 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Diffstat (limited to 'pom.xml')
-rwxr-xr-xpom.xml47
1 files changed, 43 insertions, 4 deletions
diff --git a/pom.xml b/pom.xml
index abdba44b2..08d7ea2d6 100755
--- a/pom.xml
+++ b/pom.xml
@@ -95,11 +95,50 @@
</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>
</project>