Update to java 11
[aai/rest-client.git] / pom.xml
1 <?xml version="1.0"?>
2 <!--
3     ============LICENSE_START=======================================================
4     org.onap.aai
5     ================================================================================
6     Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
7     Copyright © 2017-2018 Amdocs
8     ================================================================================
9     Licensed under the Apache License, Version 2.0 (the "License");
10     you may not use this file except in compliance with the License.
11     You may obtain a copy of the License at
12
13     http://www.apache.org/licenses/LICENSE-2.0
14
15     Unless required by applicable law or agreed to in writing, software
16     distributed under the License is distributed on an "AS IS" BASIS,
17     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18     See the License for the specific language governing permissions and
19     limitations under the License.
20     ============LICENSE_END=========================================================
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25     <parent>
26         <groupId>org.onap.aai.aai-common</groupId>
27         <artifactId>aai-parent</artifactId>
28         <version>1.7.0-SNAPSHOT</version>
29     </parent>
30
31     <groupId>org.onap.aai</groupId>
32     <artifactId>rest-client</artifactId>
33     <version>1.7.0-SNAPSHOT</version>
34     <name>aai-rest-client</name>
35
36     <properties>
37         <aai.common.version>1.6.10</aai.common.version>
38         <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
39         <jacoco.report.directory>${project.build.directory}/code-coverage</jacoco.report.directory>
40         <jacoco.line.coverage.limit>0.80</jacoco.line.coverage.limit>
41     </properties>
42
43     <dependencies>
44
45         <dependency>
46             <groupId>org.glassfish.jersey.core</groupId>
47             <artifactId>jersey-client</artifactId>
48         </dependency>
49
50         <dependency>
51             <groupId>org.onap.aai.logging-service</groupId>
52             <artifactId>common-logging</artifactId>
53         </dependency>
54
55         <dependency>
56             <groupId>org.mockito</groupId>
57             <artifactId>mockito-all</artifactId>
58             <scope>test</scope>
59         </dependency>
60
61         <dependency>
62             <groupId>org.powermock</groupId>
63             <artifactId>powermock-module-junit4</artifactId>
64             <scope>test</scope>
65         </dependency>
66
67         <dependency>
68             <groupId>org.powermock</groupId>
69             <artifactId>powermock-api-mockito</artifactId>
70             <version>1.6.2</version>
71             <scope>test</scope>
72         </dependency>
73
74         <dependency>
75             <groupId>org.powermock</groupId>
76             <artifactId>powermock-module-javaagent</artifactId>
77             <scope>test</scope>
78         </dependency>
79
80         <dependency>
81             <groupId>org.powermock</groupId>
82             <artifactId>powermock-module-junit4-rule-agent</artifactId>
83             <scope>test</scope>
84         </dependency>
85
86     </dependencies>
87
88     <build>
89         <pluginManagement>
90             <plugins>
91                 <plugin>
92                     <artifactId>maven-release-plugin</artifactId>
93                     <version>2.4.2</version>
94                     <dependencies>
95                         <dependency>
96                             <groupId>org.apache.maven.scm</groupId>
97                             <artifactId>maven-scm-provider-gitexe</artifactId>
98                             <version>1.8.1</version>
99                         </dependency>
100                     </dependencies>
101                 </plugin>
102
103                 <!-- Checkstyle plugin - used to report on compliance with -->
104                 <!-- the Google style guide. -->
105                 <plugin>
106                     <groupId>org.apache.maven.plugins</groupId>
107                     <artifactId>maven-site-plugin</artifactId>
108                     <version>3.6</version>
109                 </plugin>
110             </plugins>
111         </pluginManagement>
112         <plugins>
113             <plugin>
114                 <groupId>com.mycila</groupId>
115                 <artifactId>license-maven-plugin</artifactId>
116                 <version>3.0</version>
117                 <configuration>
118                     <header>License.txt</header>
119                     <includes>
120                         <include>src/main/java/**</include>
121                         <include>src/test/java/**</include>
122                         <include>pom.xml</include>
123                     </includes>
124                     <skipExistingHeaders>true</skipExistingHeaders>
125                 </configuration>
126                 <executions>
127                     <execution>
128                         <goals>
129                             <!-- Set goal from "check" to "format" to auto update license headers -->
130                             <goal>check</goal>
131                         </goals>
132                         <phase>validate</phase>
133                     </execution>
134                 </executions>
135             </plugin>
136             <plugin>
137                 <groupId>org.apache.maven.plugins</groupId>
138                 <artifactId>maven-deploy-plugin</artifactId>
139             </plugin>
140         </plugins>
141     </build>
142
143     <reporting>
144         <plugins>
145             <plugin>
146                 <groupId>org.apache.maven.plugins</groupId>
147                 <artifactId>maven-checkstyle-plugin</artifactId>
148                 <version>2.17</version>
149                 <reportSets>
150                     <reportSet>
151                         <reports>
152                             <report>checkstyle</report>
153                         </reports>
154                     </reportSet>
155                 </reportSets>
156             </plugin>
157         </plugins>
158     </reporting>
159
160 </project>