diff options
-rw-r--r-- | pom.xml | 25 | ||||
-rw-r--r-- | version.properties | 4 |
2 files changed, 27 insertions, 2 deletions
@@ -40,8 +40,21 @@ <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath> <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero> <sonar.projectVersion>${project.version}</sonar.projectVersion> + <nexusproxy>https://nexus.openecomp.org</nexusproxy> </properties> + <distributionManagement> + <repository> + <id>ecomp-releases</id> + <name>ECOMP Release Repository</name> + <url>${nexusproxy}/content/repositories/releases/</url> + </repository> + <snapshotRepository> + <id>ecomp-snapshots</id> + <name>ECOMP Snapshot Repository</name> + <url>${nexusproxy}/content/repositories/snapshots/</url> + </snapshotRepository> + </distributionManagement> <dependencies> <dependency> <groupId>org.mockito</groupId> @@ -383,6 +396,18 @@ </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> diff --git a/version.properties b/version.properties index 903df0e..7007af0 100644 --- a/version.properties +++ b/version.properties @@ -22,8 +22,8 @@ # Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... ) # because they are used in Jenkins, whose plug-in doesn't support -major=0 -minor=9 +major=1 +minor=0 patch=0 base_version=${major}.${minor}.${patch} |