Release appc/parent
[appc/parent.git] / feature-repo-parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
6 Copyright (C) 2018-2019 AT&T Intellectual Property. All rights reserved.
7 =============================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12       http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
20 -->
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
23
24
25     <modelVersion>4.0.0</modelVersion>
26     <packaging>pom</packaging>
27     <groupId>org.onap.appc.parent</groupId>
28     <artifactId>feature-repo-parent</artifactId>
29     <version>2.7.2</version>
30
31     <parent>
32         <groupId>org.onap.ccsdk.parent</groupId>
33         <artifactId>feature-repo-parent</artifactId>
34         <version>1.5.1</version>
35         <relativePath />
36     </parent>
37
38     <properties>
39        <!-- SONAR -->
40         <sonar.language>java</sonar.language>
41         <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
42         <sonar.coverage.jacoco.xmlReportPaths>
43             ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
44         </sonar.coverage.jacoco.xmlReportPaths>
45         <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
46         <sonar.projectVersion>${project.version}</sonar.projectVersion>
47         <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
48     </properties>
49
50
51     <dependencyManagement>
52         <dependencies>
53             <dependency>
54                 <groupId>org.powermock</groupId>
55                 <artifactId>powermock-api-mockito</artifactId>
56                 <version>1.6.4</version>
57                 <scope>test</scope>
58             </dependency>
59             <dependency>
60                 <groupId>org.javassist</groupId>
61                 <artifactId>javassist</artifactId>
62                 <version>3.21.0-GA</version>
63                 <scope>test</scope>
64             </dependency>
65             <dependency>
66                 <groupId>org.mockito</groupId>
67                 <artifactId>mockito-core</artifactId>
68                 <version>1.10.19</version>
69                 <scope>test</scope>
70             </dependency>
71             <dependency>
72                 <groupId>org.powermock</groupId>
73                 <artifactId>powermock-module-junit4</artifactId>
74                 <version>1.6.4</version>
75                 <scope>test</scope>
76             </dependency>
77             <dependency>
78                 <groupId>org.powermock</groupId>
79                 <artifactId>powermock-api-support</artifactId>
80                 <version>1.6.4</version>
81                 <scope>test</scope>
82             </dependency>
83             <dependency>
84                 <groupId>org.powermock</groupId>
85                 <artifactId>powermock-reflect</artifactId>
86                 <version>1.6.4</version>
87                 <scope>test</scope>
88             </dependency>
89             <dependency>
90                 <groupId>org.powermock</groupId>
91                 <artifactId>powermock-core</artifactId>
92                 <version>1.6.4</version>
93                 <scope>test</scope>
94             </dependency>
95         </dependencies>
96     </dependencyManagement>
97
98     <build>
99         <plugins>
100             <plugin>
101                 <groupId>org.apache.maven.plugins</groupId>
102                 <artifactId>maven-install-plugin</artifactId>
103                 <version>2.5.2</version>
104                 <executions>
105                     <execution>
106                         <id>additional-install</id>
107                         <phase>none</phase>
108                     </execution>
109                 </executions>
110             </plugin>
111             <plugin>
112                 <groupId>org.jacoco</groupId>
113                 <artifactId>jacoco-maven-plugin</artifactId>
114                 <executions>
115                   <execution>
116                     <id>prepare-agent</id>
117                     <goals>
118                         <goal>prepare-agent</goal>
119                     </goals>
120                   </execution>
121                   <execution>
122                      <id>report</id>
123                      <goals>
124                        <goal>report</goal>
125                      </goals>
126                      <configuration>
127                         <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
128                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
129                      </configuration>
130                   </execution>
131                </executions>
132             </plugin>
133         </plugins>
134     </build>
135
136 </project>