Update release note to trigger the Jenkins RTD build to generate the doc for Guilin...
[modeling/etsicatalog.git] / pom.xml
1 <?xml version="1.0"?>
2 <!--
3     Copyright 2017 ZTE Corporation.
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>
21         <version>2.1.0</version>
22     </parent>
23     <modelVersion>4.0.0</modelVersion>
24     <groupId>org.onap.modeling.etsicatalog</groupId>
25     <artifactId>modeling-etsicatalog</artifactId>
26     <version>1.0.9-SNAPSHOT</version>
27     <packaging>pom</packaging>
28     <name>modeling-etsicatalog</name>
29     <description>modeling etsicatalog</description>
30     <properties>
31         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32         <sonar.sources>.</sonar.sources>
33         <sonar.junit.reportsPath>xunit-results.xml</sonar.junit.reportsPath>
34         <sonar.python.coverage.reportPaths>coverage.xml</sonar.python.coverage.reportPaths>
35         <sonar.language>py</sonar.language>
36         <sonar.pluginname>python</sonar.pluginname>
37         <sonar.inclusions>**/**.py</sonar.inclusions>
38         <sonar.exclusions>**/tests/**.py,**/test*.py</sonar.exclusions>
39     </properties>
40     <build>
41       <pluginManagement>
42         <plugins>
43           <plugin>
44             <groupId>org.codehaus.mojo</groupId>
45             <artifactId>exec-maven-plugin</artifactId>
46             <version>1.2.1</version>
47             <configuration>
48               <executable>${project.basedir}/mvn-phase-script.sh</executable>
49               <environmentVariables>
50                 <!-- make mvn properties as env for our script -->
51                 <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
52                 <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
53                 <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
54               </environmentVariables>
55             </configuration>
56           </plugin>
57         </plugins>
58       </pluginManagement>
59       <plugins>
60         <plugin>
61           <groupId>org.codehaus.mojo</groupId>
62           <artifactId>exec-maven-plugin</artifactId>
63           <version>1.2.1</version>
64           <executions>
65             <execution>
66               <id>clean phase script</id>
67               <phase>clean</phase>
68               <goals>
69                 <goal>exec</goal>
70               </goals>
71               <configuration>
72                 <arguments>
73                   <argument>__</argument>
74                   <argument>clean</argument>
75                 </arguments>
76               </configuration>
77             </execution>
78             <execution>
79               <id>test script</id>
80               <phase>test</phase>
81               <goals>
82                 <goal>exec</goal>
83               </goals>
84               <configuration>
85                 <arguments>
86                   <argument>__</argument>
87                   <argument>test</argument>
88                 </arguments>
89               </configuration>
90             </execution>
91           </executions>
92         </plugin>
93         <plugin>
94             <artifactId>maven-assembly-plugin</artifactId>
95             <configuration>
96                 <appendAssemblyId>false</appendAssemblyId>
97                 <descriptors>
98                     <descriptor>assembly.xml</descriptor>
99                 </descriptors>
100             </configuration>
101             <executions>
102                 <execution>
103                     <id>make-assembly</id>
104                     <phase>package</phase>
105                     <goals>
106                         <goal>single</goal>
107                     </goals>
108                 </execution>
109             </executions>
110         </plugin>
111       </plugins>
112     </build>
113 </project>