diff options
-rwxr-xr-x | .gitignore | 3 | ||||
-rw-r--r-- | pom.xml | 44 |
2 files changed, 46 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index d66d73564..7943e8332 100755 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,6 @@ yang-gen-sal/ sdnc-northbound_bdio.jsonld blackDuckHubProjectName.txt blackDuckHubProjectVersionName.txt + +# Generated dependencies list +direct-dependencies.txt @@ -76,7 +76,49 @@ </build> </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> <build> |