1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 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.openecomp.mso</groupId>
7 <artifactId>packages</artifactId>
8 <version>0.0.4-SNAPSHOT</version>
11 <packaging>pom</packaging>
12 <groupId>org.openecomp.mso</groupId>
13 <artifactId>docker</artifactId>
15 <name>MSO Docker Deliveries</name>
16 <description>OpenECOMP MSO Docker Deliveries</description>
19 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
24 <finalName>${project.artifactId}-${project.version}</finalName>
27 <groupId>org.apache.maven.plugins</groupId>
28 <artifactId>maven-scm-plugin</artifactId>
29 <version>1.9.5</version>
32 <id>chef-repo-checkout</id>
36 <phase>initialize</phase>
38 <connectionUrl>scm:git:ssh://gerrit.openecomp.org:29418/mso/chef-repo</connectionUrl>
39 <checkoutDirectory>src/main/docker/docker-files/chef-configs/chef-repo</checkoutDirectory>
40 <scmVersion>master</scmVersion>
41 <scmVersionType>branch</scmVersionType>
42 <skipCheckoutIfExists>true</skipCheckoutIfExists>
43 <pushChanges>false</pushChanges>
47 <id>mso-config-checkout</id>
51 <phase>initialize</phase>
53 <connectionUrl>scm:git:ssh://gerrit.openecomp.org:29418/mso/mso-config</connectionUrl>
54 <checkoutDirectory>src/main/docker/docker-files/chef-configs/mso-config</checkoutDirectory>
55 <scmVersion>master</scmVersion>
56 <scmVersionType>branch</scmVersionType>
57 <skipCheckoutIfExists>true</skipCheckoutIfExists>
58 <pushChanges>false</pushChanges>
64 <groupId>io.fabric8</groupId>
65 <artifactId>docker-maven-plugin</artifactId>
66 <version>0.16.5</version>
69 <verbose>true</verbose>
70 <apiVersion>1.23</apiVersion>
74 <name>openecomp/jacoco:1.0</name>
77 <cleanup>try</cleanup>
78 <dockerFileDir>docker-files</dockerFileDir>
79 <dockerFile>docker-files/Dockerfile.jacoco</dockerFile>
84 <name>openecomp/ubuntu-update:1.0</name>
85 <alias>ubuntu-update</alias>
88 <cleanup>try</cleanup>
89 <dockerFileDir>docker-files</dockerFileDir>
90 <dockerFile>docker-files/Dockerfile.ubuntu-16.04-update</dockerFile>
95 <name>openecomp/wildfly:1.0</name>
96 <alias>wildfly</alias>
99 <cleanup>try</cleanup>
100 <dockerFileDir>docker-files</dockerFileDir>
101 <dockerFile>docker-files/Dockerfile.wildfly-10</dockerFile>
106 <name>openecomp/mso-arquillian:%l</name>
107 <alias>mso-arquillian</alias>
110 <cleanup>try</cleanup>
111 <dockerFileDir>docker-files</dockerFileDir>
112 <dockerFile>docker-files/Dockerfile.mso-arquillian</dockerFile>
117 <name>openecomp/mso:%l</name>
121 <cleanup>try</cleanup>
122 <dockerFileDir>docker-files</dockerFileDir>
123 <dockerFile>docker-files/Dockerfile.mso-chef-final</dockerFile>
127 <user>jboss:jboss:jboss</user>
128 <basedir>/opt/jboss/wildfly/standalone/deployments</basedir>
129 <descriptor>../../../../deliveries/src/main/assembly/war-pack/mso-wars.xml</descriptor>
138 <id>clean-images</id>
139 <phase>pre-clean</phase>
144 <removeAll>true</removeAll>
145 <image>openecomp/mso-arquillian:%l,openecomp/mso:%l</image>
150 <id>generate-images</id>
151 <phase>generate-sources</phase>
159 <phase>deploy</phase>
165 <image>openecomp/mso-arquillian:%l,openecomp/mso:%l,openecomp/jacoco:1.0</image>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-deploy-plugin</artifactId>
175 <version>2.8</version>