Adjust parent pom on sds
[aai/search-data-service.git] / elasticsearch-sg / pom.xml
index cd24333..ae92121 100644 (file)
        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>
+               <artifactId>search-data-service</artifactId>
+               <groupId>org.onap.aai</groupId>
+               <version>1.5.0-SNAPSHOT</version>
+       </parent>
+
+
        <groupId>org.onap.aai.search-data-service</groupId>
        <artifactId>elasticsearch-sg</artifactId>
-       <name>elasticsearch with searchguard</name>
-       <version>1.4.0-SNAPSHOT</version>
+       <name>ElasticSearch with SearchGuard</name>
+       <version>1.5.0-SNAPSHOT</version>
        <packaging>pom</packaging>
 
+       <properties>
+               <nexusproxy>https://nexus.onap.org</nexusproxy>
+       </properties>
+
        <build>
                <plugins>
                        <plugin>
                                        <forceTags>true</forceTags>
                                </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>