summaryrefslogtreecommitdiffstats
path: root/artifactbroker/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'artifactbroker/pom.xml')
-rw-r--r--artifactbroker/pom.xml85
1 files changed, 0 insertions, 85 deletions
diff --git a/artifactbroker/pom.xml b/artifactbroker/pom.xml
index 66cb5da..ef01d80 100644
--- a/artifactbroker/pom.xml
+++ b/artifactbroker/pom.xml
@@ -226,89 +226,4 @@
</plugins>
</pluginManagement>
</build>
- <profiles>
- <profile>
- <id>docker</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>3.1.0</version>
- <executions>
- <execution>
- <id>copy-resources</id>
- <phase>install</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <overwrite>true</overwrite>
- <nonFilteredFileExtensions>
- <nonFilteredFileExtension>zip</nonFilteredFileExtension>
- <nonFilteredFileExtension>jar</nonFilteredFileExtension>
- </nonFilteredFileExtensions>
- <outputDirectory>${project.basedir}/docker_target</outputDirectory>
- <resources>
- <resource>
- <directory>${project.basedir}/docker</directory>
- <filtering>true</filtering>
- </resource>
- <resource>
- <directory>${project.basedir}/packages/target</directory>
- <filtering>true</filtering>
- <includes>
- <include>*.zip</include>
- <include>*.jar</include>
- </includes>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.6</version>
- <executions>
- <execution>
- <phase>install</phase>
- <inherited>false</inherited>
- <configuration>
- <target>
- <exec executable="docker">
- <arg value="build"/>
- <arg value="-t"/>
- <arg value="${CONTAINER_PUSH_REGISTRY}/onap/multicloud/framework-artifactbroker:${project.version}"/>
- <arg value="docker_target"/>
- </exec>
- <exec executable="docker">
- <arg value="tag"/>
- <arg value="${CONTAINER_PUSH_REGISTRY}/onap/multicloud/framework-artifactbroker:${project.version}"/>
- <arg value="${CONTAINER_PUSH_REGISTRY}/onap/multicloud/framework-artifactbroker:latest"/>
- </exec>
- <exec executable="docker">
- <arg value="push"/>
- <arg value="${CONTAINER_PUSH_REGISTRY}/onap/multicloud/framework-artifactbroker:${project.version}"/>
- </exec>
- <exec executable="docker">
- <arg value="push"/>
- <arg value="${CONTAINER_PUSH_REGISTRY}/onap/multicloud/framework-artifactbroker:latest"/>
- </exec>
- </target>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- </profile>
- </profiles>
</project>