aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2017-02-22 13:47:58 +0000
committerGerrit Code Review <gerrit@openecomp.org>2017-02-22 13:47:58 +0000
commit8aacedccc6bba71fa07b5dae902ab0be85dce09a (patch)
tree60b81da442ab1a8715429f7bff9153d791201322 /pom.xml
parent86fc38f0b3d0540dc44c3fbf58fcc1bc8397fe0c (diff)
parentd0214c76561b007918d7a55fd59563a9946de911 (diff)
Merge "Add release-staging phase"
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml181
1 files changed, 96 insertions, 85 deletions
diff --git a/pom.xml b/pom.xml
index cbee9e9b89..50fa98ca83 100644
--- a/pom.xml
+++ b/pom.xml
@@ -167,21 +167,22 @@
<!--cassandra -->
<cassandra.driver.version>3.0.0</cassandra.driver.version>
-
+
<!-- Sonar properties -->
- <sonar.login>sonaruser</sonar.login>
+ <!-- <sonar.login>sonaruser</sonar.login>
<sonar.password>us7USi0Htu93nFY91DPuQLFo6ebKcKXv</sonar.password>
- <sonar.host.url>http://104.239.145.8:9000</sonar.host.url>
+ <sonar.host.url>http://104.239.145.8:9000</sonar.host.url> -->
<sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
<sonar.skipDesign>true</sonar.skipDesign>
<sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
- <sonar.sources>.</sonar.sources>
+ <sonar.sources>.</sonar.sources>
<sonar.exclusions>**/scripts/**/*</sonar.exclusions>
- <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
- <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
-
- <!--nexus-->
- <nexus.proxy>https://nexus.openecomp.org</nexus.proxy>
+ <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
+ <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
+
+ <!--nexus-->
+ <nexus.proxy>https://nexus.openecomp.org</nexus.proxy>
+ <staging.profile.id>176c31dfe190a</staging.profile.id>
</properties>
<reporting>
@@ -577,15 +578,15 @@
</dependencies>
</plugin>
- <plugin>
- <groupId>io.wcm.maven.plugins</groupId>
- <artifactId>nodejs-maven-plugin</artifactId>
- <configuration>
- <npmVersion>4.3.0</npmVersion>
- <nodeJsVersion>7.5.0</nodeJsVersion>
- <nodeJsDirectory>/tmp/nodejs</nodeJsDirectory>
- </configuration>
- </plugin>
+ <plugin>
+ <groupId>io.wcm.maven.plugins</groupId>
+ <artifactId>nodejs-maven-plugin</artifactId>
+ <configuration>
+ <npmVersion>4.3.0</npmVersion>
+ <nodeJsVersion>7.5.0</nodeJsVersion>
+ <nodeJsDirectory>/tmp/nodejs</nodeJsDirectory>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -711,8 +712,18 @@
</executions>
</plugin>
-
-
+ <!-- Staging Plugin -->
+ <plugin>
+ <groupId>org.sonatype.plugins</groupId>
+ <artifactId>nexus-staging-maven-plugin</artifactId>
+ <version>1.6.7</version>
+ <extensions>true</extensions>
+ <configuration>
+ <nexusUrl>${nexus.proxy}</nexusUrl>
+ <stagingProfileId>${staging.profile.id}</stagingProfileId>
+ <serverId>ecomp-staging</serverId>
+ </configuration>
+ </plugin>
<!-- license plugin -->
<plugin>
@@ -780,69 +791,69 @@
- <repositories>
- <repository>
- <id>virtuos</id>
- <name>Virtuos</name>
- <url>http://nexus.virtuos.uos.de/nexus/content/repositories/public/</url>
- <layout>default</layout>
- </repository>
- <repository>
- <id>apache-public</id>
- <name>Apache-Public</name>
- <url>https://repository.apache.org/content/groups/public/</url>
- <layout>default</layout>
- </repository>
- <repository>
- <id>elasticsearch-releases</id>
- <url>https://maven.elasticsearch.org/releases</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>central</id>
- <name>Official Maven repository</name>
- <url>http://repo2.maven.org/maven2/</url>
- </repository>
- <repository>
- <id>ecomp-releases</id>
- <name>Release Repository</name>
- <url>${nexus.proxy}/content/repositories/releases/</url>
- </repository>
- <repository>
- <id>ecomp-staging</id>
- <name>Staging Repository</name>
- <url>${nexus.proxy}/content/repositories/staging/</url>
- </repository>
- <repository>
- <id>node</id>
- <name>Node</name>
- <url>https://maven-nodejs-proxy.pvtool.org/</url>
- </repository>
- <repository>
- <id>ecomp-snapshots</id>
- <name>Snapshots Repository</name>
- <url>${nexus.proxy}/content/repositories/snapshots/</url>
- </repository>
- </repositories>
-
- <distributionManagement>
-
- <repository>
- <id>ecomp-releases</id>
- <name>Release Repository</name>
- <url>${nexus.proxy}/content/repositories/releases/</url>
- </repository>
- <snapshotRepository>
- <id>ecomp-snapshots</id>
- <name>Snapshot Repository</name>
- <url>${nexus.proxy}/content/repositories/snapshots/</url>
- </snapshotRepository>
-
- </distributionManagement>
-</project>
+ <repositories>
+ <repository>
+ <id>virtuos</id>
+ <name>Virtuos</name>
+ <url>http://nexus.virtuos.uos.de/nexus/content/repositories/public/</url>
+ <layout>default</layout>
+ </repository>
+ <repository>
+ <id>apache-public</id>
+ <name>Apache-Public</name>
+ <url>https://repository.apache.org/content/groups/public/</url>
+ <layout>default</layout>
+ </repository>
+ <repository>
+ <id>elasticsearch-releases</id>
+ <url>https://maven.elasticsearch.org/releases</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>central</id>
+ <name>Official Maven repository</name>
+ <url>http://repo2.maven.org/maven2/</url>
+ </repository>
+ <repository>
+ <id>ecomp-releases</id>
+ <name>Release Repository</name>
+ <url>${nexus.proxy}/content/repositories/releases/</url>
+ </repository>
+ <repository>
+ <id>ecomp-staging</id>
+ <name>Staging Repository</name>
+ <url>${nexus.proxy}/content/repositories/staging/</url>
+ </repository>
+ <repository>
+ <id>ecomp-snapshots</id>
+ <name>Snapshots Repository</name>
+ <url>${nexus.proxy}/content/repositories/snapshots/</url>
+ </repository>
+ <repository>
+ <id>node</id>
+ <name>Node</name>
+ <url>https://maven-nodejs-proxy.pvtool.org/</url>
+ </repository>
+ </repositories>
+
+ <distributionManagement>
+
+ <repository>
+ <id>ecomp-releases</id>
+ <name>Release Repository</name>
+ <url>${nexus.proxy}/content/repositories/releases/</url>
+ </repository>
+ <snapshotRepository>
+ <id>ecomp-snapshots</id>
+ <name>Snapshot Repository</name>
+ <url>${nexus.proxy}/content/repositories/snapshots/</url>
+ </snapshotRepository>
+
+ </distributionManagement>
+ </project>