Upgrade maven-bundle-plugin version to 5.1.1
[ccsdk/parent.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index a783085..521580f 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
 
+    <groupId>org.onap.ccsdk.parent</groupId>
+    <artifactId>parent</artifactId>
+    <version>2.5.2-SNAPSHOT</version>
+    <packaging>pom</packaging>
 
-       <modelVersion>4.0.0</modelVersion>
-       <packaging>pom</packaging>
-       <groupId>org.onap.ccsdk.parent</groupId>
-       <artifactId>parent</artifactId>
-       <version>1.3.0-SNAPSHOT</version>
-       <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
+    <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
 
-       <properties>
-               <onap.nexus.host>nexus.onap.org</onap.nexus.host>
-               <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
-               <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
-       </properties>
+    <modules>
+        <module>installed-odl-bom</module>
+        <module>dependencies-bom</module>
+        <module>dependencies-odl-bom</module>
+        <module>oparent</module>
+        <module>standalone</module>
+        <module>odlparent</module>
+        <module>springboot</module>
+    </modules>
 
-       <distributionManagement>
-               <repository>
-                       <id>ecomp-releases</id>
-                       <url>https://nexus.onap.org/content/repositories/releases</url>
-               </repository>
-               <snapshotRepository>
-                       <id>ecomp-snapshots</id>
-                       <url>https://nexus.onap.org/content/repositories/snapshots</url>
-               </snapshotRepository>
-       </distributionManagement>
+    <distributionManagement>
+        <repository>
+            <id>ecomp-releases</id>
+            <url>https://nexus.onap.org/content/repositories/releases</url>
+        </repository>
+        <snapshotRepository>
+            <id>ecomp-snapshots</id>
+            <url>https://nexus.onap.org/content/repositories/snapshots</url>
+        </snapshotRepository>
+    </distributionManagement>
 
-       <profiles>
-               <profile>
-                       <id>nexus-staging</id>
-                       <activation>
-                           <property>
-                               <name>!altDeploymentRepository</name>
-                           </property>
-                       </activation>
-                       <build>
-                               <plugins>
-                                       <plugin>
-                                               <groupId>org.sonatype.plugins</groupId>
-                                               <artifactId>nexus-staging-maven-plugin</artifactId>
-                                               <version>1.6.7</version>
-                                               <extensions>true</extensions>
-                                               <configuration>
-                                                       <nexusUrl>https://${onap.nexus.host}</nexusUrl>
-                                                       <stagingProfileId>176c31dfe190a</stagingProfileId>
-                                                       <serverId>ecomp-staging</serverId>
-                                               </configuration>
-                                       </plugin>
-                               </plugins>
-                       </build>
-               </profile>
-       </profiles>
+    <properties>
+        <onap.nexus.host>nexus.onap.org</onap.nexus.host>
+        <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
+        <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
+    </properties>
 
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>versions-maven-plugin</artifactId>
-                               <version>2.5</version>
-                               <configuration>
-                                       <processAllModules>true</processAllModules>
-                               </configuration>
-                       </plugin>
-               </plugins>
-       </build>
-       <modules>
-               <module>odlparent</module>
-               <module>springboot</module>
-       </modules>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>versions-maven-plugin</artifactId>
+                <version>2.5</version>
+                <configuration>
+                    <processAllModules>true</processAllModules>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <!-- This version supports the "deployAtEnd" parameter -->
+                <version>2.8</version>
+                <configuration>
+                    <skip/>
+                    <deployAtEnd>true</deployAtEnd>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 
+    <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>
+                            <showGroupIds>true</showGroupIds>
+                        </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>
 </project>