Upgrade jar version to resolve security risk
[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-2020 AT&T Intellectual Property. All rights reserved.
7   Modifications Copyright (C) 2019 Bell Canada.
8   ================================================================================
9   Licensed under the Apache License, Version 2.0 (the "License");
10   you may not use this file except in compliance with the License.
11   You may obtain a copy of the License at
12   
13        http://www.apache.org/licenses/LICENSE-2.0
14   
15   Unless required by applicable law or agreed to in writing, software
16   distributed under the License is distributed on an "AS IS" BASIS,
17   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   See the License for the specific language governing permissions and
19   limitations under the License.
20   ============LICENSE_END=========================================================
21   -->
22
23 <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">
24     <modelVersion>4.0.0</modelVersion>
25
26     <artifactId>policy-core</artifactId>
27     <parent>
28         <groupId>org.onap.policy.drools-pdp</groupId>
29         <artifactId>drools-pdp</artifactId>
30         <version>1.6.1-SNAPSHOT</version>
31     </parent>
32
33     <dependencies>
34
35         <dependency>
36             <groupId>org.codehaus.plexus</groupId>
37             <artifactId>plexus-utils</artifactId>
38         </dependency>
39
40         <dependency>
41             <groupId>org.kie</groupId>
42             <artifactId>kie-api</artifactId>
43         </dependency>
44
45         <dependency>
46             <groupId>org.apache.ant</groupId>
47             <artifactId>ant</artifactId>
48             <version>1.9.12</version>
49         </dependency>
50
51         <dependency>
52             <groupId>org.kie</groupId>
53             <artifactId>kie-ci</artifactId>
54             <!--
55             Issue: 2 of 2
56             Excluding these 2 dependencies in order to force upgrade security fixes
57             identified. As declared above. Any changes here should be reflected above
58             and vice versa.
59             -->
60             <exclusions>
61                 <exclusion>
62                     <groupId>org.codehaus.plexus</groupId>
63                     <artifactId>plexus-utils</artifactId>
64                 </exclusion>
65                 <exclusion>
66                     <groupId>org.apache.ant</groupId>
67                     <artifactId>ant</artifactId>
68                 </exclusion>
69             </exclusions>
70         </dependency>
71
72         <dependency>
73             <groupId>org.drools</groupId>
74             <artifactId>drools-core</artifactId>
75         </dependency>
76
77         <dependency>
78             <groupId>org.drools</groupId>
79             <artifactId>drools-persistence-jpa</artifactId>
80         </dependency>
81
82         <dependency>
83             <groupId>org.onap.policy.common</groupId>
84             <artifactId>capabilities</artifactId>
85             <version>${policy.common.version}</version>
86         </dependency>
87
88         <dependency>
89             <groupId>org.onap.policy.common</groupId>
90             <artifactId>utils</artifactId>
91             <version>${policy.common.version}</version>
92         </dependency>
93
94         <dependency>
95             <groupId>org.onap.policy.drools-pdp</groupId>
96             <artifactId>policy-utils</artifactId>
97             <version>${project.version}</version>
98         </dependency>
99
100         <dependency>
101             <groupId>org.projectlombok</groupId>
102             <artifactId>lombok</artifactId>
103             <scope>provided</scope>
104         </dependency>
105
106         <dependency>
107             <groupId>junit</groupId>
108             <artifactId>junit</artifactId>
109             <scope>test</scope>
110         </dependency>
111
112         <dependency>
113             <groupId>org.powermock</groupId>
114             <artifactId>powermock-api-mockito2</artifactId>
115             <scope>test</scope>
116         </dependency>
117
118         <dependency>
119             <groupId>org.assertj</groupId>
120             <artifactId>assertj-core</artifactId>
121             <scope>test</scope>
122         </dependency>
123
124         <dependency>
125             <groupId>org.onap.policy.common</groupId>
126             <artifactId>utils-test</artifactId>
127             <version>${policy.common.version}</version>
128             <scope>test</scope>
129         </dependency>
130
131     </dependencies>
132
133     <build>
134         <plugins>
135             <plugin>
136                 <artifactId>maven-checkstyle-plugin</artifactId>
137                 <executions>
138                     <execution>
139                         <id>onap-java-style</id>
140                         <goals>
141                             <goal>check</goal>
142                         </goals>
143                         <phase>process-sources</phase>
144                         <configuration>
145                             <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml 
146                                 with minor changes -->
147                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
148                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
149                             <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
150                             <includeResources>true</includeResources>
151                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
152                             <includeTestResources>true</includeTestResources>
153                             <excludes>
154                             </excludes>
155                             <consoleOutput>true</consoleOutput>
156                             <failsOnViolation>true</failsOnViolation>
157                             <violationSeverity>warning</violationSeverity>
158                         </configuration>
159                     </execution>
160                 </executions>
161                 <dependencies>
162                     <dependency>
163                         <groupId>org.onap.oparent</groupId>
164                         <artifactId>checkstyle</artifactId>
165                         <version>${oparent.version}</version>
166                         <scope>compile</scope>
167                     </dependency>
168                 </dependencies>
169             </plugin>
170         </plugins>
171     </build>
172 </project>