blob: b047e2deebc07272d80384859337e85c8957a8c0 [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>
Ofir Sonsino1cfb0872018-01-31 17:19:00 +02006 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -04007 <artifactId>vid-parent</artifactId>
Krzysztof Kwiecien4c1fe212017-07-21 11:37:05 +02008 <version>1.1.0-SNAPSHOT</version>
jimmydot3982f4f2017-05-07 14:58:24 -04009 </parent>
10
11 <packaging>pom</packaging>
Ofir Sonsino1cfb0872018-01-31 17:19:00 +020012 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -040013 <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>
Ofir Sonsino1cfb0872018-01-31 17:19:00 +020038 <name>onap/vid:${project.version}</name>
jimmydot3982f4f2017-05-07 14:58:24 -040039 <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>
Sonsino, Ofir (os0695)e33819d2018-05-28 19:08:44 +030048 <tag>2.0-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>
Gary Wuf4760b42017-06-14 14:05:22 -070059 <phase>package</phase>
jimmydot3982f4f2017-05-07 14:58:24 -040060 <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>