blob: e0aa7e08de4f34e95d839f438c536db779707eab [file] [log] [blame]
jimmydot3982f4f2017-05-07 14:58:24 -04001<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>
4
5 <parent>
6 <groupId>org.openecomp.vid</groupId>
7 <artifactId>vid-parent</artifactId>
8 <version>1.0.0</version>
9 </parent>
10
11 <packaging>pom</packaging>
12 <groupId>org.openecomp.vid</groupId>
13 <artifactId>vid-deliveries</artifactId>
14
15 <name>VID Deliveries</name>
16 <description>ECOMP VID Deliveries</description>
17 <properties>
18 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
20 <docker.push.registry>${docker_registry}</docker.push.registry>
21 <docker.verbose>true</docker.verbose>
22 </properties>
23
24 <build>
25 <finalName>${project.artifactId}-${project.version}</finalName>
26 <plugins>
27 <plugin>
28 <groupId>io.fabric8</groupId>
29 <artifactId>docker-maven-plugin</artifactId>
30 <version>0.16.5</version>
31
32 <configuration>
33 <verbose>true</verbose>
34
35 <apiVersion>1.23</apiVersion>
36 <images>
37 <image>
38 <name>openecomp/vid:${project.version}</name>
39 <build>
40 <cleanup>remove</cleanup>
41 <dockerFileDir>docker-files</dockerFileDir>
42 <assembly>
43 <basedir>/</basedir>
44 <user>vidadmin:vidadmin:vidadmin</user>
45 <descriptor>assembly/assembly-for-plugin.xml</descriptor>
46 </assembly>
47 <tags>
jimmydotbf9dd442017-05-08 15:12:21 -040048 <tag>1.1-STAGING-latest</tag>
jimmydot3982f4f2017-05-07 14:58:24 -040049 </tags>
50
51 </build>
52 </image>
53 </images>
54 </configuration>
55
56 <executions>
57 <execution>
58 <id>generate-image</id>
59 <phase>deploy</phase>
60 <goals>
61 <goal>build</goal>
62 </goals>
63 </execution>
64
65 <execution>
66 <id>push-image</id>
67 <phase>deploy</phase>
68 <goals>
69 <goal>build</goal>
70 <goal>push</goal>
71 </goals>
72 </execution>
73 </executions>
74
75 </plugin>
76
77 <plugin>
78 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-deploy-plugin</artifactId>
80 <version>2.8</version>
81 <configuration>
82 <skip>true</skip>
83 </configuration>
84 </plugin>
85 </plugins>
86 </build>
87
88</project>