blob: fb96fd7b5568d075ceb5cf1e31136d746767a0ee [file] [log] [blame]
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
Guo Ruijing6abeb292017-07-28 08:23:01 +00004 ONAP Policy Engine - Drools PDP
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05005 ================================================================================
Hockla, Ali (ah999m)956a7b52020-01-13 14:11:46 -06006 Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved.
RossCc50265a2020-06-30 15:57:07 +01007 Modifications Copyright (C) 2020 Nordix Foundation.
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05008 ================================================================================
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
Jim Hahn50497072019-02-08 13:22:06 -050012
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050013 http://www.apache.org/licenses/LICENSE-2.0
Jim Hahn50497072019-02-08 13:22:06 -050014
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050015 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
liamfallon99200202018-10-31 16:00:08 +000023<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
Pamela Dragoshfd307be2018-08-28 18:10:51 -040024 <modelVersion>4.0.0</modelVersion>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050025
Pamela Dragoshfd307be2018-08-28 18:10:51 -040026 <parent>
27 <groupId>org.onap.policy.drools-pdp</groupId>
28 <artifactId>drools-pdp</artifactId>
aditya.puthuparambil513d1e02020-05-21 16:13:39 +010029 <version>1.7.0-SNAPSHOT</version>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040030 </parent>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050031
Pamela Dragoshfd307be2018-08-28 18:10:51 -040032 <artifactId>policy-management</artifactId>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050033
Pamela Dragoshfd307be2018-08-28 18:10:51 -040034 <name>policy-management</name>
35 <description>Policy Management</description>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050036
Jim Hahn2b13a1c2019-02-18 11:59:42 -050037 <properties>
38 <jackson.version>2.9.5</jackson.version>
39 </properties>
40
Pamela Dragoshfd307be2018-08-28 18:10:51 -040041 <build>
42 <plugins>
43 <plugin>
44 <artifactId>maven-assembly-plugin</artifactId>
45 <executions>
46 <execution>
47 <id>zipfile</id>
48 <goals>
49 <goal>single</goal>
50 </goals>
51 <phase>package</phase>
52 <configuration>
53 <attach>true</attach>
54 <finalName>${project.artifactId}-${project.version}</finalName>
55 <descriptors>
56 <descriptor>src/assembly/assemble_zip.xml</descriptor>
57 </descriptors>
58 <appendAssemblyId>false</appendAssemblyId>
59 </configuration>
60 </execution>
61 </executions>
62 </plugin>
63 <plugin>
64 <groupId>org.apache.maven.plugins</groupId>
65 <artifactId>maven-dependency-plugin</artifactId>
66 <executions>
67 <execution>
68 <id>copy-dependencies</id>
69 <goals>
70 <goal>copy-dependencies</goal>
71 </goals>
72 <phase>prepare-package</phase>
73 <configuration>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040074 <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>
75 <overWriteReleases>false</overWriteReleases>
76 <overWriteSnapshots>true</overWriteSnapshots>
77 <overWriteIfNewer>true</overWriteIfNewer>
78 <useRepositoryLayout>false</useRepositoryLayout>
79 <addParentPoms>false</addParentPoms>
80 <copyPom>false</copyPom>
81 <excludeGroupIds>javax.inject</excludeGroupIds>
82 <includeScope>runtime</includeScope>
83 </configuration>
84 </execution>
85 </executions>
86 </plugin>
87 <plugin>
88 <artifactId>maven-resources-plugin</artifactId>
89 <executions>
90 <execution>
91 <id>copy-version</id>
92 <goals>
93 <goal>copy-resources</goal>
94 </goals>
95 <phase>validate</phase>
96 <configuration>
97 <outputDirectory>${basedir}/target/versions</outputDirectory>
98 <resources>
99 <resource>
100 <directory>src/main/resources/versions</directory>
101 <includes>
102 <include>version.properties</include>
103 </includes>
104 <filtering>true</filtering>
105 </resource>
106 </resources>
107 </configuration>
108 </execution>
109 <execution>
110 <id>copy-resources</id>
111 <goals>
112 <goal>copy-resources</goal>
113 </goals>
114 <phase>validate</phase>
115 <configuration>
116 <outputDirectory>${basedir}/target/etc/bvc-extensions</outputDirectory>
117 <resources>
118 <resource>
119 <directory>src/main/resources/etc/bvc-extensions</directory>
120 <includes>
121 <include>feature_config_template.cfg</include>
122 <include>feature_custom.install</include>
123 </includes>
124 <filtering>true</filtering>
125 </resource>
126 </resources>
127 </configuration>
128 </execution>
129 </executions>
130 </plugin>
Pamela Dragosha0e0c782018-09-28 04:58:26 -0400131 <plugin>
132 <artifactId>maven-checkstyle-plugin</artifactId>
133 <executions>
134 <execution>
135 <id>onap-java-style</id>
136 <goals>
137 <goal>check</goal>
138 </goals>
139 <phase>process-sources</phase>
140 <configuration>
Jim Hahn50497072019-02-08 13:22:06 -0500141 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
Pamela Dragosha0e0c782018-09-28 04:58:26 -0400142 with minor changes -->
143 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
144 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
Hockla, Ali (ah999m)956a7b52020-01-13 14:11:46 -0600145 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
Pamela Dragosha0e0c782018-09-28 04:58:26 -0400146 <includeResources>true</includeResources>
147 <includeTestSourceDirectory>true</includeTestSourceDirectory>
148 <includeTestResources>true</includeTestResources>
149 <excludes>
150 </excludes>
Pamela Dragosha0e0c782018-09-28 04:58:26 -0400151 <consoleOutput>true</consoleOutput>
Pamela Dragosha0e0c782018-09-28 04:58:26 -0400152 <violationSeverity>warning</violationSeverity>
153 </configuration>
154 </execution>
155 </executions>
156 <dependencies>
157 <dependency>
158 <groupId>org.onap.oparent</groupId>
159 <artifactId>checkstyle</artifactId>
160 <version>${oparent.version}</version>
161 <scope>compile</scope>
162 </dependency>
163 </dependencies>
164 </plugin>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400165 </plugins>
166 </build>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500167
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400168 <dependencies>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500169
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400170 <dependency>
171 <groupId>org.onap.policy.drools-pdp</groupId>
172 <artifactId>policy-core</artifactId>
173 <version>${project.version}</version>
174 </dependency>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500175
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400176 <dependency>
jhh3f563fe2020-03-05 22:32:58 -0600177 <groupId>org.onap.policy.drools-pdp</groupId>
178 <artifactId>policy-domains</artifactId>
179 <version>${project.version}</version>
180 </dependency>
181
182 <dependency>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400183 <groupId>org.onap.policy.common</groupId>
184 <artifactId>policy-endpoints</artifactId>
ramverma5bf84862018-10-24 19:35:48 +0100185 <version>${policy.common.version}</version>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400186 </dependency>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500187
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400188 <dependency>
Jorge Hernandez964b1272019-03-28 01:12:10 -0500189 <groupId>org.onap.policy.models</groupId>
190 <artifactId>policy-models-pdp</artifactId>
191 <version>${policy.models.version}</version>
192 </dependency>
193
194 <dependency>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400195 <groupId>org.eclipse.jetty</groupId>
196 <artifactId>jetty-server</artifactId>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400197 </dependency>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500198
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400199 <dependency>
200 <groupId>org.eclipse.jetty</groupId>
201 <artifactId>jetty-servlet</artifactId>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400202 </dependency>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500203
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400204 <dependency>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400205 <groupId>com.fasterxml.jackson.core</groupId>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400206 <artifactId>jackson-annotations</artifactId>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400207 </dependency>
208
209 <dependency>
Jim Hahncb8557e2019-02-15 12:24:14 -0500210 <groupId>org.onap.policy.common</groupId>
211 <artifactId>gson</artifactId>
212 <version>${policy.common.version}</version>
213 </dependency>
214
215 <dependency>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400216 <groupId>com.google.code.gson</groupId>
217 <artifactId>gson</artifactId>
218 </dependency>
219
220 <dependency>
221 <groupId>com.fatboyindustrial.gson-javatime-serialisers</groupId>
222 <artifactId>gson-javatime-serialisers</artifactId>
223 <version>1.1.1</version>
224 </dependency>
RossCc50265a2020-06-30 15:57:07 +0100225
Daniel Cruzfa2a5a42019-02-14 00:42:45 -0600226 <dependency>
227 <groupId>com.jayway.jsonpath</groupId>
228 <artifactId>json-path</artifactId>
229 </dependency>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400230
231 <dependency>
232 <groupId>org.apache.commons</groupId>
233 <artifactId>commons-collections4</artifactId>
RossCc50265a2020-06-30 15:57:07 +0100234 <version>4.4</version>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400235 </dependency>
Jim Hahn50497072019-02-08 13:22:06 -0500236
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400237 <!-- if we don't explicitly specify the version here, we seem to end up
238 with version 1.4 (as a dependency to drools-core). This version is
Jim Hahn50497072019-02-08 13:22:06 -0500239 not compatible with 'saClientLibrary' version 1.2.1-oss
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400240 -->
241 <dependency>
242 <groupId>commons-codec</groupId>
243 <artifactId>commons-codec</artifactId>
244 </dependency>
245
246 <dependency>
247 <groupId>ch.qos.logback</groupId>
248 <artifactId>logback-classic</artifactId>
249 </dependency>
250
251 <dependency>
252 <groupId>junit</groupId>
253 <artifactId>junit</artifactId>
254 <scope>test</scope>
255 </dependency>
Jim Hahn50497072019-02-08 13:22:06 -0500256
Jim Hahn08dc9c32018-10-02 16:46:57 -0400257 <dependency>
258 <groupId>org.powermock</groupId>
Hockla, Ali (ah999m)956a7b52020-01-13 14:11:46 -0600259 <artifactId>powermock-api-mockito2</artifactId>
Jim Hahn08dc9c32018-10-02 16:46:57 -0400260 <scope>test</scope>
261 </dependency>
262
263 <dependency>
264 <groupId>org.onap.policy.common</groupId>
265 <artifactId>utils-test</artifactId>
ramverma5bf84862018-10-24 19:35:48 +0100266 <version>${policy.common.version}</version>
Jim Hahn08dc9c32018-10-02 16:46:57 -0400267 <scope>test</scope>
268 </dependency>
Jim Hahn50497072019-02-08 13:22:06 -0500269
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400270 <!--
271 The following dependencies are for features and drools
272 applications usage
273 -->
274
275 <dependency>
276 <groupId>org.eclipse.persistence</groupId>
277 <artifactId>eclipselink</artifactId>
278 </dependency>
279
280 <dependency>
281 <groupId>org.eclipse.persistence</groupId>
282 <artifactId>org.eclipse.persistence.jpa</artifactId>
283 </dependency>
284
285 <dependency>
286 <groupId>org.mariadb.jdbc</groupId>
287 <artifactId>mariadb-java-client</artifactId>
288 </dependency>
289
290 <dependency>
291 <groupId>org.hibernate</groupId>
292 <artifactId>hibernate-core</artifactId>
293 </dependency>
294
295 <dependency>
296 <groupId>org.hibernate.common</groupId>
297 <artifactId>hibernate-commons-annotations</artifactId>
298 </dependency>
299
300 <dependency>
301 <groupId>commons-io</groupId>
302 <artifactId>commons-io</artifactId>
303 </dependency>
304
Jim Hahn50497072019-02-08 13:22:06 -0500305 <dependency>
306 <groupId>org.assertj</groupId>
307 <artifactId>assertj-core</artifactId>
308 <scope>test</scope>
309 </dependency>
310
Jim Hahn59e9b9a2019-08-14 17:31:50 -0400311 <dependency>
312 <groupId>org.awaitility</groupId>
313 <artifactId>awaitility</artifactId>
Jim Hahn59e9b9a2019-08-14 17:31:50 -0400314 <scope>test</scope>
315 </dependency>
316
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400317 </dependencies>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500318</project>