1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START=======================================================
4 ONAP Policy Engine - Drools PDP
5 ================================================================================
6 Copyright (C) 2017-2018 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.
19 ============LICENSE_END=========================================================
22 <project xmlns="http://maven.apache.org/POM/4.0.0"
23 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
25 <modelVersion>4.0.0</modelVersion>
28 <groupId>org.onap.policy.drools-pdp</groupId>
29 <artifactId>drools-pdp</artifactId>
30 <version>1.3.0-SNAPSHOT</version>
33 <artifactId>policy-management</artifactId>
35 <name>policy-management</name>
36 <description>Policy Management</description>
41 <artifactId>maven-assembly-plugin</artifactId>
48 <phase>package</phase>
51 <finalName>${project.artifactId}-${project.version}</finalName>
53 <descriptor>src/assembly/assemble_zip.xml</descriptor>
55 <appendAssemblyId>false</appendAssemblyId>
61 <groupId>org.apache.maven.plugins</groupId>
62 <artifactId>maven-dependency-plugin</artifactId>
65 <id>copy-dependencies</id>
67 <goal>copy-dependencies</goal>
69 <phase>prepare-package</phase>
71 <transitive>false</transitive>
72 <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>
73 <overWriteReleases>false</overWriteReleases>
74 <overWriteSnapshots>true</overWriteSnapshots>
75 <overWriteIfNewer>true</overWriteIfNewer>
76 <useRepositoryLayout>false</useRepositoryLayout>
77 <addParentPoms>false</addParentPoms>
78 <copyPom>false</copyPom>
79 <excludeGroupIds>javax.inject</excludeGroupIds>
80 <includeScope>runtime</includeScope>
86 <artifactId>maven-resources-plugin</artifactId>
91 <goal>copy-resources</goal>
93 <phase>validate</phase>
95 <outputDirectory>${basedir}/target/versions</outputDirectory>
98 <directory>src/main/resources/versions</directory>
100 <include>version.properties</include>
102 <filtering>true</filtering>
108 <id>copy-resources</id>
110 <goal>copy-resources</goal>
112 <phase>validate</phase>
114 <outputDirectory>${basedir}/target/etc/bvc-extensions</outputDirectory>
117 <directory>src/main/resources/etc/bvc-extensions</directory>
119 <include>feature_config_template.cfg</include>
120 <include>feature_custom.install</include>
122 <filtering>true</filtering>
135 <groupId>org.onap.policy.drools-pdp</groupId>
136 <artifactId>policy-core</artifactId>
137 <version>${project.version}</version>
141 <groupId>org.onap.policy.common</groupId>
142 <artifactId>policy-endpoints</artifactId>
143 <version>${project.version}</version>
147 <groupId>org.eclipse.jetty</groupId>
148 <artifactId>jetty-server</artifactId>
149 <version>${jetty.version}</version>
153 <groupId>org.eclipse.jetty</groupId>
154 <artifactId>jetty-servlet</artifactId>
155 <version>${jetty.version}</version>
159 <groupId>org.glassfish.jersey.core</groupId>
160 <artifactId>jersey-server</artifactId>
161 <version>${jersey.version}</version>
165 <groupId>org.glassfish.jersey.containers</groupId>
166 <artifactId>jersey-container-servlet-core</artifactId>
170 <groupId>org.glassfish.jersey.media</groupId>
171 <artifactId>jersey-media-json-jackson</artifactId>
172 <version>${jersey.version}</version>
176 <groupId>org.glassfish.jersey.containers</groupId>
177 <artifactId>jersey-container-jetty-http</artifactId>
178 <version>${jersey.version}</version>
181 <groupId>org.eclipse.jetty</groupId>
182 <artifactId>jetty-util</artifactId>
188 <groupId>io.swagger</groupId>
189 <artifactId>swagger-jersey2-jaxrs</artifactId>
193 <groupId>com.fasterxml.jackson.core</groupId>
194 <artifactId>jackson-databind</artifactId>
195 <version>${jackson.version}</version>
199 <groupId>com.fasterxml.jackson.datatype</groupId>
200 <artifactId>jackson-datatype-jsr310</artifactId>
201 <version>${jackson.version}</version>
205 <groupId>com.fasterxml.jackson.core</groupId>
206 <artifactId>jackson-annotations</artifactId>
207 <version>${jackson.version}</version>
211 <groupId>com.google.code.gson</groupId>
212 <artifactId>gson</artifactId>
216 <groupId>com.fatboyindustrial.gson-javatime-serialisers</groupId>
217 <artifactId>gson-javatime-serialisers</artifactId>
218 <version>1.1.1</version>
222 <groupId>org.apache.commons</groupId>
223 <artifactId>commons-collections4</artifactId>
224 <version>4.1</version>
227 <!-- if we don't explicitly specify the version here, we seem to end up
228 with version 1.4 (as a dependency to drools-core). This version is
229 not compatible with 'saClientLibrary' version 1.2.1-oss
232 <groupId>commons-codec</groupId>
233 <artifactId>commons-codec</artifactId>
237 <groupId>ch.qos.logback</groupId>
238 <artifactId>logback-classic</artifactId>
242 <groupId>junit</groupId>
243 <artifactId>junit</artifactId>
248 The following dependencies are for features and drools
253 <groupId>org.eclipse.persistence</groupId>
254 <artifactId>eclipselink</artifactId>
258 <groupId>org.eclipse.persistence</groupId>
259 <artifactId>org.eclipse.persistence.jpa</artifactId>
263 <groupId>org.mariadb.jdbc</groupId>
264 <artifactId>mariadb-java-client</artifactId>
268 <groupId>org.hibernate</groupId>
269 <artifactId>hibernate-core</artifactId>
273 <groupId>org.hibernate.common</groupId>
274 <artifactId>hibernate-commons-annotations</artifactId>
278 <groupId>commons-io</groupId>
279 <artifactId>commons-io</artifactId>