summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dtimoney@att.com>2019-12-11 12:28:44 -0500
committerTimoney, Dan (dt5972) <dtimoney@att.com>2019-12-11 12:28:44 -0500
commitdc863f4c9af58ffcd902e16467365a17b647a42c (patch)
treebef32cce582f978f98a83e64e2cca8c5f8af7cbd /pom.xml
parent32416f7624757c87260671d74124ea3e0a122331 (diff)
Generate dependency list
Generate list of direct dependencies for repository and publish to Nexus. Change-Id: I068b4adde5c0d7559cbe63fe9a9e9b1b2dd31f03 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 1e2f62f79..65ee5c18a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -192,6 +192,48 @@ limitations under the License.
<format.skipExecute>false</format.skipExecute>
</properties>
</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>