Use aai-parent:1.6.10
[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.6.10</version>
29     </parent>
30
31     <groupId>org.onap.aai</groupId>
32     <artifactId>rest-client</artifactId>
33     <version>1.6.4-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                     <groupId>org.apache.maven.plugins</groupId>
93                     <artifactId>maven-compiler-plugin</artifactId>
94                     <configuration>
95                         <source>1.8</source>
96                         <target>1.8</target>
97                     </configuration>
98                 </plugin>
99                 <plugin>
100                     <artifactId>maven-release-plugin</artifactId>
101                     <version>2.4.2</version>
102                     <dependencies>
103                         <dependency>
104                             <groupId>org.apache.maven.scm</groupId>
105                             <artifactId>maven-scm-provider-gitexe</artifactId>
106                             <version>1.8.1</version>
107                         </dependency>
108                     </dependencies>
109                 </plugin>
110
111                 <!-- Checkstyle plugin - used to report on compliance with -->
112                 <!-- the Google style guide. -->
113                 <plugin>
114                     <groupId>org.apache.maven.plugins</groupId>
115                     <artifactId>maven-site-plugin</artifactId>
116                     <version>3.6</version>
117                 </plugin>
118             </plugins>
119         </pluginManagement>
120         <plugins>
121             <plugin>
122                 <groupId>com.mycila</groupId>
123                 <artifactId>license-maven-plugin</artifactId>
124                 <version>3.0</version>
125                 <configuration>
126                     <header>License.txt</header>
127                     <includes>
128                         <include>src/main/java/**</include>
129                         <include>src/test/java/**</include>
130                         <include>pom.xml</include>
131                     </includes>
132                     <skipExistingHeaders>true</skipExistingHeaders>
133                 </configuration>
134                 <executions>
135                     <execution>
136                         <goals>
137                             <!-- Set goal from "check" to "format" to auto update license headers -->
138                             <goal>check</goal>
139                         </goals>
140                         <phase>validate</phase>
141                     </execution>
142                 </executions>
143             </plugin>
144             <plugin>
145                 <groupId>org.apache.maven.plugins</groupId>
146                 <artifactId>maven-deploy-plugin</artifactId>
147             </plugin>
148         </plugins>
149     </build>
150
151     <reporting>
152         <plugins>
153             <plugin>
154                 <groupId>org.apache.maven.plugins</groupId>
155                 <artifactId>maven-checkstyle-plugin</artifactId>
156                 <version>2.17</version>
157                 <reportSets>
158                     <reportSet>
159                         <reports>
160                             <report>checkstyle</report>
161                         </reports>
162                     </reportSet>
163                 </reportSets>
164             </plugin>
165         </plugins>
166     </reporting>
167
168 </project>