summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dtimoney@att.com>2019-05-01 08:27:56 -0400
committerTimoney, Dan (dt5972) <dtimoney@att.com>2019-05-01 10:40:31 -0400
commit273c1c6817247bd3e87f865e3d80f548d84138ff (patch)
tree1b72f49674a90a4ef22f3638a04574320c783709
parent3d0e22240af36111f14cdf4313d4bc6835d6a4c1 (diff)
Fix staging build
Update to newly released oparent 2.0.0 to disable staging plugin, which breaks staging build. Change-Id: Iaa707b7b6be2d1245ecd1cf00268c8653e40ea08 Issue-ID: SDNC-735 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
-rw-r--r--pomba/network-discovery-api/pom.xml27
-rw-r--r--pomba/pom.xml27
2 files changed, 52 insertions, 2 deletions
diff --git a/pomba/network-discovery-api/pom.xml b/pomba/network-discovery-api/pom.xml
index d8db0a0..d3db665 100644
--- a/pomba/network-discovery-api/pom.xml
+++ b/pomba/network-discovery-api/pom.xml
@@ -22,7 +22,7 @@ limitations under the License.
<parent>
<groupId>org.onap.oparent</groupId>
<artifactId>oparent</artifactId>
- <version>1.2.3</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
@@ -50,5 +50,30 @@ limitations under the License.
<scope>test</scope>
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>nexus-staging</id>
+ <activation>
+ <property>
+ <name>!altDeploymentRepository</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <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</nexusUrl>
+ <stagingProfileId>176c31dfe190a</stagingProfileId>
+ <serverId>ecomp-staging</serverId>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/pomba/pom.xml b/pomba/pom.xml
index 8a91074..23e9d8c 100644
--- a/pomba/pom.xml
+++ b/pomba/pom.xml
@@ -22,7 +22,7 @@ limitations under the License.
<parent>
<groupId>org.onap.oparent</groupId>
<artifactId>oparent</artifactId>
- <version>1.2.3</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
@@ -53,4 +53,29 @@ limitations under the License.
</plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>nexus-staging</id>
+ <activation>
+ <property>
+ <name>!altDeploymentRepository</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <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</nexusUrl>
+ <stagingProfileId>176c31dfe190a</stagingProfileId>
+ <serverId>ecomp-staging</serverId>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>