Moving maven staging plugin 31/3031/1
authorPatrick Brady <pb071s@att.com>
Tue, 4 Apr 2017 18:24:11 +0000 (11:24 -0700)
committerPatrick Brady <pb071s@att.com>
Tue, 4 Apr 2017 18:24:17 +0000 (11:24 -0700)
Maven staging plugin should be in the plugin section,
not the pluginManagement section where it was.

Change-Id: I51012fb6e22e44a59ce52f4b3937f66619b7945b
Signed-off-by: Patrick Brady <pb071s@att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 5297fca..a70dbfa 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <build>
         <pluginManagement>
             <plugins>
-                <!--maven staging plugin-->
-                <plugin>
-                    <groupId>org.sonatype.plugins</groupId>
-                    <artifactId>nexus-staging-maven-plugin</artifactId>
-                    <version>1.6.7</version>
-                    <extensions>true</extensions>
-                    <configuration>
-                        <nexusUrl>https://nexus.onap.org/content/repositories/staging/</nexusUrl>
-                        <stagingProfileId>176c31dfe190a</stagingProfileId>
-                        <serverId>ecomp-staging</serverId>
-                    </configuration>
-                </plugin>
                 <!-- Define the site plugin to generate documentation -->
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
             </plugins>
         </pluginManagement>
         <plugins>
+            <!--maven staging plugin-->
+            <plugin>
+                <groupId>org.sonatype.plugins</groupId>
+                <artifactId>nexus-staging-maven-plugin</artifactId>
+                <version>1.6.7</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <nexusUrl>https://nexus.onap.org/content/repositories/staging/</nexusUrl>
+                    <stagingProfileId>176c31dfe190a</stagingProfileId>
+                    <serverId>ecomp-staging</serverId>
+                </configuration>
+            </plugin>
             <!-- Javadocs Plugin -->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>