Bump version of drools-pdp
[policy/drools-pdp.git] / policy-core / 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     <artifactId>policy-core</artifactId>
26     <parent>
27         <groupId>org.onap.policy.drools-pdp</groupId>
28         <artifactId>drools-pdp</artifactId>
29         <version>1.5.2-SNAPSHOT</version>
30     </parent>
31
32     <dependencies>
33     <!--
34     Issue: 1 of 2
35     These 3 dependencies are trying to upgrade security fixes
36     identified. If they are removed or manipulated then please
37     fix the 2nd change as noted below. 
38     -->
39         <dependency>
40             <groupId>org.codehaus.plexus</groupId>
41             <artifactId>plexus-utils</artifactId>
42             <version>3.0.24</version>
43         </dependency>
44         <dependency>
45             <groupId>com.thoughtworks.xstream</groupId>
46             <artifactId>xstream</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>com.google.guava</groupId>
50             <artifactId>guava</artifactId>
51         </dependency>
52
53         <dependency>
54             <groupId>org.kie</groupId>
55             <artifactId>kie-api</artifactId>
56             <version>6.5.0.Final</version>
57         </dependency>
58         <dependency>
59             <groupId>org.kie</groupId>
60             <artifactId>kie-ci</artifactId>
61             <version>6.5.0.Final</version>
62       <!--
63       Issue: 2 of 2
64       Excluding these 2 dependencies in order to force upgrade security fixes
65       identified. As declared above. Any changes here should be reflected above
66       and vice versa.
67       -->
68             <exclusions>
69                 <exclusion>
70                     <groupId>org.codehaus.plexus</groupId>
71                     <artifactId>plexus-utils</artifactId>
72                 </exclusion>
73                 <exclusion>
74                     <groupId>com.thoughtworks.xstream</groupId>
75                     <artifactId>xstream</artifactId>
76                 </exclusion>
77                 <exclusion>
78                     <groupId>com.google.guava</groupId>
79                     <artifactId>guava</artifactId>
80                 </exclusion>
81             </exclusions>
82         </dependency>
83         <dependency>
84             <groupId>org.drools</groupId>
85             <artifactId>drools-core</artifactId>
86             <version>6.5.0.Final</version>
87         </dependency>
88         <dependency>
89             <groupId>org.drools</groupId>
90             <artifactId>drools-persistence-jpa</artifactId>
91             <version>6.5.0.Final</version>
92         </dependency>
93         <dependency>
94             <groupId>org.onap.policy.common</groupId>
95             <artifactId>capabilities</artifactId>
96             <version>${policy.common.version}</version>
97         </dependency>
98         <dependency>
99             <groupId>org.onap.policy.common</groupId>
100             <artifactId>utils</artifactId>
101             <version>${policy.common.version}</version>
102         </dependency>
103         <dependency>
104             <groupId>org.onap.policy.drools-pdp</groupId>
105             <artifactId>policy-utils</artifactId>
106             <version>${project.version}</version>
107         </dependency>
108         <dependency>
109             <groupId>junit</groupId>
110             <artifactId>junit</artifactId>
111             <scope>test</scope>
112         </dependency>
113         <dependency>
114             <groupId>org.powermock</groupId>
115             <artifactId>powermock-api-mockito</artifactId>
116             <scope>test</scope>
117         </dependency>
118         <dependency>
119             <groupId>org.assertj</groupId>
120             <artifactId>assertj-core</artifactId>
121             <scope>test</scope>
122         </dependency>
123         <dependency>
124             <groupId>org.onap.policy.common</groupId>
125             <artifactId>utils-test</artifactId>
126             <version>${policy.common.version}</version>
127             <scope>test</scope>
128         </dependency>
129     </dependencies>
130     <build>
131         <plugins>
132             <plugin>
133                 <artifactId>maven-checkstyle-plugin</artifactId>
134                 <executions>
135                     <execution>
136                         <id>onap-java-style</id>
137                         <goals>
138                             <goal>check</goal>
139                         </goals>
140                         <phase>process-sources</phase>
141                         <configuration>
142                             <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml 
143                                 with minor changes -->
144                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
145                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
146                             <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
147                             <includeResources>true</includeResources>
148                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
149                             <includeTestResources>true</includeTestResources>
150                             <excludes>
151                             </excludes>
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 </project>