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.1.1-SNAPSHOT</version>
11 <groupId>org.onap.sdnc.oam</groupId>
12 <artifactId>installation-ansible-server</artifactId>
13 <version>2.1.1-SNAPSHOT</version>
14 <packaging>pom</packaging>
16 <name>sdnc-oam :: installation :: ${project.artifactId}</name>
17 <description>Creates ansible-server Docker container</description>
23 <image.name>onap/sdnc-ansible-server-image</image.name>
24 <sdnc.project.version>${project.version}</sdnc.project.version>
25 <sdnc.build.timestamp>${maven.build.timestamp}</sdnc.build.timestamp>
26 <ccsdk.docker.version>1.0-STAGING-latest</ccsdk.docker.version>
27 <docker.buildArg.https_proxy>${https_proxy}</docker.buildArg.https_proxy>
28 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
34 <groupId>org.codehaus.groovy.maven</groupId>
35 <artifactId>gmaven-plugin</artifactId>
38 <phase>validate</phase>
43 <source>${basedir}/../TagVersion.groovy</source>
50 <artifactId>maven-resources-plugin</artifactId>
51 <version>2.6</version>
56 <goal>copy-resources</goal>
57 </goals><!-- here the phase you need -->
58 <phase>validate</phase>
60 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
63 <directory>src/main</directory>
65 <include>**/*</include>
67 <filtering>false</filtering>
83 <groupId>io.fabric8</groupId>
84 <artifactId>docker-maven-plugin</artifactId>
85 <version>0.28.0</version>
86 <inherited>false</inherited>
90 <name>${image.name}</name>
92 <cleanup>try</cleanup>
93 <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
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>
106 <id>generate-images</id>
107 <phase>package</phase>
115 <phase>deploy</phase>