blob: c3d10a5e616dbef6cfec3c062c60608ca042909b [file] [log] [blame]
Michal Ptacek7168a9a2019-11-04 06:45:08 +00001<!--
2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
4 Modifications Copyright (C) 2018-2019 AT&T Intellectual Property. All rights reserved.
5 ================================================================================
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17
18 SPDX-License-Identifier: Apache-2.0
19 ============LICENSE_END=========================================================
20-->
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
25 <modelVersion>4.0.0</modelVersion>
26
27 <parent>
28 <groupId>org.onap.policy.common</groupId>
29 <artifactId>common-modules</artifactId>
30 <version>1.5.2</version>
31 </parent>
32
33 <artifactId>policy-endpoints</artifactId>
34
35 <name>policy-endpoints</name>
36 <description>Endpoints</description>
37
38 <properties>
39 <jersey.swagger.version>1.5.18</jersey.swagger.version>
40 <cambria.version>1.2.1-oss</cambria.version>
41 <jackson.version>2.9.5</jackson.version>
42 <http.client.version>4.5.5</http.client.version>
43 <http.core.version>4.4.4</http.core.version>
44 </properties>
45
46 <dependencies>
47
48 <dependency>
49 <groupId>org.onap.policy.common</groupId>
50 <artifactId>capabilities</artifactId>
51 <version>${project.version}</version>
52 </dependency>
53
54 <dependency>
55 <groupId>org.onap.policy.common</groupId>
56 <artifactId>gson</artifactId>
57 <version>${project.version}</version>
58 </dependency>
59
60 <dependency>
61 <groupId>org.onap.policy.common</groupId>
62 <artifactId>utils</artifactId>
63 <version>${project.version}</version>
64 </dependency>
65
66 <dependency>
67 <groupId>org.onap.policy.common</groupId>
68 <artifactId>common-parameters</artifactId>
69 <version>${project.version}</version>
70 </dependency>
71
72 <dependency>
73 <groupId>com.att.nsa</groupId>
74 <artifactId>cambriaClient</artifactId>
75 <exclusions>
76 <exclusion>
77 <groupId>org.slf4j</groupId>
78 <artifactId>slf4j-log4j12</artifactId>
79 </exclusion>
80 </exclusions>
81 </dependency>
82
83 <dependency>
84 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
85 <artifactId>dmaapClient</artifactId>
86 <exclusions>
87 <exclusion>
88 <groupId>org.slf4j</groupId>
89 <artifactId>slf4j-log4j12</artifactId>
90 </exclusion>
91 <exclusion>
92 <groupId>log4j</groupId>
93 <artifactId>log4j</artifactId>
94 </exclusion>
95 </exclusions>
96 </dependency>
97
98 <dependency>
99 <groupId>org.onap.aaf.authz</groupId>
100 <artifactId>aaf-cadi-aaf</artifactId>
101 </dependency>
102
103 <dependency>
104 <groupId>org.eclipse.jetty</groupId>
105 <artifactId>jetty-server</artifactId>
106 </dependency>
107
108 <dependency>
109 <groupId>org.eclipse.jetty</groupId>
110 <artifactId>jetty-servlet</artifactId>
111 </dependency>
112
113 <dependency>
114 <groupId>org.glassfish.jersey.core</groupId>
115 <artifactId>jersey-server</artifactId>
116 <version>${jersey.version}</version>
117 </dependency>
118
119 <dependency>
120 <groupId>org.glassfish.jersey.containers</groupId>
121 <artifactId>jersey-container-servlet-core</artifactId>
122 <version>${jersey.version}</version>
123 </dependency>
124
125 <dependency>
126 <groupId>org.glassfish.jersey.containers</groupId>
127 <artifactId>jersey-container-jetty-http</artifactId>
128 <version>${jersey.version}</version>
129 <exclusions>
130 <exclusion>
131 <groupId>org.eclipse.jetty</groupId>
132 <artifactId>jetty-util</artifactId>
133 </exclusion>
134 </exclusions>
135 </dependency>
136
137 <dependency>
138 <groupId>org.glassfish.jersey.core</groupId>
139 <artifactId>jersey-client</artifactId>
140 <version>${jersey.version}</version>
141 </dependency>
142
143 <dependency>
144 <groupId>org.glassfish.jersey.core</groupId>
145 <artifactId>jersey-common</artifactId>
146 <version>${jersey.version}</version>
147 </dependency>
148
149 <dependency>
150 <groupId>com.google.code.gson</groupId>
151 <artifactId>gson</artifactId>
152 </dependency>
153
154 <dependency>
155 <groupId>com.fasterxml.jackson.core</groupId>
156 <artifactId>jackson-annotations</artifactId>
157 <version>${jackson.version}</version>
158 </dependency>
159
160 <dependency>
161 <groupId>org.apache.httpcomponents</groupId>
162 <artifactId>httpclient</artifactId>
163 </dependency>
164 <dependency>
165 <groupId>org.apache.httpcomponents</groupId>
166 <artifactId>httpcore</artifactId>
167 </dependency>
168
169 <dependency>
170 <groupId>io.swagger</groupId>
171 <artifactId>swagger-jersey2-jaxrs</artifactId>
172 </dependency>
173
174 <dependency>
175 <groupId>org.apache.commons</groupId>
176 <artifactId>commons-collections4</artifactId>
177 <version>4.1</version>
178 </dependency>
179
180 <dependency>
181 <groupId>ch.qos.logback</groupId>
182 <artifactId>logback-classic</artifactId>
183 </dependency>
184
185 <dependency>
186 <groupId>org.onap.policy.common</groupId>
187 <artifactId>utils-test</artifactId>
188 <version>${project.version}</version>
189 <scope>test</scope>
190 </dependency>
191
192 <dependency>
193 <groupId>junit</groupId>
194 <artifactId>junit</artifactId>
195 <scope>test</scope>
196 </dependency>
197
198 <dependency>
199 <groupId>org.powermock</groupId>
200 <artifactId>powermock-api-mockito</artifactId>
201 <scope>test</scope>
202 </dependency>
203
204 <dependency>
205 <groupId>org.assertj</groupId>
206 <artifactId>assertj-core</artifactId>
207 <scope>test</scope>
208 </dependency>
209
210 <dependency>
211 <groupId>com.openpojo</groupId>
212 <artifactId>openpojo</artifactId>
213 </dependency>
214
215 <dependency>
216 <groupId>org.projectlombok</groupId>
217 <artifactId>lombok</artifactId>
218 <scope>provided</scope>
219 </dependency>
220
221 </dependencies>
222
223 <build>
224 <plugins>
225 <plugin>
226 <artifactId>maven-checkstyle-plugin</artifactId>
227 <executions>
228 <execution>
229 <id>onap-java-style</id>
230 <goals>
231 <goal>check</goal>
232 </goals>
233 <phase>process-sources</phase>
234 <configuration>
235 <!-- Use Google Java Style Guide:
236 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
237 with minor changes -->
238 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
239 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
240 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
241 <includeResources>true</includeResources>
242 <includeTestSourceDirectory>true</includeTestSourceDirectory>
243 <includeTestResources>true</includeTestResources>
244 <excludes>
245 </excludes>
246 <consoleOutput>true</consoleOutput>
247 <failsOnViolation>true</failsOnViolation>
248 <violationSeverity>warning</violationSeverity>
249 </configuration>
250 </execution>
251 </executions>
252 <dependencies>
253 <dependency>
254 <groupId>org.onap.oparent</groupId>
255 <artifactId>checkstyle</artifactId>
256 <version>${oparent.version}</version>
257 <scope>compile</scope>
258 </dependency>
259 </dependencies>
260 </plugin>
261 </plugins>
262 </build>
263</project>