Bump version of drools-pdp
[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.2-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                             <consoleOutput>true</consoleOutput>
151                             <violationSeverity>warning</violationSeverity>
152                         </configuration>
153                     </execution>
154                 </executions>
155                 <dependencies>
156                     <dependency>
157                         <groupId>org.onap.oparent</groupId>
158                         <artifactId>checkstyle</artifactId>
159                         <version>${oparent.version}</version>
160                         <scope>compile</scope>
161                     </dependency>
162                 </dependencies>
163             </plugin>
164         </plugins>
165     </build>
166
167     <dependencies>
168
169         <dependency>
170             <groupId>org.onap.policy.drools-pdp</groupId>
171             <artifactId>policy-core</artifactId>
172             <version>${project.version}</version>
173         </dependency>
174
175         <dependency>
176             <groupId>org.onap.policy.common</groupId>
177             <artifactId>policy-endpoints</artifactId>
178             <version>${policy.common.version}</version>
179         </dependency>
180
181         <dependency>
182             <groupId>org.onap.policy.models</groupId>
183             <artifactId>policy-models-pdp</artifactId>
184             <version>${policy.models.version}</version>
185         </dependency>
186
187         <dependency>
188             <groupId>org.eclipse.jetty</groupId>
189             <artifactId>jetty-server</artifactId>
190         </dependency>
191
192         <dependency>
193             <groupId>org.eclipse.jetty</groupId>
194             <artifactId>jetty-servlet</artifactId>
195         </dependency>
196
197         <dependency>
198             <groupId>org.glassfish.jersey.core</groupId>
199             <artifactId>jersey-server</artifactId>
200             <version>${jersey.version}</version>
201         </dependency>
202
203         <dependency>
204             <groupId>org.glassfish.jersey.containers</groupId>
205             <artifactId>jersey-container-servlet-core</artifactId>
206         </dependency>
207
208         <dependency>
209             <groupId>org.glassfish.jersey.containers</groupId>
210             <artifactId>jersey-container-jetty-http</artifactId>
211             <version>${jersey.version}</version>
212             <exclusions>
213                 <exclusion>
214                     <groupId>org.eclipse.jetty</groupId>
215                     <artifactId>jetty-util</artifactId>
216                 </exclusion>
217             </exclusions>
218         </dependency>
219
220         <dependency>
221             <groupId>io.swagger</groupId>
222             <artifactId>swagger-jersey2-jaxrs</artifactId>
223         </dependency>
224
225         <dependency>
226             <groupId>com.fasterxml.jackson.core</groupId>
227             <artifactId>jackson-annotations</artifactId>
228             <version>${jackson.version}</version>
229         </dependency>
230
231         <dependency>
232             <groupId>org.onap.policy.common</groupId>
233             <artifactId>gson</artifactId>
234             <version>${policy.common.version}</version>
235         </dependency>
236
237         <dependency>
238             <groupId>com.google.code.gson</groupId>
239             <artifactId>gson</artifactId>
240         </dependency>
241
242         <dependency>
243             <groupId>com.fatboyindustrial.gson-javatime-serialisers</groupId>
244             <artifactId>gson-javatime-serialisers</artifactId>
245             <version>1.1.1</version>
246         </dependency>
247         
248         <dependency>
249             <groupId>com.jayway.jsonpath</groupId>
250             <artifactId>json-path</artifactId>
251         </dependency>
252
253         <dependency>
254             <groupId>org.apache.commons</groupId>
255             <artifactId>commons-collections4</artifactId>
256             <version>4.1</version>
257         </dependency>
258
259         <!-- if we don't explicitly specify the version here, we seem to end up
260         with version 1.4 (as a dependency to drools-core). This version is
261         not compatible with 'saClientLibrary' version 1.2.1-oss
262         -->
263         <dependency>
264             <groupId>commons-codec</groupId>
265             <artifactId>commons-codec</artifactId>
266         </dependency>
267
268         <dependency>
269             <groupId>ch.qos.logback</groupId>
270             <artifactId>logback-classic</artifactId>
271         </dependency>
272
273         <dependency>
274             <groupId>junit</groupId>
275             <artifactId>junit</artifactId>
276             <scope>test</scope>
277         </dependency>
278
279         <dependency>
280             <groupId>org.powermock</groupId>
281             <artifactId>powermock-api-mockito</artifactId>
282             <scope>test</scope>
283         </dependency>
284
285         <dependency>
286             <groupId>org.onap.policy.common</groupId>
287             <artifactId>utils-test</artifactId>
288             <version>${policy.common.version}</version>
289             <scope>test</scope>
290         </dependency>
291
292         <!--
293         The following dependencies are for features and drools
294         applications usage
295         -->
296
297         <dependency>
298             <groupId>org.eclipse.persistence</groupId>
299             <artifactId>eclipselink</artifactId>
300         </dependency>
301
302         <dependency>
303             <groupId>org.eclipse.persistence</groupId>
304             <artifactId>org.eclipse.persistence.jpa</artifactId>
305         </dependency>
306
307         <dependency>
308             <groupId>org.mariadb.jdbc</groupId>
309             <artifactId>mariadb-java-client</artifactId>
310         </dependency>
311
312         <dependency>
313             <groupId>org.hibernate</groupId>
314             <artifactId>hibernate-core</artifactId>
315         </dependency>
316
317         <dependency>
318             <groupId>org.hibernate.common</groupId>
319             <artifactId>hibernate-commons-annotations</artifactId>
320         </dependency>
321
322         <dependency>
323             <groupId>commons-io</groupId>
324             <artifactId>commons-io</artifactId>
325         </dependency>
326
327         <dependency>
328             <groupId>org.assertj</groupId>
329             <artifactId>assertj-core</artifactId>
330             <scope>test</scope>
331         </dependency>
332
333     </dependencies>
334 </project>