Bump drools-pdp to version 1.5.0
[policy/drools-pdp.git] / policy-management / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP Policy Engine - Drools PDP
5   ================================================================================
6   Copyright (C) 2017-2019 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
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   ============LICENSE_END=========================================================
20   -->
21
22 <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">
23     <modelVersion>4.0.0</modelVersion>
24
25     <parent>
26         <groupId>org.onap.policy.drools-pdp</groupId>
27         <artifactId>drools-pdp</artifactId>
28         <version>1.5.0-SNAPSHOT</version>
29     </parent>
30
31     <artifactId>policy-management</artifactId>
32
33     <name>policy-management</name>
34     <description>Policy Management</description>
35
36     <properties>
37         <jackson.version>2.9.5</jackson.version>
38     </properties>
39
40     <build>
41         <plugins>
42             <plugin>
43                 <artifactId>maven-assembly-plugin</artifactId>
44                 <executions>
45                     <execution>
46                         <id>zipfile</id>
47                         <goals>
48                             <goal>single</goal>
49                         </goals>
50                         <phase>package</phase>
51                         <configuration>
52                             <attach>true</attach>
53                             <finalName>${project.artifactId}-${project.version}</finalName>
54                             <descriptors>
55                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
56                             </descriptors>
57                             <appendAssemblyId>false</appendAssemblyId>
58                         </configuration>
59                     </execution>
60                 </executions>
61             </plugin>
62             <plugin>
63                 <groupId>org.apache.maven.plugins</groupId>
64                 <artifactId>maven-dependency-plugin</artifactId>
65                 <executions>
66                     <execution>
67                         <id>copy-dependencies</id>
68                         <goals>
69                             <goal>copy-dependencies</goal>
70                         </goals>
71                         <phase>prepare-package</phase>
72                         <configuration>
73                             <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>
74                             <overWriteReleases>false</overWriteReleases>
75                             <overWriteSnapshots>true</overWriteSnapshots>
76                             <overWriteIfNewer>true</overWriteIfNewer>
77                             <useRepositoryLayout>false</useRepositoryLayout>
78                             <addParentPoms>false</addParentPoms>
79                             <copyPom>false</copyPom>
80                             <excludeGroupIds>javax.inject</excludeGroupIds>
81                             <includeScope>runtime</includeScope>
82                         </configuration>
83                     </execution>
84                 </executions>
85             </plugin>
86             <plugin>
87                 <artifactId>maven-resources-plugin</artifactId>
88                 <executions>
89                     <execution>
90                         <id>copy-version</id>
91                         <goals>
92                             <goal>copy-resources</goal>
93                         </goals>
94                         <phase>validate</phase>
95                         <configuration>
96                             <outputDirectory>${basedir}/target/versions</outputDirectory>
97                             <resources>
98                                 <resource>
99                                     <directory>src/main/resources/versions</directory>
100                                     <includes>
101                                         <include>version.properties</include>
102                                     </includes>
103                                     <filtering>true</filtering>
104                                 </resource>
105                             </resources>
106                         </configuration>
107                     </execution>
108                     <execution>
109                         <id>copy-resources</id>
110                         <goals>
111                             <goal>copy-resources</goal>
112                         </goals>
113                         <phase>validate</phase>
114                         <configuration>
115                             <outputDirectory>${basedir}/target/etc/bvc-extensions</outputDirectory>
116                             <resources>
117                                 <resource>
118                                     <directory>src/main/resources/etc/bvc-extensions</directory>
119                                     <includes>
120                                         <include>feature_config_template.cfg</include>
121                                         <include>feature_custom.install</include>
122                                     </includes>
123                                     <filtering>true</filtering>
124                                 </resource>
125                             </resources>
126                         </configuration>
127                     </execution>
128                 </executions>
129             </plugin>
130             <plugin>
131                 <artifactId>maven-checkstyle-plugin</artifactId>
132                 <executions>
133                     <execution>
134                         <id>onap-java-style</id>
135                         <goals>
136                             <goal>check</goal>
137                         </goals>
138                         <phase>process-sources</phase>
139                         <configuration>
140                             <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
141                                 with minor changes -->
142                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
143                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
144                             <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
145                             <includeResources>true</includeResources>
146                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
147                             <includeTestResources>true</includeTestResources>
148                             <excludes>
149                             </excludes>
150                             <suppressionsLocation>${project.baseUri}checkstyle-suppressions.xml</suppressionsLocation>
151                             <consoleOutput>true</consoleOutput>
152                             <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>
165         </plugins>
166     </build>
167
168     <dependencies>
169
170         <dependency>
171             <groupId>org.onap.policy.drools-pdp</groupId>
172             <artifactId>policy-core</artifactId>
173             <version>${project.version}</version>
174         </dependency>
175
176         <dependency>
177             <groupId>org.onap.policy.common</groupId>
178             <artifactId>policy-endpoints</artifactId>
179             <version>${policy.common.version}</version>
180         </dependency>
181
182         <dependency>
183             <groupId>org.onap.policy.models</groupId>
184             <artifactId>policy-models-pdp</artifactId>
185             <version>${policy.models.version}</version>
186         </dependency>
187
188         <dependency>
189             <groupId>org.eclipse.jetty</groupId>
190             <artifactId>jetty-server</artifactId>
191         </dependency>
192
193         <dependency>
194             <groupId>org.eclipse.jetty</groupId>
195             <artifactId>jetty-servlet</artifactId>
196         </dependency>
197
198         <dependency>
199             <groupId>org.glassfish.jersey.core</groupId>
200             <artifactId>jersey-server</artifactId>
201             <version>${jersey.version}</version>
202         </dependency>
203
204         <dependency>
205             <groupId>org.glassfish.jersey.containers</groupId>
206             <artifactId>jersey-container-servlet-core</artifactId>
207         </dependency>
208
209         <dependency>
210             <groupId>org.glassfish.jersey.containers</groupId>
211             <artifactId>jersey-container-jetty-http</artifactId>
212             <version>${jersey.version}</version>
213             <exclusions>
214                 <exclusion>
215                     <groupId>org.eclipse.jetty</groupId>
216                     <artifactId>jetty-util</artifactId>
217                 </exclusion>
218             </exclusions>
219         </dependency>
220
221         <dependency>
222             <groupId>io.swagger</groupId>
223             <artifactId>swagger-jersey2-jaxrs</artifactId>
224         </dependency>
225
226         <dependency>
227             <groupId>com.fasterxml.jackson.core</groupId>
228             <artifactId>jackson-annotations</artifactId>
229             <version>${jackson.version}</version>
230         </dependency>
231
232         <dependency>
233             <groupId>org.onap.policy.common</groupId>
234             <artifactId>gson</artifactId>
235             <version>${policy.common.version}</version>
236         </dependency>
237
238         <dependency>
239             <groupId>com.google.code.gson</groupId>
240             <artifactId>gson</artifactId>
241         </dependency>
242
243         <dependency>
244             <groupId>com.fatboyindustrial.gson-javatime-serialisers</groupId>
245             <artifactId>gson-javatime-serialisers</artifactId>
246             <version>1.1.1</version>
247         </dependency>
248         
249         <dependency>
250             <groupId>com.jayway.jsonpath</groupId>
251             <artifactId>json-path</artifactId>
252         </dependency>
253
254         <dependency>
255             <groupId>org.apache.commons</groupId>
256             <artifactId>commons-collections4</artifactId>
257             <version>4.1</version>
258         </dependency>
259
260         <!-- if we don't explicitly specify the version here, we seem to end up
261         with version 1.4 (as a dependency to drools-core). This version is
262         not compatible with 'saClientLibrary' version 1.2.1-oss
263         -->
264         <dependency>
265             <groupId>commons-codec</groupId>
266             <artifactId>commons-codec</artifactId>
267         </dependency>
268
269         <dependency>
270             <groupId>ch.qos.logback</groupId>
271             <artifactId>logback-classic</artifactId>
272         </dependency>
273
274         <dependency>
275             <groupId>junit</groupId>
276             <artifactId>junit</artifactId>
277             <scope>test</scope>
278         </dependency>
279
280         <dependency>
281             <groupId>org.powermock</groupId>
282             <artifactId>powermock-api-mockito</artifactId>
283             <scope>test</scope>
284         </dependency>
285
286         <dependency>
287             <groupId>org.onap.policy.common</groupId>
288             <artifactId>utils-test</artifactId>
289             <version>${policy.common.version}</version>
290             <scope>test</scope>
291         </dependency>
292
293         <!--
294         The following dependencies are for features and drools
295         applications usage
296         -->
297
298         <dependency>
299             <groupId>org.eclipse.persistence</groupId>
300             <artifactId>eclipselink</artifactId>
301         </dependency>
302
303         <dependency>
304             <groupId>org.eclipse.persistence</groupId>
305             <artifactId>org.eclipse.persistence.jpa</artifactId>
306         </dependency>
307
308         <dependency>
309             <groupId>org.mariadb.jdbc</groupId>
310             <artifactId>mariadb-java-client</artifactId>
311         </dependency>
312
313         <dependency>
314             <groupId>org.hibernate</groupId>
315             <artifactId>hibernate-core</artifactId>
316         </dependency>
317
318         <dependency>
319             <groupId>org.hibernate.common</groupId>
320             <artifactId>hibernate-commons-annotations</artifactId>
321         </dependency>
322
323         <dependency>
324             <groupId>commons-io</groupId>
325             <artifactId>commons-io</artifactId>
326         </dependency>
327
328         <dependency>
329             <groupId>org.assertj</groupId>
330             <artifactId>assertj-core</artifactId>
331             <scope>test</scope>
332         </dependency>
333
334     </dependencies>
335 </project>