diff options
-rwxr-xr-x | .gitignore | 1 | ||||
-rwxr-xr-x | pom.xml | 46 |
2 files changed, 45 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore index 9244b48b3..92a91c226 100755 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,4 @@ derby.log # Generated file sliPluginUtils/provider/testFileName +direct-dependencies.txt @@ -74,14 +74,56 @@ </executions> </plugin> </plugins> + </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> + <distributionManagement> <site> <id>ecomp-site</id> |