1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START=======================================================
4 ONAP Policy Engine - Drools PDP
5 ================================================================================
6 Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved.
7 Modifications Copyright (C) 2019 Nordix Foundation.
8 ================================================================================
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
13 http://www.apache.org/licenses/LICENSE-2.0
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 ============LICENSE_END=========================================================
23 <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">
24 <modelVersion>4.0.0</modelVersion>
27 <groupId>org.onap.policy.drools-pdp</groupId>
28 <artifactId>drools-pdp</artifactId>
29 <version>1.6.0-SNAPSHOT</version>
32 <artifactId>policy-management</artifactId>
34 <name>policy-management</name>
35 <description>Policy Management</description>
38 <jackson.version>2.9.5</jackson.version>
44 <artifactId>maven-assembly-plugin</artifactId>
51 <phase>package</phase>
54 <finalName>${project.artifactId}-${project.version}</finalName>
56 <descriptor>src/assembly/assemble_zip.xml</descriptor>
58 <appendAssemblyId>false</appendAssemblyId>
64 <groupId>org.apache.maven.plugins</groupId>
65 <artifactId>maven-dependency-plugin</artifactId>
68 <id>copy-dependencies</id>
70 <goal>copy-dependencies</goal>
72 <phase>prepare-package</phase>
74 <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>
88 <artifactId>maven-resources-plugin</artifactId>
93 <goal>copy-resources</goal>
95 <phase>validate</phase>
97 <outputDirectory>${basedir}/target/versions</outputDirectory>
100 <directory>src/main/resources/versions</directory>
102 <include>version.properties</include>
104 <filtering>true</filtering>
110 <id>copy-resources</id>
112 <goal>copy-resources</goal>
114 <phase>validate</phase>
116 <outputDirectory>${basedir}/target/etc/bvc-extensions</outputDirectory>
119 <directory>src/main/resources/etc/bvc-extensions</directory>
121 <include>feature_config_template.cfg</include>
122 <include>feature_custom.install</include>
124 <filtering>true</filtering>
132 <artifactId>maven-checkstyle-plugin</artifactId>
135 <id>onap-java-style</id>
139 <phase>process-sources</phase>
141 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
142 with minor changes -->
143 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
144 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
145 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
146 <includeResources>true</includeResources>
147 <includeTestSourceDirectory>true</includeTestSourceDirectory>
148 <includeTestResources>true</includeTestResources>
151 <consoleOutput>true</consoleOutput>
152 <violationSeverity>warning</violationSeverity>
158 <groupId>org.onap.oparent</groupId>
159 <artifactId>checkstyle</artifactId>
160 <version>${oparent.version}</version>
161 <scope>compile</scope>
171 <groupId>org.onap.policy.drools-pdp</groupId>
172 <artifactId>policy-core</artifactId>
173 <version>${project.version}</version>
177 <groupId>org.onap.policy.drools-pdp</groupId>
178 <artifactId>policy-domains</artifactId>
179 <version>${project.version}</version>
183 <groupId>org.onap.policy.common</groupId>
184 <artifactId>policy-endpoints</artifactId>
185 <version>${policy.common.version}</version>
189 <groupId>org.onap.policy.models</groupId>
190 <artifactId>policy-models-pdp</artifactId>
191 <version>${policy.models.version}</version>
195 <groupId>org.eclipse.jetty</groupId>
196 <artifactId>jetty-server</artifactId>
200 <groupId>org.eclipse.jetty</groupId>
201 <artifactId>jetty-servlet</artifactId>
205 <groupId>com.fasterxml.jackson.core</groupId>
206 <artifactId>jackson-annotations</artifactId>
210 <groupId>org.onap.policy.common</groupId>
211 <artifactId>gson</artifactId>
212 <version>${policy.common.version}</version>
216 <groupId>com.google.code.gson</groupId>
217 <artifactId>gson</artifactId>
221 <groupId>com.fatboyindustrial.gson-javatime-serialisers</groupId>
222 <artifactId>gson-javatime-serialisers</artifactId>
223 <version>1.1.1</version>
227 <groupId>com.jayway.jsonpath</groupId>
228 <artifactId>json-path</artifactId>
232 <groupId>org.apache.commons</groupId>
233 <artifactId>commons-collections4</artifactId>
234 <version>4.1</version>
237 <!-- 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
239 not compatible with 'saClientLibrary' version 1.2.1-oss
242 <groupId>commons-codec</groupId>
243 <artifactId>commons-codec</artifactId>
247 <groupId>ch.qos.logback</groupId>
248 <artifactId>logback-classic</artifactId>
252 <groupId>junit</groupId>
253 <artifactId>junit</artifactId>
258 <groupId>org.powermock</groupId>
259 <artifactId>powermock-api-mockito2</artifactId>
264 <groupId>org.onap.policy.common</groupId>
265 <artifactId>utils-test</artifactId>
266 <version>${policy.common.version}</version>
271 The following dependencies are for features and drools
276 <groupId>org.eclipse.persistence</groupId>
277 <artifactId>eclipselink</artifactId>
281 <groupId>org.eclipse.persistence</groupId>
282 <artifactId>org.eclipse.persistence.jpa</artifactId>
286 <groupId>org.mariadb.jdbc</groupId>
287 <artifactId>mariadb-java-client</artifactId>
291 <groupId>org.hibernate</groupId>
292 <artifactId>hibernate-core</artifactId>
296 <groupId>org.hibernate.common</groupId>
297 <artifactId>hibernate-commons-annotations</artifactId>
301 <groupId>commons-io</groupId>
302 <artifactId>commons-io</artifactId>
306 <groupId>org.assertj</groupId>
307 <artifactId>assertj-core</artifactId>
312 <groupId>org.awaitility</groupId>
313 <artifactId>awaitility</artifactId>