jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 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>
|
| 4 |
|
| 5 | <parent>
|
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 6 | <groupId>org.onap.vid</groupId>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 7 | <artifactId>vid-parent</artifactId>
|
Krzysztof Kwiecien | 4c1fe21 | 2017-07-21 11:37:05 +0200 | [diff] [blame] | 8 | <version>1.1.0-SNAPSHOT</version>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 9 | </parent>
|
| 10 |
|
| 11 | <packaging>pom</packaging>
|
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 12 | <groupId>org.onap.vid</groupId>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 13 | <artifactId>vid-deliveries</artifactId>
|
| 14 |
|
| 15 | <name>VID Deliveries</name>
|
Sonsino, Ofir (os0695) | e40ad0f | 2018-09-12 14:48:55 +0300 | [diff] [blame] | 16 | <description>ONAP VID Deliveries</description>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 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 |
|
kurczews | 501f9f4 | 2018-08-09 07:58:33 +0200 | [diff] [blame] | 24 | <profiles>
|
| 25 |
|
| 26 | <profile>
|
| 27 | <id>docker-proxy</id>
|
| 28 | <!-- activate profile if environment variable `http_proxy` is set -->
|
| 29 | <activation>
|
| 30 | <property>
|
| 31 | <name>env.http_proxy</name>
|
| 32 | </property>
|
| 33 | </activation>
|
| 34 | <properties>
|
| 35 | <docker.buildArg.http_proxy>${env.http_proxy}</docker.buildArg.http_proxy>
|
| 36 | </properties>
|
| 37 | </profile>
|
| 38 |
|
| 39 | </profiles>
|
| 40 |
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 41 | <build>
|
| 42 | <finalName>${project.artifactId}-${project.version}</finalName>
|
| 43 | <plugins>
|
| 44 | <plugin>
|
| 45 | <groupId>io.fabric8</groupId>
|
| 46 | <artifactId>docker-maven-plugin</artifactId>
|
| 47 | <version>0.16.5</version>
|
| 48 |
|
| 49 | <configuration>
|
| 50 | <verbose>true</verbose>
|
| 51 |
|
| 52 | <apiVersion>1.23</apiVersion>
|
| 53 | <images>
|
| 54 | <image>
|
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 55 | <name>onap/vid:${project.version}</name>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 56 | <build>
|
| 57 | <cleanup>remove</cleanup>
|
| 58 | <dockerFileDir>docker-files</dockerFileDir>
|
| 59 | <assembly>
|
| 60 | <basedir>/</basedir>
|
| 61 | <user>vidadmin:vidadmin:vidadmin</user>
|
| 62 | <descriptor>assembly/assembly-for-plugin.xml</descriptor>
|
| 63 | </assembly>
|
| 64 | <tags>
|
Sonsino, Ofir (os0695) | ba59d12 | 2018-08-26 14:51:39 +0300 | [diff] [blame] | 65 | <tag>3.0-STAGING-latest</tag>
|
Sonsino, Ofir (os0695) | e40ad0f | 2018-09-12 14:48:55 +0300 | [diff] [blame] | 66 | <tag>latest</tag>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 67 | </tags>
|
| 68 |
|
| 69 | </build>
|
| 70 | </image>
|
| 71 | </images>
|
| 72 | </configuration>
|
| 73 |
|
| 74 | <executions>
|
| 75 | <execution>
|
| 76 | <id>generate-image</id>
|
Gary Wu | f4760b4 | 2017-06-14 14:05:22 -0700 | [diff] [blame] | 77 | <phase>package</phase>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 78 | <goals>
|
| 79 | <goal>build</goal>
|
| 80 | </goals>
|
| 81 | </execution>
|
| 82 |
|
| 83 | <execution>
|
| 84 | <id>push-image</id>
|
| 85 | <phase>deploy</phase>
|
| 86 | <goals>
|
| 87 | <goal>build</goal>
|
| 88 | <goal>push</goal>
|
| 89 | </goals>
|
| 90 | </execution>
|
| 91 | </executions>
|
| 92 |
|
| 93 | </plugin>
|
| 94 |
|
| 95 | <plugin>
|
| 96 | <groupId>org.apache.maven.plugins</groupId>
|
| 97 | <artifactId>maven-deploy-plugin</artifactId>
|
| 98 | <version>2.8</version>
|
| 99 | <configuration>
|
| 100 | <skip>true</skip>
|
| 101 | </configuration>
|
| 102 | </plugin>
|
| 103 | </plugins>
|
| 104 | </build>
|
| 105 |
|
| 106 | </project>
|