diff options
author | Timoney, Dan (dt5972) <dtimoney@att.com> | 2019-12-11 12:28:44 -0500 |
---|---|---|
committer | Timoney, Dan (dt5972) <dtimoney@att.com> | 2019-12-11 12:28:44 -0500 |
commit | dc863f4c9af58ffcd902e16467365a17b647a42c (patch) | |
tree | bef32cce582f978f98a83e64e2cca8c5f8af7cbd /pom.xml | |
parent | 32416f7624757c87260671d74124ea3e0a122331 (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.xml | 44 |
1 files changed, 43 insertions, 1 deletions
@@ -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> |