Upversion to oparent 2.0.0
[aai/search-data-service.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 3eb4543..260edd3 100644 (file)
--- a/pom.xml
+++ b/pom.xml
 <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>
-
+       <parent>
+          <groupId>org.onap.oparent</groupId>
+          <artifactId>oparent</artifactId>
+          <version>2.0.0</version>
+       </parent>
        <groupId>org.onap.aai</groupId>
-       <artifactId>search-data-service-agg</artifactId>
+       <artifactId>search-data-service</artifactId>
        <name>aai-search-data-service aggregate pom</name>
-       <version>1.4.0-SNAPSHOT</version>
+       <version>1.5.0-SNAPSHOT</version>
        <packaging>pom</packaging>
 
        <modules>
-               <module>search-data-service</module>
+               <module>search-data-service-app</module>
                <module>elasticsearch-sg</module>
        </modules>
 
+       <properties>
+               <nexusproxy>https://nexus.onap.org</nexusproxy>
+       </properties>
+
        <build>
                <plugins>
                        <plugin>
                                        <skipDockerBuild>true</skipDockerBuild>
                                </configuration>
                        </plugin>
+                       <plugin>
+                         <groupId>org.apache.maven.plugins</groupId>
+                         <artifactId>maven-deploy-plugin</artifactId>
+                       </plugin>
                </plugins>
        </build>
 
-</project>
\ No newline at end of file
+       <distributionManagement>
+               <repository>
+                       <id>ecomp-releases</id>
+                       <name>ECOMP Release Repository</name>
+                       <url>${nexusproxy}/content/repositories/releases/</url>
+               </repository>
+               <snapshotRepository>
+                       <id>ecomp-snapshots</id>
+                       <name>ECOMP Snapshot Repository</name>
+                       <url>${nexusproxy}/content/repositories/snapshots/</url>
+               </snapshotRepository>
+       </distributionManagement>
+
+</project>