[STAGING] Restore staging plugin 41/1141/1
authorDan Timoney <dtimoney@att.com>
Tue, 21 Feb 2017 21:06:48 +0000 (16:06 -0500)
committerDan Timoney <dtimoney@att.com>
Tue, 21 Feb 2017 21:07:49 +0000 (16:07 -0500)
Staging plugin does not run properly from build profile

Change-Id: I4488d3a9a27a56797539453885976af8d5f3ee76
Signed-off-by: Dan Timoney <dtimoney@att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 1c51cbb..33fdbab 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
                        </build>
 
                </profile>
-               <profile>
-                       <id>staging</id>
-                       <activation>
-                               <activeByDefault>true</activeByDefault>
-                       </activation>
-                       <build>
-                               <pluginManagement>
-                                       <plugins>
-                                               <plugin>
-                                                       <groupId>org.sonatype.plugins</groupId>
-                                                       <artifactId>nexus-staging-maven-plugin</artifactId>
-                                                       <version>1.6.7</version>
-                                                       <extensions>true</extensions>
-                                                       <configuration>
-                                                               <nexusUrl>https://${openecomp.nexus.host}</nexusUrl>
-                                                               <stagingProfileId>${openecomp.nexus.staging.profile-id}</stagingProfileId>
-                                                               <serverId>${openecomp.nexus.staging.server-id}</serverId>
-                                                       </configuration>
-                                               </plugin>
-                                       </plugins>
-                               </pluginManagement>
-                       </build>
-               </profile>
 
        </profiles>
 
                                        <skipTests>true</skipTests>
                                </configuration>
                        </plugin>
+                       <plugin>
+                               <groupId>org.sonatype.plugins</groupId>
+                               <artifactId>nexus-staging-maven-plugin</artifactId>
+                               <version>1.6.7</version>
+                               <extensions>true</extensions>
+                               <configuration>
+                                       <nexusUrl>https://${openecomp.nexus.host}</nexusUrl>
+                                       <stagingProfileId>${openecomp.nexus.staging.profile-id}</stagingProfileId>
+                                       <serverId>${openecomp.nexus.staging.server-id}</serverId>
+                               </configuration>
+                       </plugin>
 
                </plugins>