diff options
-rw-r--r-- | test/mocks/pnfsimulator/pom.xml | 97 |
1 files changed, 1 insertions, 96 deletions
diff --git a/test/mocks/pnfsimulator/pom.xml b/test/mocks/pnfsimulator/pom.xml index e68ca8b2f..2803402f7 100644 --- a/test/mocks/pnfsimulator/pom.xml +++ b/test/mocks/pnfsimulator/pom.xml @@ -240,10 +240,8 @@ <version>1.0.0</version> <configuration> <registryUrl>${onap.nexus.dockerregistry.daily}</registryUrl> - <!-- - <serverId>${onap.nexus.dockerregistry.daily}</serverId> - --> <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}</imageName> + <forceTags>true</forceTags> <imageTags> <tag>latest</tag> <tag>${project.version}</tag> @@ -264,99 +262,6 @@ </resources> <forceTags>true</forceTags> </configuration> - <!-- - <executions> - <execution> - <id>build-image</id> - <phase>package</phase> - <goals> - <goal>build</goal> - </goals> - </execution> - <execution> - <id>tag-image-latest</id> - <phase>package</phase> - <goals> - <goal>tag</goal> - </goals> - <configuration> - <image>${docker.image.name}:latest</image> - <newName>${onap.nexus.dockerregistry.daily}/${docker.image.name}:latest</newName> - --> - <!-- WA in case push does not work at second job - to remove - <pushImage>true</pushImage> - --> - <!-- - </configuration> - </execution> - <execution> - <id>tag-image-with-version</id> - <phase>package</phase> - <goals> - <goal>tag</goal> - </goals> - <configuration> - <image>${docker.image.name}:latest</image> - <newName>${onap.nexus.dockerregistry.daily}/${docker.image.name}:${project.version}</newName> - </configuration> - </execution> - <execution> - <id>tag-image-with-version-and-date</id> - <phase>package</phase> - <goals> - <goal>tag</goal> - </goals> - <configuration> - <image>${docker.image.name}:latest</image> - <newName>${onap.nexus.dockerregistry.daily}/${docker.image.name}:${project.version}-${maven.build.timestamp}</newName> - </configuration> - </execution> - --> - <!-- testing pushing default imgae--> - <!-- - <execution> - <id>default</id> - <goals> - <goal>push</goal> - </goals> - <configuration> - <registryUrl>${onap.nexus.dockerregistry.daily}</registryUrl> - <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}:latest</imageName> - </configuration> - </execution> - - <execution> - <id>push-image-latest</id> - <phase>none</phase> - <goals> - <goal>push</goal> - </goals> - <configuration> - <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}:latest</imageName> - </configuration> - </execution> - <execution> - <id>push-image-with-version</id> - <phase>none</phase> - <goals> - <goal>push</goal> - </goals> - <configuration> - <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}:${project.version}</imageName> - </configuration> - </execution> - <execution> - <id>push-image-with-version-and-date</id> - <phase>none</phase> - <goals> - <goal>push</goal> - </goals> - <configuration> - <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}:${project.version}-${maven.build.timestamp}</imageName> - </configuration> - </execution> - </executions> - --> </plugin> <plugin> <groupId>org.jacoco</groupId> |