blob: 857d0be0429a0a5046b7da55261c9d8b8e094053 [file] [log] [blame]
DR695H13ce0552017-02-07 13:11:03 -05001<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.att.ecomp</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 <authConfig>
35 <username>${docker.login}</username>
36 <password>${docker.password}</password>
37 </authConfig>
38
39 <apiVersion>1.23</apiVersion>
40 <images>
41 <image>
42 <name>ecomp/vid:${project.version}</name>
43 <build>
44 <cleanup>remove</cleanup>
45 <dockerFileDir>docker-files</dockerFileDir>
46 <assembly>
47 <basedir>/</basedir>
48 <user>vidadmin:vidadmin:vidadmin</user>
49 <descriptor>assembly/assembly-for-plugin.xml</descriptor>
50 </assembly>
51 </build>
52 </image>
53 </images>
54 </configuration>
55
56 <executions>
57 <execution>
58 <id>generate-image</id>
59 <phase>generate-sources</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>