blob: 7aa780f07db97d1889ec5a421101a3dc9eb81c3e [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.
eikrwaq67037d02018-05-23 17:17:58 +01007 ================================================================================
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
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
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.
19
20 SPDX-License-Identifier: Apache-2.0
21 ============LICENSE_END=========================================================
ramvermab359a4b2019-06-27 11:11:24 +000022-->
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">
eikrwaq67037d02018-05-23 17:17:58 +010025 <modelVersion>4.0.0</modelVersion>
26 <parent>
27 <groupId>org.onap.policy.parent</groupId>
28 <artifactId>integration</artifactId>
HOCKLA754f9a02019-12-21 12:11:33 -060029 <version>3.1.1-SNAPSHOT</version>
ramvermab359a4b2019-06-27 11:11:24 +000030 <relativePath />
eikrwaq67037d02018-05-23 17:17:58 +010031 </parent>
32
33 <groupId>org.onap.policy.models</groupId>
34 <artifactId>policy-models</artifactId>
HOCKLAc5475f12020-01-10 12:16:00 -060035 <version>2.2.1-SNAPSHOT</version>
Pamela Dragoshf973f582018-09-25 10:06:07 -040036
eikrwaq67037d02018-05-23 17:17:58 +010037 <packaging>pom</packaging>
Pamela Dragoshd01b3fa2018-05-25 08:17:28 -040038 <name>policy-models</name>
liamfallonaa317c72019-02-05 13:41:59 +000039 <description>This repo holds model code agnostic to PDP engines</description>
eikrwaq67037d02018-05-23 17:17:58 +010040
Pamela Dragoshf973f582018-09-25 10:06:07 -040041 <properties>
liamfallonb694be12019-03-05 09:35:16 +000042 <derby.version>10.13.1.1</derby.version>
HOCKLA754f9a02019-12-21 12:11:33 -060043 <javax.ws.rs-api.version>2.1.1</javax.ws.rs-api.version>
HOCKLA754f9a02019-12-21 12:11:33 -060044 <policy.common.version>1.6.2-SNAPSHOT</policy.common.version>
Pamela Dragoshf973f582018-09-25 10:06:07 -040045 </properties>
46
47 <modules>
liamfallonf240fda2019-02-26 13:57:39 +000048 <module>models-base</module>
49 <module>models-dao</module>
liamfallonb694be12019-03-05 09:35:16 +000050 <module>models-tosca</module>
ramverma59483882019-03-12 22:15:38 +000051 <module>models-pap</module>
Jim Hahna4b62b82019-03-21 09:54:30 -040052 <module>models-pdp</module>
Pamela Dragosh99837f42019-03-21 09:58:52 -040053 <module>models-errors</module>
Pamela Dragosh2d4d2992019-03-16 17:17:37 -040054 <module>models-decisions</module>
liamfallon4c28d2c2019-03-14 10:01:58 +000055 <module>models-provider</module>
liamfallon9727c322019-03-19 16:29:56 +000056 <module>models-examples</module>
Hengyeb150aa82019-03-25 14:32:21 +000057 <module>models-interactions</module>
liamfallon90092032019-04-17 13:58:26 +000058 <module>models-sim</module>
Pamela Dragoshf973f582018-09-25 10:06:07 -040059 </modules>
60
eikrwaq67037d02018-05-23 17:17:58 +010061 <distributionManagement>
62 <site>
63 <id>ecomp-site</id>
Pamela Dragoshf973f582018-09-25 10:06:07 -040064 <url>dav:${nexusproxy}${sitePath}</url>
eikrwaq67037d02018-05-23 17:17:58 +010065 </site>
66 </distributionManagement>
Pamela Dragoshf973f582018-09-25 10:06:07 -040067
liamfallonb694be12019-03-05 09:35:16 +000068 <dependencies>
69 <dependency>
70 <groupId>org.onap.policy.common</groupId>
71 <artifactId>utils</artifactId>
72 </dependency>
73
74 <dependency>
75 <groupId>org.slf4j</groupId>
76 <artifactId>slf4j-api</artifactId>
77 </dependency>
78
79 <dependency>
liamfallon9727c322019-03-19 16:29:56 +000080 <groupId>ch.qos.logback</groupId>
81 <artifactId>logback-core</artifactId>
82 </dependency>
83 <dependency>
84 <groupId>ch.qos.logback</groupId>
85 <artifactId>logback-classic</artifactId>
86 </dependency>
87
88 <dependency>
liamfallonb694be12019-03-05 09:35:16 +000089 <groupId>org.projectlombok</groupId>
90 <artifactId>lombok</artifactId>
91 <scope>provided</scope>
92 </dependency>
93
94 <dependency>
95 <groupId>com.google.code.gson</groupId>
96 <artifactId>gson</artifactId>
97 </dependency>
98
99 <dependency>
liamfallon8fdf84c2019-03-15 12:36:38 +0000100 <groupId>org.yaml</groupId>
101 <artifactId>snakeyaml</artifactId>
liamfallon8fdf84c2019-03-15 12:36:38 +0000102 </dependency>
103
104 <dependency>
liamfallon4c28d2c2019-03-14 10:01:58 +0000105 <groupId>javax.ws.rs</groupId>
106 <artifactId>javax.ws.rs-api</artifactId>
107 <version>${javax.ws.rs-api.version}</version>
108 </dependency>
109
110 <dependency>
liamfallon24400f72019-04-10 11:34:06 +0000111 <groupId>org.mariadb.jdbc</groupId>
112 <artifactId>mariadb-java-client</artifactId>
113 </dependency>
114
115 <dependency>
liamfallon18555712019-11-01 11:24:26 +0000116 <groupId>org.eclipse.persistence</groupId>
117 <artifactId>eclipselink</artifactId>
118 </dependency>
119
120 <dependency>
liamfallonb694be12019-03-05 09:35:16 +0000121 <groupId>junit</groupId>
122 <artifactId>junit</artifactId>
123 <scope>test</scope>
124 </dependency>
125
126 <dependency>
Pamela Dragosh99837f42019-03-21 09:58:52 -0400127 <groupId>org.assertj</groupId>
128 <artifactId>assertj-core</artifactId>
129 <scope>test</scope>
130 </dependency>
131
132 <dependency>
ramvermab359a4b2019-06-27 11:11:24 +0000133 <groupId>org.onap.policy.common</groupId>
134 <artifactId>utils-test</artifactId>
135 <version>${policy.common.version}</version>
136 <scope>test</scope>
137 </dependency>
HOCKLA754f9a02019-12-21 12:11:33 -0600138 <dependency>
139 <groupId>com.openpojo</groupId>
140 <artifactId>openpojo</artifactId>
141 <scope>test</scope>
142 </dependency>
liamfallon18555712019-11-01 11:24:26 +0000143
144 <dependency>
145 <groupId>org.glassfish.jersey.inject</groupId>
146 <artifactId>jersey-hk2</artifactId>
147 </dependency>
HOCKLA754f9a02019-12-21 12:11:33 -0600148 <dependency>
149 <groupId>org.eclipse.jetty</groupId>
150 <artifactId>jetty-server</artifactId>
151 </dependency>
152 <dependency>
153 <groupId>org.eclipse.jetty</groupId>
154 <artifactId>jetty-security</artifactId>
155 <version>9.4.25.v20191220</version>
156 </dependency>
157 <dependency>
158 <groupId>org.eclipse.jetty</groupId>
159 <artifactId>jetty-servlet</artifactId>
160 </dependency>
161 <dependency>
162 <groupId>org.glassfish.jersey.containers</groupId>
163 <artifactId>jersey-container-servlet</artifactId>
164 <version>${version.jersey}</version>
165 </dependency>
166 <dependency>
167 <groupId>org.apache.httpcomponents</groupId>
168 <artifactId>httpclient</artifactId>
169 </dependency>
170 <dependency>
171 <groupId>io.swagger</groupId>
172 <artifactId>swagger-annotations</artifactId>
173 <version>${version.swagger}</version>
174 </dependency>
175 <dependency>
176 <groupId>commons-io</groupId>
177 <artifactId>commons-io</artifactId>
178 <version>2.6</version>
179 </dependency>
180 <dependency>
181 <groupId>org.apache.commons</groupId>
182 <artifactId>commons-collections4</artifactId>
183 <version>4.4</version>
184 </dependency>
185 <dependency>
186 <groupId>com.att.nsa</groupId>
187 <artifactId>cambriaClient</artifactId>
188 </dependency>
189 <dependency>
190 <groupId>org.glassfish</groupId>
191 <artifactId>javax.json</artifactId>
192 <version>${version.javax.json}</version>
193 </dependency>
194 <dependency>
195 <groupId>org.json</groupId>
196 <artifactId>json</artifactId>
197 <version>${version.json}</version>
198 </dependency>
liamfallonb694be12019-03-05 09:35:16 +0000199 </dependencies>
200
liamfallonf240fda2019-02-26 13:57:39 +0000201 <dependencyManagement>
202 <dependencies>
203 <dependency>
204 <groupId>org.onap.policy.common</groupId>
205 <artifactId>utils</artifactId>
206 <version>${policy.common.version}</version>
207 </dependency>
208 </dependencies>
209 </dependencyManagement>
210
Pamela Dragoshf973f582018-09-25 10:06:07 -0400211 <build>
212 <plugins>
213 <plugin>
Pamela Dragoshf973f582018-09-25 10:06:07 -0400214 <artifactId>maven-checkstyle-plugin</artifactId>
215 <executions>
216 <execution>
217 <id>onap-java-style</id>
218 <goals>
219 <goal>check</goal>
220 </goals>
221 <phase>process-sources</phase>
222 <configuration>
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 -->
HOCKLA754f9a02019-12-21 12:11:33 -0600227 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
Pamela Dragoshf973f582018-09-25 10:06:07 -0400228 <includeResources>true</includeResources>
229 <includeTestSourceDirectory>true</includeTestSourceDirectory>
230 <includeTestResources>true</includeTestResources>
231 <excludes>
232 </excludes>
233 <consoleOutput>true</consoleOutput>
234 <failOnViolation>true</failOnViolation>
235 <violationSeverity>warning</violationSeverity>
236 </configuration>
237 </execution>
238 </executions>
239 <dependencies>
240 <dependency>
241 <groupId>org.onap.oparent</groupId>
242 <artifactId>checkstyle</artifactId>
243 <version>${oparent.version}</version>
244 <scope>compile</scope>
245 </dependency>
246 </dependencies>
247 </plugin>
248 </plugins>
249 <pluginManagement>
250 <plugins>
251 <plugin>
Pamela Dragoshf973f582018-09-25 10:06:07 -0400252 <groupId>org.eclipse.m2e</groupId>
253 <artifactId>lifecycle-mapping</artifactId>
254 <version>1.0.0</version>
255 <configuration>
256 <lifecycleMappingMetadata>
257 <pluginExecutions>
258 <pluginExecution>
259 <pluginExecutionFilter>
260 <groupId>org.apache.maven.plugins</groupId>
261 <artifactId>maven-checkstyle-plugin</artifactId>
262 <versionRange>2.17,)</versionRange>
263 <goals>
264 <goal>check</goal>
265 </goals>
266 </pluginExecutionFilter>
267 <action>
ramvermab359a4b2019-06-27 11:11:24 +0000268 <ignore />
Pamela Dragoshf973f582018-09-25 10:06:07 -0400269 </action>
270 </pluginExecution>
271 </pluginExecutions>
272 </lifecycleMappingMetadata>
273 </configuration>
274 </plugin>
275 </plugins>
276 </pluginManagement>
277 </build>
Pamela Dragoshada55be2019-04-05 21:07:07 -0400278</project>