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>
|
| 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 |
|
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>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 66 | </tags>
|
| 67 |
|
| 68 | </build>
|
| 69 | </image>
|
| 70 | </images>
|
| 71 | </configuration>
|
| 72 |
|
| 73 | <executions>
|
| 74 | <execution>
|
| 75 | <id>generate-image</id>
|
Gary Wu | f4760b4 | 2017-06-14 14:05:22 -0700 | [diff] [blame] | 76 | <phase>package</phase>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 77 | <goals>
|
| 78 | <goal>build</goal>
|
| 79 | </goals>
|
| 80 | </execution>
|
| 81 |
|
| 82 | <execution>
|
| 83 | <id>push-image</id>
|
| 84 | <phase>deploy</phase>
|
| 85 | <goals>
|
| 86 | <goal>build</goal>
|
| 87 | <goal>push</goal>
|
| 88 | </goals>
|
| 89 | </execution>
|
| 90 | </executions>
|
| 91 |
|
| 92 | </plugin>
|
| 93 |
|
| 94 | <plugin>
|
| 95 | <groupId>org.apache.maven.plugins</groupId>
|
| 96 | <artifactId>maven-deploy-plugin</artifactId>
|
| 97 | <version>2.8</version>
|
| 98 | <configuration>
|
| 99 | <skip>true</skip>
|
| 100 | </configuration>
|
| 101 | </plugin>
|
| 102 | </plugins>
|
| 103 | </build>
|
| 104 |
|
| 105 | </project>
|