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.6.0-SNAPSHOT</version>
11 <artifactId>distribution-j17-alpine</artifactId>
12 <packaging>pom</packaging>
14 <name>ccsdk-distribution :: alpine :: java17</name>
15 <description>Creates base alpine Docker container</description>
17 <name>openECOMP</name>
21 <image.name>onap/ccsdk-alpine-j17-image</image.name>
22 <base.image>onap/integration-java17</base.image>
23 <base.image.version>12.0.0</base.image.version>
29 <groupId>org.codehaus.gmaven</groupId>
30 <artifactId>groovy-maven-plugin</artifactId>
31 <version>2.1.1</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>
68 <id>copy-certificates</id>
70 <goal>copy-resources</goal>
71 </goals><!-- here the phase you need -->
72 <phase>validate</phase>
74 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
77 <directory>src/main/resources</directory>
79 <include>*.pem</include>
80 <include>*.md</include>
82 <filtering>false</filtering>
98 <groupId>io.fabric8</groupId>
99 <artifactId>docker-maven-plugin</artifactId>
100 <version>0.34.0</version>
101 <inherited>false</inherited>
105 <name>${image.name}</name>
107 <cleanup>try</cleanup>
108 <noCache>true</noCache>
109 <contextDir>${basedir}/target/docker-stage</contextDir>
110 <dockerFile>Dockerfile</dockerFile>
112 <tag>${project.docker.latestminortag.version}</tag>
113 <tag>${project.docker.latestfulltag.version}</tag>
114 <tag>${project.docker.latesttagtimestamp.version}</tag>
119 <verbose>${docker.verbose}</verbose>
120 <skipPush>${docker.skip.push}</skipPush>
124 <id>build-push-images</id>