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