blob: eec337a5b010f1e110ec21edce96fc452b95bd1a [file] [log] [blame]
ChrisC025301d2017-01-31 11:40:03 +01001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Anaël Clossonf15b97e2017-02-08 10:46:48 +01002 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
ChrisC025301d2017-01-31 11:40:03 +01003 <modelVersion>4.0.0</modelVersion>
4
5 <parent>
6 <groupId>org.openecomp.mso</groupId>
7 <artifactId>packages</artifactId>
8 <version>0.0.4-SNAPSHOT</version>
9 </parent>
10
11 <packaging>pom</packaging>
Anaël Clossonf09c7412017-02-08 10:56:20 +010012 <groupId>org.openecomp.mso</groupId>
ChrisC025301d2017-01-31 11:40:03 +010013 <artifactId>docker</artifactId>
14
15 <name>MSO Docker Deliveries</name>
16 <description>ECOMP MSO Docker Deliveries</description>
17
18 <properties>
19 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
21 </properties>
22
23 <build>
24 <finalName>${project.artifactId}-${project.version}</finalName>
25 <plugins>
26 <plugin>
27 <groupId>io.fabric8</groupId>
28 <artifactId>docker-maven-plugin</artifactId>
29 <version>0.16.5</version>
30
31 <configuration>
32 <verbose>true</verbose>
33 <apiVersion>1.23</apiVersion>
Anaël Clossonf15b97e2017-02-08 10:46:48 +010034
ChrisC025301d2017-01-31 11:40:03 +010035 <images>
36 <image>
37 <name>ecomp/jacoco:1.0</name>
38 <alias>jacoco</alias>
39 <build>
40 <cleanup>try</cleanup>
41 <dockerFileDir>docker-files</dockerFileDir>
42 <dockerFile>docker-files/Dockerfile.jacoco</dockerFile>
Anaël Clossonf15b97e2017-02-08 10:46:48 +010043
ChrisC025301d2017-01-31 11:40:03 +010044 </build>
45 </image>
46 <image>
47 <name>ecomp/ubuntu-update:1.0</name>
48 <alias>ubuntu-update</alias>
49 <build>
50
51 <cleanup>try</cleanup>
52 <dockerFileDir>docker-files</dockerFileDir>
53 <dockerFile>docker-files/Dockerfile.ubuntu-16.04-update</dockerFile>
Anaël Clossonf15b97e2017-02-08 10:46:48 +010054
ChrisC025301d2017-01-31 11:40:03 +010055 </build>
56 </image>
57 <image>
58 <name>ecomp/wildfly:1.0</name>
59 <alias>wildfly</alias>
60 <build>
61
62 <cleanup>try</cleanup>
63 <dockerFileDir>docker-files</dockerFileDir>
64 <dockerFile>docker-files/Dockerfile.wildfly-10</dockerFile>
Anaël Clossonf15b97e2017-02-08 10:46:48 +010065
ChrisC025301d2017-01-31 11:40:03 +010066 </build>
67 </image>
68 <image>
69 <name>ecomp/mso-arquillian:%l</name>
70 <alias>mso-arquillian</alias>
71 <build>
72
73 <cleanup>try</cleanup>
74 <dockerFileDir>docker-files</dockerFileDir>
75 <dockerFile>docker-files/Dockerfile.mso-arquillian</dockerFile>
Anaël Clossonf15b97e2017-02-08 10:46:48 +010076
ChrisC025301d2017-01-31 11:40:03 +010077 </build>
78 </image>
79 <image>
80 <name>ecomp/mso:%l</name>
81 <alias>mso</alias>
82 <build>
83
84 <cleanup>try</cleanup>
85 <dockerFileDir>docker-files</dockerFileDir>
86 <dockerFile>docker-files/Dockerfile.mso-chef-final</dockerFile>
87 <assembly>
88 <basedir>/</basedir>
89
90 <user>jboss:jboss:jboss</user>
91 <basedir>/opt/jboss/wildfly/standalone/deployments</basedir>
92 <descriptor>../../../../deliveries/src/main/assembly/war-pack/mso-wars.xml</descriptor>
93 </assembly>
94 </build>
95 </image>
96
ChrisC025301d2017-01-31 11:40:03 +010097 </images>
98 </configuration>
99 <executions>
100 <execution>
101 <id>clean-images</id>
102 <phase>pre-clean</phase>
103 <goals>
104 <goal>remove</goal>
105 </goals>
106 <configuration>
Anaël Clossonf15b97e2017-02-08 10:46:48 +0100107 <removeAll>true</removeAll>
ChrisC025301d2017-01-31 11:40:03 +0100108 <image>ecomp/mso-arquillian:%l,ecomp/mso:%l</image>
109 </configuration>
110 </execution>
Anaël Clossonf15b97e2017-02-08 10:46:48 +0100111
ChrisC025301d2017-01-31 11:40:03 +0100112 <execution>
113 <id>generate-images</id>
114 <phase>generate-sources</phase>
115 <goals>
116 <goal>build</goal>
117 </goals>
118 </execution>
119
120 <execution>
121 <id>push-images</id>
122 <phase>deploy</phase>
123 <goals>
124 <goal>build</goal>
125 <goal>push</goal>
126 </goals>
127 <configuration>
128 <image>ecomp/mso-arquillian:%l,ecomp/mso:%l,ecomp/jacoco:1.0</image>
129 </configuration>
130 </execution>
131 </executions>
132
133 </plugin>
134
135 <plugin>
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-deploy-plugin</artifactId>
138 <version>2.8</version>
139 <configuration>
140 <skip>true</skip>
141 </configuration>
142 </plugin>
143 </plugins>
144 </build>
145
Anaël Clossonf15b97e2017-02-08 10:46:48 +0100146</project>