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.sdnc.oam</groupId>
7 <artifactId>installation</artifactId>
8 <version>2.5.6-SNAPSHOT</version>
11 <artifactId>installation-ansible-server</artifactId>
12 <packaging>pom</packaging>
14 <name>sdnc-oam :: installation :: ${project.artifactId}</name>
15 <description>Creates ansible-server Docker container</description>
21 <image.name>onap/sdnc-ansible-server-image</image.name>
22 <sdnc.project.version>${project.version}</sdnc.project.version>
23 <sdnc.build.timestamp>${maven.build.timestamp}</sdnc.build.timestamp>
24 <ccsdk.docker.version>${ccsdk.docker.ansible.server.version}</ccsdk.docker.version>
25 <docker.buildArg.https_proxy>${https_proxy}</docker.buildArg.https_proxy>
26 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
32 <groupId>org.codehaus.gmaven</groupId>
33 <artifactId>groovy-maven-plugin</artifactId>
34 <version>2.1.1</version>
37 <phase>validate</phase>
42 <source>${basedir}/../TagVersion.groovy</source>
49 <artifactId>maven-resources-plugin</artifactId>
50 <version>2.6</version>
55 <goal>copy-resources</goal>
56 </goals><!-- here the phase you need -->
57 <phase>validate</phase>
59 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
62 <directory>src/main</directory>
64 <include>**/*</include>
66 <filtering>true</filtering>
82 <groupId>io.fabric8</groupId>
83 <artifactId>docker-maven-plugin</artifactId>
84 <version>0.34.0</version>
85 <inherited>false</inherited>
89 <name>${image.name}</name>
91 <cleanup>try</cleanup>
92 <noCache>true</noCache>
93 <contextDir>${basedir}/target/docker-stage</contextDir>
94 <dockerFile>Dockerfile</dockerFile>
96 <tag>${project.docker.latestminortag.version}</tag>
97 <tag>${project.docker.latestfulltag.version}</tag>
98 <tag>${project.docker.latesttagtimestamp.version}</tag>
103 <verbose>${docker.verbose}</verbose>
104 <skipPush>${docker.skip.push}</skipPush>
108 <id>build-push-images</id>