Unskipping deployment
[aai/search-data-service.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 8fe939f..d3ffb93 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
        <groupId>org.onap.aai</groupId>
        <artifactId>search-data-service</artifactId>
        <name>aai-search-data-service aggregate pom</name>
-       <version>1.4.0-SNAPSHOT</version>
+       <version>1.4.1-SNAPSHOT</version>
        <packaging>pom</packaging>
 
        <modules>
        </properties>
 
        <build>
+       <!-- we don't need to deploy the top level pom project -->
+         <pluginManagement>
+           <plugins>
+               <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>${onap.nexus.url}</nexusUrl>
+                        <stagingProfileId>176c31dfe190a</stagingProfileId>
+                        <serverId>ecomp-staging</serverId>
+                    </configuration>
+                </plugin>
+               </plugins>
+             </pluginManagement>
                <plugins>
                        <plugin>
                                <groupId>com.spotify</groupId>
                                        <skipDockerBuild>true</skipDockerBuild>
                                </configuration>
                        </plugin>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-deploy-plugin</artifactId>
-                               <configuration>
-                                       <skip>true</skip>
-                               </configuration>
-                       </plugin>
                </plugins>
        </build>
 
@@ -72,4 +92,4 @@
                </snapshotRepository>
        </distributionManagement>
 
-</project>
\ No newline at end of file
+</project>