blob: 474e7f75f05099efb6c9314555d69f3c4d4f61a0 [file] [log] [blame]
Chris Donleyab3381d2018-03-13 16:31:17 -07001<?xml version="1.0"?>
2<!--
3Copyright (c) 2018 Huawei. All rights reserved.
4
5Licensed under the Apache License, Version 2.0 (the "License"); you may
6not use this file except in compliance with the License. You may obtain
7a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14License for the specific language governing permissions and limitations
15under 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>
Chris Donleye9d712a2018-03-14 17:31:10 -070022 <version>1.1.0</version>
Chris Donleyab3381d2018-03-13 16:31:17 -070023 </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>
Mosheea90f9b2018-03-25 17:00:40 +030032 <sonar.sources>.</sonar.sources>
33 <sonar.python.coverage.reportPath>coverage.xml</sonar.python.coverage.reportPath>
Chris Donleyab3381d2018-03-13 16:31:17 -070034 <sonar.language>py</sonar.language>
35 <sonar.pluginName>Python</sonar.pluginName>
36 <sonar.inclusions>**/*.py</sonar.inclusions>
37 <sonar.skip>false</sonar.skip>
Mosheea90f9b2018-03-25 17:00:40 +030038 <sonar.exclusions>version.py,setup.py</sonar.exclusions>
Moshee4c31a32018-03-28 19:38:05 +030039
Jessica Wagantall8e838f62018-04-04 18:29:44 -070040 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
Moshee4c31a32018-03-28 19:38:05 +030041 <docker.push.registry></docker.push.registry>
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 Donleyab3381d2018-03-13 16:31:17 -070047 </properties>
48
Moshee4c31a32018-03-28 19:38:05 +030049 <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>
60 <version>0.16.7</version>
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 Donleyab3381d2018-03-13 16:31:17 -0700116</project>