blob: 767dc2d5873a63d471e4f8be457db77903f19bde [file] [log] [blame]
Hengyeb150aa82019-03-25 14:32:21 +00001<?xml version="1.0" encoding="UTF-8"?>
eikrwaq67037d02018-05-23 17:17:58 +01002<!--
3 ============LICENSE_START=======================================================
4 Copyright (C) 2018 Ericsson. All rights reserved.
liamfallonaa317c72019-02-05 13:41:59 +00005 Copyright (C) 2019 Nordix Foundation.
HOCKLAc5475f12020-01-10 12:16:00 -06006 Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved.
Ram Krishna Vermae5550392020-04-03 13:35:33 -04007 Modifications Copyright (C) 2020 Bell Canada.
eikrwaq67037d02018-05-23 17:17:58 +01008 ================================================================================
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
21 SPDX-License-Identifier: Apache-2.0
22 ============LICENSE_END=========================================================
ramvermab359a4b2019-06-27 11:11:24 +000023-->
24<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
eikrwaq67037d02018-05-23 17:17:58 +010026 <modelVersion>4.0.0</modelVersion>
27 <parent>
28 <groupId>org.onap.policy.parent</groupId>
29 <artifactId>integration</artifactId>
Pamela Dragosh56af6492020-05-28 14:32:34 -040030 <version>3.2.0-SNAPSHOT</version>
ramvermab359a4b2019-06-27 11:11:24 +000031 <relativePath />
eikrwaq67037d02018-05-23 17:17:58 +010032 </parent>
33
34 <groupId>org.onap.policy.models</groupId>
35 <artifactId>policy-models</artifactId>
Ram Krishna Vermae14fac52020-05-19 15:16:54 -040036 <version>2.3.0-SNAPSHOT</version>
Pamela Dragoshf973f582018-09-25 10:06:07 -040037
eikrwaq67037d02018-05-23 17:17:58 +010038 <packaging>pom</packaging>
Pamela Dragoshd01b3fa2018-05-25 08:17:28 -040039 <name>policy-models</name>
liamfallonaa317c72019-02-05 13:41:59 +000040 <description>This repo holds model code agnostic to PDP engines</description>
eikrwaq67037d02018-05-23 17:17:58 +010041
Pamela Dragoshf973f582018-09-25 10:06:07 -040042 <properties>
liamfallonb694be12019-03-05 09:35:16 +000043 <derby.version>10.13.1.1</derby.version>
HOCKLA754f9a02019-12-21 12:11:33 -060044 <javax.ws.rs-api.version>2.1.1</javax.ws.rs-api.version>
Jim Hahnddd400d2020-05-27 10:26:49 -040045 <policy.common.version>1.7.0-SNAPSHOT</policy.common.version>
Pamela Dragoshf973f582018-09-25 10:06:07 -040046 </properties>
47
48 <modules>
liamfallonf240fda2019-02-26 13:57:39 +000049 <module>models-base</module>
50 <module>models-dao</module>
liamfallonb694be12019-03-05 09:35:16 +000051 <module>models-tosca</module>
ramverma59483882019-03-12 22:15:38 +000052 <module>models-pap</module>
Jim Hahna4b62b82019-03-21 09:54:30 -040053 <module>models-pdp</module>
Pamela Dragosh99837f42019-03-21 09:58:52 -040054 <module>models-errors</module>
Pamela Dragosh2d4d2992019-03-16 17:17:37 -040055 <module>models-decisions</module>
liamfallon4c28d2c2019-03-14 10:01:58 +000056 <module>models-provider</module>
liamfallon9727c322019-03-19 16:29:56 +000057 <module>models-examples</module>
Hengyeb150aa82019-03-25 14:32:21 +000058 <module>models-interactions</module>
liamfallon90092032019-04-17 13:58:26 +000059 <module>models-sim</module>
Pamela Dragoshf973f582018-09-25 10:06:07 -040060 </modules>
61
eikrwaq67037d02018-05-23 17:17:58 +010062 <distributionManagement>
63 <site>
64 <id>ecomp-site</id>
Pamela Dragoshf973f582018-09-25 10:06:07 -040065 <url>dav:${nexusproxy}${sitePath}</url>
eikrwaq67037d02018-05-23 17:17:58 +010066 </site>
67 </distributionManagement>
Pamela Dragoshf973f582018-09-25 10:06:07 -040068
liamfallonb694be12019-03-05 09:35:16 +000069 <dependencies>
70 <dependency>
71 <groupId>org.onap.policy.common</groupId>
72 <artifactId>utils</artifactId>
73 </dependency>
74
75 <dependency>
76 <groupId>org.slf4j</groupId>
77 <artifactId>slf4j-api</artifactId>
78 </dependency>
79
80 <dependency>
liamfallon9727c322019-03-19 16:29:56 +000081 <groupId>ch.qos.logback</groupId>
82 <artifactId>logback-core</artifactId>
83 </dependency>
84 <dependency>
85 <groupId>ch.qos.logback</groupId>
86 <artifactId>logback-classic</artifactId>
87 </dependency>
88
89 <dependency>
liamfallonb694be12019-03-05 09:35:16 +000090 <groupId>org.projectlombok</groupId>
91 <artifactId>lombok</artifactId>
92 <scope>provided</scope>
93 </dependency>
94
95 <dependency>
96 <groupId>com.google.code.gson</groupId>
97 <artifactId>gson</artifactId>
98 </dependency>
99
100 <dependency>
liamfallon8fdf84c2019-03-15 12:36:38 +0000101 <groupId>org.yaml</groupId>
102 <artifactId>snakeyaml</artifactId>
liamfallon8fdf84c2019-03-15 12:36:38 +0000103 </dependency>
104
105 <dependency>
liamfallon4c28d2c2019-03-14 10:01:58 +0000106 <groupId>javax.ws.rs</groupId>
107 <artifactId>javax.ws.rs-api</artifactId>
108 <version>${javax.ws.rs-api.version}</version>
109 </dependency>
110
111 <dependency>
liamfallon24400f72019-04-10 11:34:06 +0000112 <groupId>org.mariadb.jdbc</groupId>
113 <artifactId>mariadb-java-client</artifactId>
114 </dependency>
115
116 <dependency>
liamfallon18555712019-11-01 11:24:26 +0000117 <groupId>org.eclipse.persistence</groupId>
118 <artifactId>eclipselink</artifactId>
119 </dependency>
120
121 <dependency>
liamfallonb694be12019-03-05 09:35:16 +0000122 <groupId>junit</groupId>
123 <artifactId>junit</artifactId>
124 <scope>test</scope>
125 </dependency>
126
127 <dependency>
Pamela Dragosh99837f42019-03-21 09:58:52 -0400128 <groupId>org.assertj</groupId>
129 <artifactId>assertj-core</artifactId>
130 <scope>test</scope>
131 </dependency>
132
133 <dependency>
ramvermab359a4b2019-06-27 11:11:24 +0000134 <groupId>org.onap.policy.common</groupId>
135 <artifactId>utils-test</artifactId>
136 <version>${policy.common.version}</version>
137 <scope>test</scope>
138 </dependency>
HOCKLA754f9a02019-12-21 12:11:33 -0600139 <dependency>
140 <groupId>com.openpojo</groupId>
141 <artifactId>openpojo</artifactId>
142 <scope>test</scope>
143 </dependency>
liamfallon18555712019-11-01 11:24:26 +0000144
145 <dependency>
146 <groupId>org.glassfish.jersey.inject</groupId>
147 <artifactId>jersey-hk2</artifactId>
148 </dependency>
HOCKLA754f9a02019-12-21 12:11:33 -0600149 <dependency>
150 <groupId>org.eclipse.jetty</groupId>
151 <artifactId>jetty-server</artifactId>
152 </dependency>
153 <dependency>
154 <groupId>org.eclipse.jetty</groupId>
155 <artifactId>jetty-security</artifactId>
156 <version>9.4.25.v20191220</version>
157 </dependency>
158 <dependency>
159 <groupId>org.eclipse.jetty</groupId>
160 <artifactId>jetty-servlet</artifactId>
161 </dependency>
162 <dependency>
163 <groupId>org.glassfish.jersey.containers</groupId>
164 <artifactId>jersey-container-servlet</artifactId>
165 <version>${version.jersey}</version>
166 </dependency>
167 <dependency>
168 <groupId>org.apache.httpcomponents</groupId>
169 <artifactId>httpclient</artifactId>
170 </dependency>
171 <dependency>
172 <groupId>io.swagger</groupId>
173 <artifactId>swagger-annotations</artifactId>
174 <version>${version.swagger}</version>
175 </dependency>
176 <dependency>
177 <groupId>commons-io</groupId>
178 <artifactId>commons-io</artifactId>
179 <version>2.6</version>
180 </dependency>
181 <dependency>
182 <groupId>org.apache.commons</groupId>
183 <artifactId>commons-collections4</artifactId>
184 <version>4.4</version>
185 </dependency>
186 <dependency>
187 <groupId>com.att.nsa</groupId>
188 <artifactId>cambriaClient</artifactId>
189 </dependency>
190 <dependency>
191 <groupId>org.glassfish</groupId>
192 <artifactId>javax.json</artifactId>
193 <version>${version.javax.json}</version>
194 </dependency>
195 <dependency>
196 <groupId>org.json</groupId>
197 <artifactId>json</artifactId>
198 <version>${version.json}</version>
199 </dependency>
liamfallonb694be12019-03-05 09:35:16 +0000200 </dependencies>
201
liamfallonf240fda2019-02-26 13:57:39 +0000202 <dependencyManagement>
203 <dependencies>
204 <dependency>
205 <groupId>org.onap.policy.common</groupId>
206 <artifactId>utils</artifactId>
207 <version>${policy.common.version}</version>
208 </dependency>
209 </dependencies>
210 </dependencyManagement>
211
Pamela Dragoshf973f582018-09-25 10:06:07 -0400212 <build>
213 <plugins>
214 <plugin>
Pamela Dragoshf973f582018-09-25 10:06:07 -0400215 <artifactId>maven-checkstyle-plugin</artifactId>
216 <executions>
217 <execution>
218 <id>onap-java-style</id>
219 <goals>
220 <goal>check</goal>
221 </goals>
222 <phase>process-sources</phase>
223 <configuration>
Jim Hahnddd400d2020-05-27 10:26:49 -0400224 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
Pamela Dragoshf973f582018-09-25 10:06:07 -0400225 with minor changes -->
226 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
227 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
HOCKLA754f9a02019-12-21 12:11:33 -0600228 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
Pamela Dragoshf973f582018-09-25 10:06:07 -0400229 <includeResources>true</includeResources>
230 <includeTestSourceDirectory>true</includeTestSourceDirectory>
231 <includeTestResources>true</includeTestResources>
232 <excludes>
233 </excludes>
234 <consoleOutput>true</consoleOutput>
235 <failOnViolation>true</failOnViolation>
236 <violationSeverity>warning</violationSeverity>
237 </configuration>
238 </execution>
239 </executions>
240 <dependencies>
241 <dependency>
242 <groupId>org.onap.oparent</groupId>
243 <artifactId>checkstyle</artifactId>
244 <version>${oparent.version}</version>
245 <scope>compile</scope>
246 </dependency>
247 </dependencies>
248 </plugin>
249 </plugins>
250 <pluginManagement>
251 <plugins>
252 <plugin>
Pamela Dragoshf973f582018-09-25 10:06:07 -0400253 <groupId>org.eclipse.m2e</groupId>
254 <artifactId>lifecycle-mapping</artifactId>
255 <version>1.0.0</version>
256 <configuration>
257 <lifecycleMappingMetadata>
258 <pluginExecutions>
259 <pluginExecution>
260 <pluginExecutionFilter>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-checkstyle-plugin</artifactId>
263 <versionRange>2.17,)</versionRange>
264 <goals>
265 <goal>check</goal>
266 </goals>
267 </pluginExecutionFilter>
268 <action>
ramvermab359a4b2019-06-27 11:11:24 +0000269 <ignore />
Pamela Dragoshf973f582018-09-25 10:06:07 -0400270 </action>
271 </pluginExecution>
272 </pluginExecutions>
273 </lifecycleMappingMetadata>
274 </configuration>
275 </plugin>
276 </plugins>
277 </pluginManagement>
278 </build>
Pamela Dragoshada55be2019-04-05 21:07:07 -0400279</project>