summaryrefslogtreecommitdiffstats
path: root/springboot
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dtimoney@att.com>2019-12-10 09:18:51 -0500
committerTimoney, Dan (dt5972) <dtimoney@att.com>2019-12-10 16:45:15 -0500
commit94fcbc29eca4b30da5dc259e5b14d26cda8d8373 (patch)
tree798d599dd0e05e694d7e611c2a4abb4d9b20bb32 /springboot
parent008b52bffbe2bcb4cffd441ea6ac6693a353cf68 (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 'springboot')
-rwxr-xr-xspringboot/springboot1/pom.xml16
-rwxr-xr-xspringboot/springboot2/pom.xml15
2 files changed, 27 insertions, 4 deletions
diff --git a/springboot/springboot1/pom.xml b/springboot/springboot1/pom.xml
index c6c2aea8..de72343e 100755
--- a/springboot/springboot1/pom.xml
+++ b/springboot/springboot1/pom.xml
@@ -100,6 +100,8 @@
<mariadb.connector.version>2.1.1</mariadb.connector.version>
+ <dependency-list.file>direct-dependencies.txt</dependency-list.file>
+
</properties>
<dependencyManagement>
@@ -577,7 +579,18 @@
</execution>
</executions>
</plugin>
-
+ <plugin>
+ <groupId>com.github.ferstl</groupId>
+ <artifactId>depgraph-maven-plugin</artifactId>
+ <version>3.3.0</version>
+ <configuration>
+ <graphFormat>text</graphFormat>
+ <outputFileName>${dependency-list.file}</outputFileName>
+ <outputDirectory>${project.basedir}</outputDirectory>
+ <transitiveExcludes>*</transitiveExcludes>
+ <showVersions>true</showVersions>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
@@ -992,6 +1005,5 @@
</build>
</profile>
<!-- End of profiles from ONAP oparent -->
-
</profiles>
</project>
diff --git a/springboot/springboot2/pom.xml b/springboot/springboot2/pom.xml
index 13633f50..303e2c9c 100755
--- a/springboot/springboot2/pom.xml
+++ b/springboot/springboot2/pom.xml
@@ -127,6 +127,7 @@
<slf4j.version>1.7.25</slf4j.version>
<testng.version>6.11</testng.version>
<tomcat-jdbc.version>9.0.27</tomcat-jdbc.version>
+ <dependency-list.file>direct-dependencies.txt</dependency-list.file>
</properties>
<dependencyManagement>
@@ -609,7 +610,18 @@
</execution>
</executions>
</plugin>
-
+ <plugin>
+ <groupId>com.github.ferstl</groupId>
+ <artifactId>depgraph-maven-plugin</artifactId>
+ <version>3.3.0</version>
+ <configuration>
+ <graphFormat>text</graphFormat>
+ <outputFileName>${dependency-list.file}</outputFileName>
+ <outputDirectory>${project.basedir}</outputDirectory>
+ <transitiveExcludes>*</transitiveExcludes>
+ <showVersions>true</showVersions>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
@@ -1065,6 +1077,5 @@
</build>
</profile>
<!-- End of profiles from ONAP oparent -->
-
</profiles>
</project>