diff options
author | KAPIL SINGAL <ks220y@att.com> | 2019-12-12 16:18:21 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-12-12 16:18:21 +0000 |
commit | b0211411c5165bbd5293f0306cd894b60aae79df (patch) | |
tree | f996afa4e3f37c90bb702cc30a8e635032eabac2 /pom.xml | |
parent | d4fadc988246eb172ce8333bb3a06443591c5f19 (diff) | |
parent | dc863f4c9af58ffcd902e16467365a17b647a42c (diff) |
Merge "Generate dependency list"
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> |