1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START=======================================================
4 Copyright (C) 2018 Ericsson. All rights reserved.
5 Copyright (C) 2019 Nordix Foundation.
6 Copyright (C) 2019-2020 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
12 http://www.apache.org/licenses/LICENSE-2.0
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.
20 SPDX-License-Identifier: Apache-2.0
21 ============LICENSE_END=========================================================
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
27 <groupId>org.onap.policy.parent</groupId>
28 <artifactId>integration</artifactId>
29 <version>3.1.1</version>
33 <groupId>org.onap.policy.models</groupId>
34 <artifactId>policy-models</artifactId>
35 <version>2.2.1-SNAPSHOT</version>
37 <packaging>pom</packaging>
38 <name>policy-models</name>
39 <description>This repo holds model code agnostic to PDP engines</description>
42 <derby.version>10.13.1.1</derby.version>
43 <javax.ws.rs-api.version>2.1.1</javax.ws.rs-api.version>
44 <policy.common.version>1.6.2</policy.common.version>
48 <module>models-base</module>
49 <module>models-dao</module>
50 <module>models-tosca</module>
51 <module>models-pap</module>
52 <module>models-pdp</module>
53 <module>models-errors</module>
54 <module>models-decisions</module>
55 <module>models-provider</module>
56 <module>models-examples</module>
57 <module>models-interactions</module>
58 <module>models-sim</module>
61 <distributionManagement>
64 <url>dav:${nexusproxy}${sitePath}</url>
66 </distributionManagement>
70 <groupId>org.onap.policy.common</groupId>
71 <artifactId>utils</artifactId>
75 <groupId>org.slf4j</groupId>
76 <artifactId>slf4j-api</artifactId>
80 <groupId>ch.qos.logback</groupId>
81 <artifactId>logback-core</artifactId>
84 <groupId>ch.qos.logback</groupId>
85 <artifactId>logback-classic</artifactId>
89 <groupId>org.projectlombok</groupId>
90 <artifactId>lombok</artifactId>
91 <scope>provided</scope>
95 <groupId>com.google.code.gson</groupId>
96 <artifactId>gson</artifactId>
100 <groupId>org.yaml</groupId>
101 <artifactId>snakeyaml</artifactId>
105 <groupId>javax.ws.rs</groupId>
106 <artifactId>javax.ws.rs-api</artifactId>
107 <version>${javax.ws.rs-api.version}</version>
111 <groupId>org.mariadb.jdbc</groupId>
112 <artifactId>mariadb-java-client</artifactId>
116 <groupId>org.eclipse.persistence</groupId>
117 <artifactId>eclipselink</artifactId>
121 <groupId>junit</groupId>
122 <artifactId>junit</artifactId>
127 <groupId>org.assertj</groupId>
128 <artifactId>assertj-core</artifactId>
133 <groupId>org.onap.policy.common</groupId>
134 <artifactId>utils-test</artifactId>
135 <version>${policy.common.version}</version>
139 <groupId>com.openpojo</groupId>
140 <artifactId>openpojo</artifactId>
145 <groupId>org.glassfish.jersey.inject</groupId>
146 <artifactId>jersey-hk2</artifactId>
149 <groupId>org.eclipse.jetty</groupId>
150 <artifactId>jetty-server</artifactId>
153 <groupId>org.eclipse.jetty</groupId>
154 <artifactId>jetty-security</artifactId>
155 <version>9.4.25.v20191220</version>
158 <groupId>org.eclipse.jetty</groupId>
159 <artifactId>jetty-servlet</artifactId>
162 <groupId>org.glassfish.jersey.containers</groupId>
163 <artifactId>jersey-container-servlet</artifactId>
164 <version>${version.jersey}</version>
167 <groupId>org.apache.httpcomponents</groupId>
168 <artifactId>httpclient</artifactId>
171 <groupId>io.swagger</groupId>
172 <artifactId>swagger-annotations</artifactId>
173 <version>${version.swagger}</version>
176 <groupId>commons-io</groupId>
177 <artifactId>commons-io</artifactId>
178 <version>2.6</version>
181 <groupId>org.apache.commons</groupId>
182 <artifactId>commons-collections4</artifactId>
183 <version>4.4</version>
186 <groupId>com.att.nsa</groupId>
187 <artifactId>cambriaClient</artifactId>
190 <groupId>org.glassfish</groupId>
191 <artifactId>javax.json</artifactId>
192 <version>${version.javax.json}</version>
195 <groupId>org.json</groupId>
196 <artifactId>json</artifactId>
197 <version>${version.json}</version>
201 <dependencyManagement>
204 <groupId>org.onap.policy.common</groupId>
205 <artifactId>utils</artifactId>
206 <version>${policy.common.version}</version>
209 </dependencyManagement>
214 <artifactId>maven-checkstyle-plugin</artifactId>
217 <id>onap-java-style</id>
221 <phase>process-sources</phase>
223 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
224 with minor changes -->
225 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
226 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
227 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
228 <includeResources>true</includeResources>
229 <includeTestSourceDirectory>true</includeTestSourceDirectory>
230 <includeTestResources>true</includeTestResources>
233 <consoleOutput>true</consoleOutput>
234 <failOnViolation>true</failOnViolation>
235 <violationSeverity>warning</violationSeverity>
241 <groupId>org.onap.oparent</groupId>
242 <artifactId>checkstyle</artifactId>
243 <version>${oparent.version}</version>
244 <scope>compile</scope>
252 <groupId>org.eclipse.m2e</groupId>
253 <artifactId>lifecycle-mapping</artifactId>
254 <version>1.0.0</version>
256 <lifecycleMappingMetadata>
259 <pluginExecutionFilter>
260 <groupId>org.apache.maven.plugins</groupId>
261 <artifactId>maven-checkstyle-plugin</artifactId>
262 <versionRange>2.17,)</versionRange>
266 </pluginExecutionFilter>
272 </lifecycleMappingMetadata>