Upgrade to 1.3.2
[multicloud/framework.git] / multivimbroker / pom.xml
1 <?xml version="1.0"?>
2 <!--
3  Copyright (c) 2017 Wind River Systems, Inc.
4  Copyright (c) 2017-2018 VMware, Inc.
5
6  Licensed under the Apache License, Version 2.0 (the "License");
7  you may not use this file except in compliance with the License.
8  You may obtain a copy of the License at:
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,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 -->
15 <project 
16     xmlns="http://maven.apache.org/POM/4.0.0" 
17     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     <parent>
19         <groupId>org.onap.oparent</groupId>
20         <artifactId>oparent</artifactId>
21         <version>1.2.0</version>
22         <relativePath>../oparent</relativePath>
23     </parent>
24     <modelVersion>4.0.0</modelVersion>
25     <groupId>org.onap.multicloud.framework</groupId>
26     <artifactId>multicloud-framework-broker</artifactId>
27     <version>1.3.2-SNAPSHOT</version>
28     <packaging>pom</packaging>
29     <name>multicloud-framework-broker</name>
30     <description>multivim broker</description>
31     <properties>
32         <encoding>UTF-8</encoding>
33         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
35         <nexusproxy>https://nexus.onap.org</nexusproxy>
36         <sonar.sources>.</sonar.sources>
37         <sonar.junit.reportsPath>xunit-results.xml</sonar.junit.reportsPath>
38         <sonar.python.coverage.reportPath>coverage.xml</sonar.python.coverage.reportPath>
39         <sonar.language>py</sonar.language>
40         <sonar.pluginName>Python</sonar.pluginName>
41         <sonar.inclusions>**/*.py</sonar.inclusions>
42         <sonar.exclusions>**/venv-tox/**,**/.tox/**, **/tests/**,setup.py</sonar.exclusions>
43     </properties>
44     <build>
45       <pluginManagement>
46         <plugins>
47             <plugin>
48               <groupId>org.codehaus.mojo</groupId>
49               <artifactId>exec-maven-plugin</artifactId>
50               <version>1.1.1</version>
51               <configuration>
52                 <executable>${project.basedir}/sonar.sh</executable>
53                 <environmentVariables>
54                   <!-- make mvn properties as env for our script -->
55                   <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
56                   <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
57                   <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
58                 </environmentVariables>
59               </configuration>
60             </plugin>
61         </plugins>
62       </pluginManagement>
63       <plugins>
64         <plugin>
65             <groupId>org.codehaus.mojo</groupId>
66             <artifactId>exec-maven-plugin</artifactId>
67             <version>1.1.1</version>
68             <executions>
69               <execution>
70                 <id>clean phase script</id>
71                 <phase>clean</phase>
72                 <goals>
73                   <goal>exec</goal>
74                 </goals>
75                 <configuration>
76                   <arguments>
77                     <argument>__</argument>
78                     <argument>clean</argument>
79                   </arguments>
80                 </configuration>
81               </execution>
82               <execution>
83                 <id>test script</id>
84                 <phase>test</phase>
85                 <goals>
86                   <goal>exec</goal>
87                 </goals>
88                 <configuration>
89                   <arguments>
90                     <argument>__</argument>
91                     <argument>test</argument>
92                   </arguments>
93                 </configuration>
94               </execution>
95             </executions>
96         </plugin>
97         <plugin>
98             <artifactId>maven-assembly-plugin</artifactId>
99             <configuration>
100                 <appendAssemblyId>false</appendAssemblyId>
101                 <descriptors>
102                     <descriptor>assembly.xml</descriptor>
103                 </descriptors>
104             </configuration>
105             <executions>
106                <execution>
107                    <id>make-assembly</id>
108                    <phase>package</phase>
109                    <goals>
110                        <goal>single</goal>
111                    </goals>
112                </execution>
113             </executions>
114         </plugin>
115       </plugins>
116     </build>
117 </project>