Support merge JSON to SvcLogicContext
[ccsdk/sli/core.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index c7885a9..c65d6c6 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
@@ -1,20 +1,40 @@
 <?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>
-       <packaging>pom</packaging>
+
+       <parent>
+               <groupId>org.onap.ccsdk.parent</groupId>
+               <artifactId>odlparent-lite</artifactId>
+               <version>1.5.2-SNAPSHOT</version>
+               <relativePath/>
+       </parent>
+
        <groupId>org.onap.ccsdk.sli.core</groupId>
        <artifactId>ccsdk-sli-core</artifactId>
+       <version>0.7.1-SNAPSHOT</version>
+       <packaging>pom</packaging>
 
        <name>ccsdk-sli-core</name>
-       <url>https://wiki.onap.org</url>
        <description>CCSDK core components contains the SLI, dblib</description>
+       <url>https://wiki.onap.org</url>
+       <organization>
+               <name>ONAP</name>
+       </organization>
+       
+       <properties>
+               <sitePath>content/sites/site/org/onap/ccsdk/sli/core/${project.version}/</sitePath>
+       </properties>
 
-       <parent>
-               <groupId>org.onap.ccsdk.parent</groupId>
-               <artifactId>odlparent-carbon-sr1</artifactId>
-               <version>0.2.0-SNAPSHOT</version>
-       </parent>
+       <modules>
+        <module>utils</module>
+               <module>dblib</module>
+               <module>sli</module>
+               <module>filters</module>
+               <module>sliPluginUtils</module>
+               <module>sliapi</module>
+               <module>features</module>
+               <module>artifacts</module>
+       </modules>
 
        <scm>
                <connection>scm:git:ssh://git@${onap.git.host}/sdnc-code.git</connection>
        </scm>
 
 
-<!--
-       <distributionManagement>
-               <repository>
-                       <id>ecomp-releases</id>
-                       <name>onap-repository-releases</name>
-                       <url>${onap.nexus.release-url}</url>
-               </repository>
-               <snapshotRepository>
-                       <id>ecomp-snapshots</id>
-                       <name>onap-repository-snapshots</name>
-                       <url>${onap.nexus.snapshot-url}</url>
-               </snapshotRepository>
-               <site>
-                       <id>ecomp-site</id>
-                       <url>dav:https://${onap.nexus.host}/content/sites/site/org/onap/sdnc/core/${project.artifactId}/${project.version}</url>
-               </site>
-       </distributionManagement>
--->
-
        <profiles>
                <profile>
                        <id>blackduck</id>
                                                        </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>
 
-       <build>
-               <plugins>
-
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-surefire-plugin</artifactId>
-                               <version>2.17</version>
-                               <configuration>
-                                       <skipTests>false</skipTests>
-                               </configuration>
-                       </plugin>
-                       <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>${onap.nexus.staging.profile-id}</stagingProfileId>
-                                       <serverId>${onap.nexus.staging.server-id}</serverId>
-                               </configuration>
-                       </plugin>
-
-               </plugins>
-
-       </build>
-       <modules>
-        <module>utils</module>
-               <module>dblib</module>
-               <module>sli</module>
-               <module>filters</module>
-               <module>sliPluginUtils</module>
-               <module>sliapi</module>
-       </modules>
-       <organization>
-               <name>ONAP</name>
-       </organization>
-       <version>0.2.0-SNAPSHOT</version>
-
-
+       <distributionManagement>
+               <site>
+                       <id>ecomp-site</id>
+                       <url>dav:${onap.nexus.url}/${sitePath}</url>
+               </site>
+       </distributionManagement>
 </project>