diff options
author | Timoney, Dan (dt5972) <dtimoney@att.com> | 2019-12-11 12:30:43 -0500 |
---|---|---|
committer | Timoney, Dan (dt5972) <dtimoney@att.com> | 2019-12-11 12:30:43 -0500 |
commit | aeff1a04d07b6b2dea436189036a9bde1719d456 (patch) | |
tree | b4ad040c202c09119d9cbc136e477e77c2018a47 | |
parent | b52972c3ccd573a89ab784474935d3b8a08f2737 (diff) |
Generate dependency list
Generate list of third party dependencies
Change-Id: I99991e4844462951b38f1d390ca071e71efca504
Issue-ID: CCSDK-1986
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
-rwxr-xr-x | .gitignore | 3 | ||||
-rw-r--r-- | pom.xml | 46 |
2 files changed, 49 insertions, 0 deletions
@@ -42,3 +42,6 @@ ExprGrammarLexer.tokens sdnc-core_bdio.jsonld blackDuckHubProjectName.txt blackDuckHubProjectVersionName.txt + +# Generated dependency list +direct-dependencies.txt @@ -38,4 +38,50 @@ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> </properties> + <profiles> + <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> |