Tidy up pom config changes
[aai/search-data-service.git] / elasticsearch-sg / pom.xml
index cd24333..e581748 100644 (file)
 
        <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.4.1-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>
+                               <version>2.8.2</version>
+                               <executions>
+                                       <execution>
+                                               <id>default-deploy</id>
+                                               <phase>none</phase>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.sonatype.plugins</groupId>
+                               <artifactId>nexus-staging-maven-plugin</artifactId>
+                               <version>1.6.7</version>
+                               <extensions>true</extensions>
+                               <configuration>
+                                       <nexusUrl>${nexusproxy}</nexusUrl>
+                                       <stagingProfileId>176c31dfe190a</stagingProfileId>
+                                       <serverId>ecomp-staging</serverId>
+                               </configuration>
+                       </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>