<description>Creates APPC Docker container on top of the SDNC Base Docker Image</description>
<properties>
- <image.name>ecomp/appc-image</image.name>
+ <image.name>openecomp/appc-image</image.name>
<appc.version>${project.version}</appc.version>
+ <!--This version will be over-ridden by jenkins
+ injecting the version.properties variable file during docker build-->
+ <appc.docker.staging.version>0.0.1</appc.docker.staging.version>
+ <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
</properties>
<dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
<dockerFile>${basedir}/target/docker-stage/Dockerfile</dockerFile>
<tags>
- <tag>${project.version}</tag>
+ <tag>${appc.docker.staging.version}-STAGING-${maven.build.timestamp}</tag>
<tag>latest</tag>
</tags>
</build>
<parent>
<groupId>org.openecomp.sdnc.core</groupId>
<artifactId>root</artifactId>
- <version>1.0.0</version>
+ <version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<url>http://maven.restlet.com</url>
</pluginRepository>
</pluginRepositories>
+ <repositories>
+ <repository>
+ <id>ecomp-staging</id>
+ <name>ecomp Staging Repository</name>
+ <url>https://nexus.openecomp.org/content/repositories/staging/</url>
+ </repository>
+ </repositories>
<build>
<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.openecomp.org</nexusUrl>
+ <stagingProfileId>176c31dfe190a</stagingProfileId>
+ <serverId>ecomp-staging</serverId>
+ </configuration>
+ </plugin>
<!-- blackduck maven plugin -->
<plugin>
<groupId>com.blackducksoftware.integration</groupId>
<name>OpenECOMP</name>
</organization>
<version>1.0.0-SNAPSHOT</version>
-</project>
\ No newline at end of file
+</project>
# 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
-release_name=0
+release_name=1
sprint_number=0
-feature_revision=1
+feature_revision=0
base_version=${release_name}.${sprint_number}.${feature_revision}
release_version=${base_version}
snapshot_version=${base_version}-SNAPSHOT
-
+appc.docker.staging.version=${base_version}