summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.gitignore3
-rw-r--r--odlparent/binding-parent/pom.xml14
-rw-r--r--odlparent/bundle-parent/pom.xml14
-rw-r--r--odlparent/feature-repo-parent/pom.xml14
-rw-r--r--odlparent/karaf4-parent/pom.xml14
-rw-r--r--odlparent/mdsal-it-parent/pom.xml14
-rw-r--r--odlparent/odlparent-lite/pom.xml14
-rw-r--r--odlparent/odlparent/pom.xml14
-rwxr-xr-xodlparent/setup/src/main/resources/pom-template.xml14
-rw-r--r--odlparent/single-feature-parent/pom.xml14
-rwxr-xr-xpom.xml54
-rwxr-xr-xspringboot/springboot1/pom.xml16
-rwxr-xr-xspringboot/springboot2/pom.xml15
-rwxr-xr-xstandalone/pom.xml19
14 files changed, 229 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index f9801b8c..ebb44b7b 100755
--- a/.gitignore
+++ b/.gitignore
@@ -42,3 +42,6 @@ ExprGrammarLexer.tokens
sdnc-core_bdio.jsonld
blackDuckHubProjectName.txt
blackDuckHubProjectVersionName.txt
+
+#Generated dependencies list
+direct-dependencies.txt
diff --git a/odlparent/binding-parent/pom.xml b/odlparent/binding-parent/pom.xml
index 5e3d3870..c668c5b4 100644
--- a/odlparent/binding-parent/pom.xml
+++ b/odlparent/binding-parent/pom.xml
@@ -182,6 +182,8 @@
<tomcat-jdbc.version>9.0.27</tomcat-jdbc.version>
<jetty.version>9.4.12.v20180830</jetty.version>
<skip.karaf.featureTest>true</skip.karaf.featureTest>
+
+ <dependency-list.file>direct-dependencies.txt</dependency-list.file>
</properties>
<dependencyManagement>
@@ -624,6 +626,18 @@
<tag>${project.artifactId}-${project.version}</tag>
</configuration>
</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>
<plugins>
diff --git a/odlparent/bundle-parent/pom.xml b/odlparent/bundle-parent/pom.xml
index d730d958..bf17e3cd 100644
--- a/odlparent/bundle-parent/pom.xml
+++ b/odlparent/bundle-parent/pom.xml
@@ -182,6 +182,8 @@
<tomcat-jdbc.version>9.0.27</tomcat-jdbc.version>
<jetty.version>9.4.12.v20180830</jetty.version>
<skip.karaf.featureTest>true</skip.karaf.featureTest>
+
+ <dependency-list.file>direct-dependencies.txt</dependency-list.file>
</properties>
<dependencyManagement>
@@ -624,6 +626,18 @@
<tag>${project.artifactId}-${project.version}</tag>
</configuration>
</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>
<plugins>
diff --git a/odlparent/feature-repo-parent/pom.xml b/odlparent/feature-repo-parent/pom.xml
index 49d79972..fd86f630 100644
--- a/odlparent/feature-repo-parent/pom.xml
+++ b/odlparent/feature-repo-parent/pom.xml
@@ -182,6 +182,8 @@
<tomcat-jdbc.version>9.0.27</tomcat-jdbc.version>
<jetty.version>9.4.12.v20180830</jetty.version>
<skip.karaf.featureTest>true</skip.karaf.featureTest>
+
+ <dependency-list.file>direct-dependencies.txt</dependency-list.file>
</properties>
<dependencyManagement>
@@ -624,6 +626,18 @@
<tag>${project.artifactId}-${project.version}</tag>
</configuration>
</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>
<plugins>
diff --git a/odlparent/karaf4-parent/pom.xml b/odlparent/karaf4-parent/pom.xml
index 61c9d454..edba6efe 100644
--- a/odlparent/karaf4-parent/pom.xml
+++ b/odlparent/karaf4-parent/pom.xml
@@ -182,6 +182,8 @@
<tomcat-jdbc.version>9.0.27</tomcat-jdbc.version>
<jetty.version>9.4.12.v20180830</jetty.version>
<skip.karaf.featureTest>true</skip.karaf.featureTest>
+
+ <dependency-list.file>direct-dependencies.txt</dependency-list.file>
</properties>
<dependencyManagement>
@@ -624,6 +626,18 @@
<tag>${project.artifactId}-${project.version}</tag>
</configuration>
</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>
<plugins>
diff --git a/odlparent/mdsal-it-parent/pom.xml b/odlparent/mdsal-it-parent/pom.xml
index b0c3c80c..e32511ef 100644
--- a/odlparent/mdsal-it-parent/pom.xml
+++ b/odlparent/mdsal-it-parent/pom.xml
@@ -182,6 +182,8 @@
<tomcat-jdbc.version>9.0.27</tomcat-jdbc.version>
<jetty.version>9.4.12.v20180830</jetty.version>
<skip.karaf.featureTest>true</skip.karaf.featureTest>
+
+ <dependency-list.file>direct-dependencies.txt</dependency-list.file>
</properties>
<dependencyManagement>
@@ -624,6 +626,18 @@
<tag>${project.artifactId}-${project.version}</tag>
</configuration>
</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>
<plugins>
diff --git a/odlparent/odlparent-lite/pom.xml b/odlparent/odlparent-lite/pom.xml
index f2c312d7..2c0bc4f4 100644
--- a/odlparent/odlparent-lite/pom.xml
+++ b/odlparent/odlparent-lite/pom.xml
@@ -182,6 +182,8 @@
<tomcat-jdbc.version>9.0.27</tomcat-jdbc.version>
<jetty.version>9.4.12.v20180830</jetty.version>
<skip.karaf.featureTest>true</skip.karaf.featureTest>
+
+ <dependency-list.file>direct-dependencies.txt</dependency-list.file>
</properties>
<dependencyManagement>
@@ -624,6 +626,18 @@
<tag>${project.artifactId}-${project.version}</tag>
</configuration>
</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>
<plugins>
diff --git a/odlparent/odlparent/pom.xml b/odlparent/odlparent/pom.xml
index 9bfef3a6..c6a50a27 100644
--- a/odlparent/odlparent/pom.xml
+++ b/odlparent/odlparent/pom.xml
@@ -182,6 +182,8 @@
<tomcat-jdbc.version>9.0.27</tomcat-jdbc.version>
<jetty.version>9.4.12.v20180830</jetty.version>
<skip.karaf.featureTest>true</skip.karaf.featureTest>
+
+ <dependency-list.file>direct-dependencies.txt</dependency-list.file>
</properties>
<dependencyManagement>
@@ -624,6 +626,18 @@
<tag>${project.artifactId}-${project.version}</tag>
</configuration>
</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>
<plugins>
diff --git a/odlparent/setup/src/main/resources/pom-template.xml b/odlparent/setup/src/main/resources/pom-template.xml
index c0e0c4b5..1f0c35e6 100755
--- a/odlparent/setup/src/main/resources/pom-template.xml
+++ b/odlparent/setup/src/main/resources/pom-template.xml
@@ -182,6 +182,8 @@
<tomcat-jdbc.version>9.0.27</tomcat-jdbc.version>
<jetty.version>9.4.12.v20180830</jetty.version>
<skip.karaf.featureTest>true</skip.karaf.featureTest>
+
+ <dependency-list.file>direct-dependencies.txt</dependency-list.file>
</properties>
<dependencyManagement>
@@ -624,6 +626,18 @@
<tag>\${project.artifactId}-\${project.version}</tag>
</configuration>
</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>
<plugins>
diff --git a/odlparent/single-feature-parent/pom.xml b/odlparent/single-feature-parent/pom.xml
index 8160a831..169a9a5e 100644
--- a/odlparent/single-feature-parent/pom.xml
+++ b/odlparent/single-feature-parent/pom.xml
@@ -182,6 +182,8 @@
<tomcat-jdbc.version>9.0.27</tomcat-jdbc.version>
<jetty.version>9.4.12.v20180830</jetty.version>
<skip.karaf.featureTest>true</skip.karaf.featureTest>
+
+ <dependency-list.file>direct-dependencies.txt</dependency-list.file>
</properties>
<dependencyManagement>
@@ -624,6 +626,18 @@
<tag>${project.artifactId}-${project.version}</tag>
</configuration>
</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>
<plugins>
diff --git a/pom.xml b/pom.xml
index 3482969b..556e0cdc 100755
--- a/pom.xml
+++ b/pom.xml
@@ -34,6 +34,60 @@
<onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
</properties>
+ <profiles>
+ <profile>
+ <id>dependency-list</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.github.ferstl</groupId>
+ <artifactId>depgraph-maven-plugin</artifactId>
+ <version>3.3.0</version>
+ <configuration>
+ <graphFormat>text</graphFormat>
+ <outputFileName>direct-dependencies.txt</outputFileName>
+ <outputDirectory>${project.basedir}</outputDirectory>
+ <transitiveExcludes>*</transitiveExcludes>
+ <showVersions>true</showVersions>
+ </configuration>
+ <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>${project.basedir}/direct-dependencies.txt</file>
+ <type>txt</type>
+ <classifier>dependencies</classifier>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
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>
diff --git a/standalone/pom.xml b/standalone/pom.xml
index 322ede7a..33cfdde2 100755
--- a/standalone/pom.xml
+++ b/standalone/pom.xml
@@ -60,6 +60,8 @@
<sdc.client.version>1.4.0</sdc.client.version>
<sdc.tosca.version>1.6.3</sdc.tosca.version>
+ <dependency-list.file>direct-dependencies.txt</dependency-list.file>
+
</properties>
<dependencyManagement>
@@ -188,7 +190,24 @@
</repository>
</repositories>
+
<build>
+ <pluginManagement>
+ <plugins>
+ <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>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>