diff options
author | Timoney, Dan (dt5972) <dtimoney@att.com> | 2019-12-10 09:18:51 -0500 |
---|---|---|
committer | Timoney, Dan (dt5972) <dtimoney@att.com> | 2019-12-10 16:45:15 -0500 |
commit | 94fcbc29eca4b30da5dc259e5b14d26cda8d8373 (patch) | |
tree | 798d599dd0e05e694d7e611c2a4abb4d9b20bb32 /pom.xml | |
parent | 008b52bffbe2bcb4cffd441ea6ac6693a353cf68 (diff) |
Generate dependency list
Generate list of direct dependencies for repository and publish to Nexus.
Change-Id: I9914756ddf8fe1dbab9f48d4de9249c319d28fc0
Issue-ID: CCSDK-1986
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Diffstat (limited to 'pom.xml')
-rwxr-xr-x | pom.xml | 54 |
1 files changed, 54 insertions, 0 deletions
@@ -34,6 +34,60 @@ <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id> </properties> + <profiles> + <profile> + <id>dependency-list</id> + <build> + <plugins> + <plugin> + <groupId>com.github.ferstl</groupId> + <artifactId>depgraph-maven-plugin</artifactId> + <version>3.3.0</version> + <configuration> + <graphFormat>text</graphFormat> + <outputFileName>direct-dependencies.txt</outputFileName> + <outputDirectory>${project.basedir}</outputDirectory> + <transitiveExcludes>*</transitiveExcludes> + <showVersions>true</showVersions> + </configuration> + <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>${project.basedir}/direct-dependencies.txt</file> + <type>txt</type> + <classifier>dependencies</classifier> + </artifact> + </artifacts> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> + <build> <plugins> <plugin> |