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 | |
parent | d4fadc988246eb172ce8333bb3a06443591c5f19 (diff) | |
parent | dc863f4c9af58ffcd902e16467365a17b647a42c (diff) |
Merge "Generate dependency list"
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | pom.xml | 44 |
2 files changed, 45 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index 48621bc4b..b53daa4ee 100644 --- a/.gitignore +++ b/.gitignore @@ -156,3 +156,5 @@ MacOS **/application/blueprints /target/ +# Generated dependency list +direct-dependencies.txt @@ -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> |