Chris Donley | ab3381d | 2018-03-13 16:31:17 -0700 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!-- |
| 3 | Copyright (c) 2018 Huawei. All rights reserved. |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 6 | not use this file except in compliance with the License. You may obtain |
| 7 | a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 13 | WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 14 | License for the specific language governing permissions and limitations |
| 15 | under the License. |
| 16 | --> |
| 17 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 18 | <modelVersion>4.0.0</modelVersion> |
| 19 | <parent> |
| 20 | <groupId>org.onap.oparent</groupId> |
| 21 | <artifactId>oparent</artifactId> |
Gary Wu | 85612e3 | 2018-08-24 15:33:06 -0700 | [diff] [blame] | 22 | <version>1.2.0</version> |
Chris Donley | ab3381d | 2018-03-13 16:31:17 -0700 | [diff] [blame] | 23 | </parent> |
| 24 | |
| 25 | <groupId>org.onap.vnfsdk.dovetail-integration</groupId> |
| 26 | <artifactId>vnf-sdk-dovetail-integration</artifactId> |
| 27 | <packaging>pom</packaging> |
| 28 | |
| 29 | <name>vnfsdk-dovetail-integration</name> |
| 30 | <description>Integration with OPNFV Dovetail project</description> |
| 31 | <properties> |
Moshe | ea90f9b | 2018-03-25 17:00:40 +0300 | [diff] [blame] | 32 | <sonar.sources>.</sonar.sources> |
| 33 | <sonar.python.coverage.reportPath>coverage.xml</sonar.python.coverage.reportPath> |
Chris Donley | ab3381d | 2018-03-13 16:31:17 -0700 | [diff] [blame] | 34 | <sonar.language>py</sonar.language> |
| 35 | <sonar.pluginName>Python</sonar.pluginName> |
| 36 | <sonar.inclusions>**/*.py</sonar.inclusions> |
| 37 | <sonar.skip>false</sonar.skip> |
Moshe | ea90f9b | 2018-03-25 17:00:40 +0300 | [diff] [blame] | 38 | <sonar.exclusions>version.py,setup.py</sonar.exclusions> |
Moshe | e4c31a3 | 2018-03-28 19:38:05 +0300 | [diff] [blame] | 39 | |
Jessica Wagantall | 8e838f6 | 2018-04-04 18:29:44 -0700 | [diff] [blame] | 40 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> |
Gary Wu | 85612e3 | 2018-08-24 15:33:06 -0700 | [diff] [blame] | 41 | <docker.push.registry/> |
Moshe | e4c31a3 | 2018-03-28 19:38:05 +0300 | [diff] [blame] | 42 | <skip.docker.build>true</skip.docker.build> |
| 43 | <skip.docker.tag>true</skip.docker.tag> |
| 44 | <skip.docker.push>true</skip.docker.push> |
| 45 | <docker.skip>false</docker.skip> |
| 46 | <docker.skip.build>false</docker.skip.build> |
Chris Donley | ab3381d | 2018-03-13 16:31:17 -0700 | [diff] [blame] | 47 | </properties> |
| 48 | |
Moshe | e4c31a3 | 2018-03-28 19:38:05 +0300 | [diff] [blame] | 49 | <profiles> |
| 50 | <profile> |
| 51 | <id>docker</id> |
| 52 | <activation> |
| 53 | <activeByDefault>false</activeByDefault> |
| 54 | </activation> |
| 55 | <build> |
| 56 | <plugins> |
| 57 | <plugin> |
| 58 | <groupId>io.fabric8</groupId> |
| 59 | <artifactId>docker-maven-plugin</artifactId> |
Paul Vaduva | 6affd66 | 2018-12-18 14:45:41 +0100 | [diff] [blame^] | 60 | <version>0.28.0</version> |
Moshe | e4c31a3 | 2018-03-28 19:38:05 +0300 | [diff] [blame] | 61 | <configuration> |
| 62 | <verbose>true</verbose> |
| 63 | <apiVersion>1.23</apiVersion> |
| 64 | <skipDocker>${docker.skip}</skipDocker> |
| 65 | <images> |
| 66 | <image> |
| 67 | <name>onap/vnfsdk/vnftest</name> |
| 68 | <alias>vnftest</alias> |
| 69 | <build> |
| 70 | <cleanup>try</cleanup> |
| 71 | <dockerFileDir>${project.basedir}/docker</dockerFileDir> |
| 72 | </build> |
| 73 | </image> |
| 74 | </images> |
| 75 | </configuration> |
| 76 | <executions> |
| 77 | <execution> |
| 78 | <id>clean-images</id> |
| 79 | <phase>pre-clean</phase> |
| 80 | <goals> |
| 81 | <goal>remove</goal> |
| 82 | </goals> |
| 83 | <configuration> |
| 84 | <removeAll>true</removeAll> |
| 85 | <image>onap/vnfsdk/vnftest</image> |
| 86 | </configuration> |
| 87 | </execution> |
| 88 | |
| 89 | <execution> |
| 90 | <id>generate-images</id> |
| 91 | <phase>generate-sources</phase> |
| 92 | <goals> |
| 93 | <goal>build</goal> |
| 94 | </goals> |
| 95 | <configuration> |
| 96 | <skipDockerBuild>${docker.skip.build}</skipDockerBuild> |
| 97 | </configuration> |
| 98 | </execution> |
| 99 | <execution> |
| 100 | <id>push-images</id> |
| 101 | <phase>deploy</phase> |
| 102 | <goals> |
| 103 | <goal>build</goal> |
| 104 | <goal>push</goal> |
| 105 | </goals> |
| 106 | <configuration> |
| 107 | <image>onap/vnfsdk/vnftest</image> |
| 108 | </configuration> |
| 109 | </execution> |
| 110 | </executions> |
| 111 | </plugin> |
| 112 | </plugins> |
| 113 | </build> |
| 114 | </profile> |
| 115 | </profiles> |
Chris Donley | ab3381d | 2018-03-13 16:31:17 -0700 | [diff] [blame] | 116 | </project> |