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/maven-v4_0_0.xsd">
5 <groupId>org.onap.ccsdk.parent</groupId>
6 <artifactId>odlparent-lite</artifactId>
7 <version>1.5.2</version>
9 <modelVersion>4.0.0</modelVersion>
10 <packaging>pom</packaging>
11 <groupId>org.onap.sdnc.oam</groupId>
12 <artifactId>installation-ansible-server</artifactId>
13 <version>1.8.1-SNAPSHOT</version>
15 <name>sdnc-oam :: installation :: ${project.artifactId}</name>
16 <description>Creates ansible-server Docker container</description>
19 <image.name>onap/sdnc-ansible-server-image</image.name>
20 <sdnc.project.version>${project.version}</sdnc.project.version>
21 <sdnc.build.timestamp>${maven.build.timestamp}</sdnc.build.timestamp>
22 <ccsdk.docker.version>0.7-STAGING-latest</ccsdk.docker.version>
23 <docker.buildArg.https_proxy>${https_proxy}</docker.buildArg.https_proxy>
24 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
31 <groupId>org.codehaus.groovy.maven</groupId>
32 <artifactId>gmaven-plugin</artifactId>
35 <phase>validate</phase>
40 <source>${basedir}/../TagVersion.groovy</source>
47 <artifactId>maven-resources-plugin</artifactId>
48 <version>2.6</version>
53 <goal>copy-resources</goal>
54 </goals><!-- here the phase you need -->
55 <phase>validate</phase>
57 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
60 <directory>src/main</directory>
62 <include>**/*</include>
64 <filtering>false</filtering>
80 <groupId>io.fabric8</groupId>
81 <artifactId>docker-maven-plugin</artifactId>
82 <version>0.28.0</version>
83 <inherited>false</inherited>
87 <name>${image.name}</name>
89 <cleanup>try</cleanup>
90 <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
91 <dockerFile>Dockerfile</dockerFile>
93 <tag>${project.docker.latestminortag.version}</tag>
94 <tag>${project.docker.latestfulltag.version}</tag>
95 <tag>${project.docker.latesttagtimestamp.version}</tag>
103 <id>generate-images</id>
104 <phase>package</phase>
112 <phase>deploy</phase>