1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.onap.ccsdk.distribution</groupId>
7 <artifactId>distribution-alpine-root</artifactId>
8 <version>1.2.0-SNAPSHOT</version>
11 <artifactId>distribution-j11-alpine</artifactId>
12 <packaging>pom</packaging>
14 <name>ccsdk-distribution :: alpine :: java11</name>
15 <description>Creates base alpine Docker container</description>
17 <name>openECOMP</name>
21 <image.name>onap/ccsdk-alpine-j11-image</image.name>
22 <base.image>onap/integration-java11</base.image>
23 <base.image.version>8.0.0</base.image.version>
29 <groupId>org.codehaus.groovy.maven</groupId>
30 <artifactId>gmaven-plugin</artifactId>
31 <version>1.0</version>
34 <phase>validate</phase>
39 <source>${basedir}/../../src/main/scripts/TagVersion.groovy</source>
45 <artifactId>maven-resources-plugin</artifactId>
46 <version>2.6</version>
49 <id>copy-dockerfile</id>
51 <goal>copy-resources</goal>
52 </goals><!-- here the phase you need -->
53 <phase>validate</phase>
55 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
58 <directory>src/main/docker</directory>
60 <include>Dockerfile</include>
62 <filtering>true</filtering>
78 <groupId>io.fabric8</groupId>
79 <artifactId>docker-maven-plugin</artifactId>
80 <version>0.34.0</version>
81 <inherited>false</inherited>
85 <name>${image.name}</name>
87 <cleanup>try</cleanup>
88 <noCache>true</noCache>
89 <contextDir>${basedir}/target/docker-stage</contextDir>
90 <dockerFile>Dockerfile</dockerFile>
92 <tag>${project.docker.latestminortag.version}</tag>
93 <tag>${project.docker.latestfulltag.version}</tag>
94 <tag>${project.docker.latesttagtimestamp.version}</tag>
99 <verbose>${docker.verbose}</verbose>
100 <skipPush>${docker.skip.push}</skipPush>
104 <id>build-push-images</id>