969d47069939f5c6dd58fff27074a622ba0d5b14
[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.6-SNAPSHOT</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         <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
38         <jacoco.report.directory>${project.build.directory}/code-coverage</jacoco.report.directory>
39         <jacoco.line.coverage.limit>0.80</jacoco.line.coverage.limit>
40     </properties>
41
42     <dependencies>
43
44         <dependency>
45             <groupId>org.glassfish.jersey.core</groupId>
46             <artifactId>jersey-client</artifactId>
47         </dependency>
48
49         <dependency>
50             <groupId>org.onap.aai.logging-service</groupId>
51             <artifactId>common-logging</artifactId>
52         </dependency>
53
54         <dependency>
55             <groupId>org.mockito</groupId>
56             <artifactId>mockito-all</artifactId>
57             <scope>test</scope>
58         </dependency>
59
60         <dependency>
61             <groupId>org.powermock</groupId>
62             <artifactId>powermock-module-junit4</artifactId>
63             <scope>test</scope>
64         </dependency>
65
66         <dependency>
67             <groupId>org.powermock</groupId>
68             <artifactId>powermock-api-mockito</artifactId>
69             <version>1.6.2</version>
70             <scope>test</scope>
71         </dependency>
72
73         <dependency>
74             <groupId>org.powermock</groupId>
75             <artifactId>powermock-module-javaagent</artifactId>
76             <scope>test</scope>
77         </dependency>
78
79         <dependency>
80             <groupId>org.powermock</groupId>
81             <artifactId>powermock-module-junit4-rule-agent</artifactId>
82             <scope>test</scope>
83         </dependency>
84
85     </dependencies>
86
87     <build>
88         <pluginManagement>
89             <plugins>
90                 <plugin>
91                     <groupId>org.apache.maven.plugins</groupId>
92                     <artifactId>maven-compiler-plugin</artifactId>
93                     <configuration>
94                         <source>1.8</source>
95                         <target>1.8</target>
96                     </configuration>
97                 </plugin>
98                 <plugin>
99                     <artifactId>maven-release-plugin</artifactId>
100                     <version>2.4.2</version>
101                     <dependencies>
102                         <dependency>
103                             <groupId>org.apache.maven.scm</groupId>
104                             <artifactId>maven-scm-provider-gitexe</artifactId>
105                             <version>1.8.1</version>
106                         </dependency>
107                     </dependencies>
108                 </plugin>
109
110                 <!-- Checkstyle plugin - used to report on compliance with -->
111                 <!-- the Google style guide. -->
112                 <plugin>
113                     <groupId>org.apache.maven.plugins</groupId>
114                     <artifactId>maven-site-plugin</artifactId>
115                     <version>3.6</version>
116                 </plugin>
117             </plugins>
118         </pluginManagement>
119         <plugins>
120             <plugin>
121                 <groupId>com.mycila</groupId>
122                 <artifactId>license-maven-plugin</artifactId>
123                 <version>3.0</version>
124                 <configuration>
125                     <header>License.txt</header>
126                     <includes>
127                         <include>src/main/java/**</include>
128                         <include>src/test/java/**</include>
129                         <include>pom.xml</include>
130                     </includes>
131                     <skipExistingHeaders>true</skipExistingHeaders>
132                 </configuration>
133                 <executions>
134                     <execution>
135                         <goals>
136                             <!-- Set goal from "check" to "format" to auto update license headers -->
137                             <goal>check</goal>
138                         </goals>
139                         <phase>validate</phase>
140                     </execution>
141                 </executions>
142             </plugin>
143             <plugin>
144                 <groupId>org.apache.maven.plugins</groupId>
145                 <artifactId>maven-deploy-plugin</artifactId>
146             </plugin>
147         </plugins>
148     </build>
149
150     <reporting>
151         <plugins>
152             <plugin>
153                 <groupId>org.apache.maven.plugins</groupId>
154                 <artifactId>maven-checkstyle-plugin</artifactId>
155                 <version>2.17</version>
156                 <reportSets>
157                     <reportSet>
158                         <reports>
159                             <report>checkstyle</report>
160                         </reports>
161                     </reportSet>
162                 </reportSets>
163             </plugin>
164         </plugins>
165     </reporting>
166
167 </project>