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-root</artifactId>
8 <version>1.6.1-SNAPSHOT</version>
11 <artifactId>distribution-ubuntu</artifactId>
12 <packaging>pom</packaging>
14 <name>ccsdk-distribution :: ubuntu</name>
15 <description>Creates base ubuntu Docker container</description>
17 <name>openECOMP</name>
21 <image.name>onap/ccsdk-ubuntu-image</image.name>
27 <groupId>org.codehaus.gmaven</groupId>
28 <artifactId>groovy-maven-plugin</artifactId>
29 <version>2.1.1</version>
32 <phase>validate</phase>
37 <source>${basedir}/../src/main/scripts/TagVersion.groovy</source>
44 <artifactId>maven-resources-plugin</artifactId>
45 <version>2.6</version>
48 <id>copy-dockerfile</id>
50 <goal>copy-resources</goal>
51 </goals><!-- here the phase you need -->
52 <phase>validate</phase>
54 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
57 <directory>src/main/docker</directory>
59 <include>Dockerfile</include>
61 <filtering>true</filtering>
77 <groupId>io.fabric8</groupId>
78 <artifactId>docker-maven-plugin</artifactId>
79 <version>0.34.0</version>
80 <inherited>false</inherited>
84 <name>${image.name}</name>
86 <cleanup>try</cleanup>
87 <noCache>true</noCache>
88 <contextDir>${basedir}/target/docker-stage</contextDir>
89 <dockerFile>Dockerfile</dockerFile>
91 <tag>${project.docker.latestminortag.version}</tag>
92 <tag>${project.docker.latestfulltag.version}</tag>
93 <tag>${project.docker.latesttagtimestamp.version}</tag>
98 <verbose>${docker.verbose}</verbose>
99 <skipPush>${docker.skip.push}</skipPush>
103 <id>build-push-images</id>