[AAI-ONAP] Update the pom for pushing to staging
[aai/aai-common.git] / aai-schema / pom.xml
index 5e4ae95..776795d 100644 (file)
                            </dependency>
                          </dependencies>
                        </plugin>
+        <plugin>
+               <groupId>org.apache.maven.plugins</groupId>
+               <artifactId>maven-deploy-plugin</artifactId>
+               <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>