summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dtimoney@att.com>2019-12-11 12:13:29 -0500
committerTimoney, Dan (dt5972) <dtimoney@att.com>2019-12-11 12:16:16 -0500
commit63bf77ea55f2dd15ef5ce0b2640e93dfbea5f21e (patch)
tree7ab6f9290e130318164f52e836de246d908b2c81
parentf2c0919500a71b911f30c39577aea7bc7911ba98 (diff)
Generate dependency list
Generate list of third party dependencies Change-Id: I46a023fdaab932149442921588dcd74c6d64f0be Issue-ID: CCSDK-1986 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
-rw-r--r--.gitignore61
-rw-r--r--ms/neng/pom.xml2
-rw-r--r--ms/vlantag-api/pom.xml2
-rwxr-xr-xpom.xml92
4 files changed, 99 insertions, 58 deletions
diff --git a/.gitignore b/.gitignore
index f116f6b8..1e0ec776 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,30 +1,33 @@
-.classpath
-.settings/
-
-# Target dirs in all projects
-**/target-ide/*
-**/target/*
-**/logs/*
-**/tokens/*
-
-# Added for Intellij IDEA IDE
-**/*.ipr
-**/*.iws
-**/debug-logs/*
-**/.idea/*
-**/*.iml
-**/*.project
-**/.springBeans
-
-**/*versionsBackup
-**/blackDuckHub*
-**/*.jsonld
-**/.checkstyle
-**/.gitignore
+.classpath
+.settings/
-**/*.log
-**/*py.class
-**/.DS_Store
-
-# To Remove Kotlin Script Generated Jars
-**/*cba-kts.jar \ No newline at end of file
+# Target dirs in all projects
+**/target-ide/*
+**/target/*
+**/logs/*
+**/tokens/*
+
+# Added for Intellij IDEA IDE
+**/*.ipr
+**/*.iws
+**/debug-logs/*
+**/.idea/*
+**/*.iml
+**/*.project
+**/.springBeans
+
+**/*versionsBackup
+**/blackDuckHub*
+**/*.jsonld
+**/.checkstyle
+**/.gitignore
+
+**/*.log
+**/*py.class
+**/.DS_Store
+
+# To Remove Kotlin Script Generated Jars
+**/*cba-kts.jar
+
+# Generated dependency list
+direct-dependencies.txt
diff --git a/ms/neng/pom.xml b/ms/neng/pom.xml
index 56ccee9f..76eb8c97 100644
--- a/ms/neng/pom.xml
+++ b/ms/neng/pom.xml
@@ -243,7 +243,7 @@
<parent>
<groupId>org.onap.ccsdk.parent</groupId>
<artifactId>spring-boot-1-starter-parent</artifactId>
- <version>1.5.0</version>
+ <version>1.5.1-SNAPSHOT</version>
<relativePath/>
</parent>
diff --git a/ms/vlantag-api/pom.xml b/ms/vlantag-api/pom.xml
index 64575b1b..0a113666 100644
--- a/ms/vlantag-api/pom.xml
+++ b/ms/vlantag-api/pom.xml
@@ -40,7 +40,7 @@
<parent>
<groupId>org.onap.ccsdk.parent</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
- <version>1.5.0</version>
+ <version>1.5.1-SNAPSHOT</version>
<relativePath/>
</parent>
diff --git a/pom.xml b/pom.xml
index 78446e5f..9f54260d 100755
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
<parent>
<groupId>org.onap.ccsdk.parent</groupId>
<artifactId>odlparent-lite</artifactId>
- <version>1.5.0</version>
+ <version>1.5.1-SNAPSHOT</version>
<relativePath/>
</parent>
@@ -69,34 +69,72 @@
</property>
</activation>
<build>
- <plugins>
- <plugin>
- <groupId>com.blackducksoftware.integration</groupId>
- <artifactId>hub-maven-plugin</artifactId>
- <version>1.4.0</version>
- <inherited>false</inherited>
- <configuration>
- <hubProjectName>${project.name}</hubProjectName>
- <outputDirectory>${project.basedir}</outputDirectory>
- </configuration>
- <executions>
- <execution>
- <id>create-bdio-file</id>
- <phase>package</phase>
- <goals>
- <goal>createHubOutput</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
-
-
-
+ <plugins>
+ <plugin>
+ <groupId>com.blackducksoftware.integration</groupId>
+ <artifactId>hub-maven-plugin</artifactId>
+ <version>1.4.0</version>
+ <inherited>false</inherited>
+ <configuration>
+ <hubProjectName>${project.name}</hubProjectName>
+ <outputDirectory>${project.basedir}</outputDirectory>
+ </configuration>
+ <executions>
+ <execution>
+ <id>create-bdio-file</id>
+ <phase>package</phase>
+ <goals>
+ <goal>createHubOutput</goal>
+ </goals>
+ </execution>
+ </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>
</project>