Ethan Lynn | 047e5b6 | 2017-09-10 22:09:14 -0600 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!-- |
Ethan Lynn | 2906f88 | 2018-01-15 10:32:43 +0800 | [diff] [blame] | 3 | Copyright 2017-2018 VMware Inc. |
Ethan Lynn | 047e5b6 | 2017-09-10 22:09:14 -0600 | [diff] [blame] | 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain 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, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations 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 | <parent> |
| 19 | <groupId>org.onap.oparent</groupId> |
| 20 | <artifactId>oparent</artifactId> |
Gary Wu | f8adca5 | 2018-08-24 15:25:10 -0700 | [diff] [blame] | 21 | <version>1.2.0</version> |
Bin Sun | 7245fce | 2018-03-09 10:20:17 +0800 | [diff] [blame] | 22 | <relativePath>../oparent</relativePath> |
Ethan Lynn | 047e5b6 | 2017-09-10 22:09:14 -0600 | [diff] [blame] | 23 | </parent> |
| 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | <groupId>org.onap.multicloud.framework</groupId> |
| 26 | <artifactId>multicloud-framework</artifactId> |
Xiaohua Zhang | 57b4c6f | 2019-03-08 02:06:19 +0000 | [diff] [blame] | 27 | <version>1.3.0-SNAPSHOT</version> |
Ethan Lynn | 047e5b6 | 2017-09-10 22:09:14 -0600 | [diff] [blame] | 28 | <packaging>pom</packaging> |
| 29 | <name>multicloud-framework</name> |
| 30 | <description>multivim broker</description> |
Bin Sun | 7245fce | 2018-03-09 10:20:17 +0800 | [diff] [blame] | 31 | <properties> |
| 32 | <sonar.sourceEncoding>UTF-8</sonar.sourceEncoding> |
| 33 | <sonar.sources>.</sonar.sources> |
| 34 | <sonar.junit.reportsPath>xunit-results.xml</sonar.junit.reportsPath> |
| 35 | <sonar.python.coverage.reportPath>multivimbroker/coverage.xml</sonar.python.coverage.reportPath> |
| 36 | <sonar.language>py</sonar.language> |
| 37 | <sonar.pluginName>Python</sonar.pluginName> |
| 38 | <sonar.inclusions>**/*.py</sonar.inclusions> |
| 39 | <sonar.exclusions>tests/*,setup.py</sonar.exclusions> |
| 40 | </properties> |
| 41 | <build> |
| 42 | <pluginManagement> |
| 43 | <plugins> |
| 44 | <plugin> |
| 45 | <groupId>org.codehaus.mojo</groupId> |
| 46 | <artifactId>exec-maven-plugin</artifactId> |
| 47 | <version>1.1.1</version> |
| 48 | <configuration> |
| 49 | <executable>${session.executionRootDirectory}/sonar.sh</executable> |
| 50 | <environmentVariables> |
| 51 | <!-- make mvn properties as env for our script --> |
| 52 | <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID> |
| 53 | <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID> |
| 54 | <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION> |
| 55 | </environmentVariables> |
| 56 | </configuration> |
| 57 | </plugin> |
| 58 | </plugins> |
| 59 | </pluginManagement> |
| 60 | <plugins> |
| 61 | <plugin> |
| 62 | <groupId>org.codehaus.mojo</groupId> |
| 63 | <artifactId>exec-maven-plugin</artifactId> |
| 64 | <version>1.1.1</version> |
| 65 | <executions> |
| 66 | <execution> |
| 67 | <id>clean phase script</id> |
| 68 | <phase>clean</phase> |
| 69 | <goals> |
| 70 | <goal>exec</goal> |
| 71 | </goals> |
| 72 | <configuration> |
| 73 | <arguments> |
| 74 | <argument>__</argument> |
| 75 | <argument>clean</argument> |
| 76 | </arguments> |
| 77 | </configuration> |
| 78 | </execution> |
| 79 | <execution> |
| 80 | <id>test script</id> |
| 81 | <phase>test</phase> |
| 82 | <goals> |
| 83 | <goal>exec</goal> |
| 84 | </goals> |
| 85 | <configuration> |
| 86 | <arguments> |
| 87 | <argument>__</argument> |
| 88 | <argument>test</argument> |
| 89 | </arguments> |
| 90 | </configuration> |
| 91 | </execution> |
| 92 | </executions> |
| 93 | </plugin> |
| 94 | </plugins> |
| 95 | </build></project> |