blob: af01bc93835b6a31785c518e18e5b523001b58c4 [file] [log] [blame]
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
Guo Ruijing6abeb292017-07-28 08:23:01 +00004 ONAP Policy Engine - Drools PDP
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05005 ================================================================================
Jim Hahn6127b4d2021-02-09 11:01:43 -05006 Copyright (C) 2017-2021 AT&T Intellectual Property. All rights reserved.
Bruno Sakotoe9b60c32019-10-10 10:02:21 -04007 Modifications Copyright (C) 2019 Bell Canada.
RossCc50265a2020-06-30 15:57:07 +01008 Modifications Copyright (C) 2020 Nordix Foundation.
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05009 ================================================================================
10 Licensed under the Apache License, Version 2.0 (the "License");
11 you may not use this file except in compliance with the License.
12 You may obtain a copy of the License at
RossCc50265a2020-06-30 15:57:07 +010013
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050014 http://www.apache.org/licenses/LICENSE-2.0
RossCc50265a2020-06-30 15:57:07 +010015
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050016 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
21 ============LICENSE_END=========================================================
22 -->
23
liamfallon99200202018-10-31 16:00:08 +000024<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">
Pamela Dragoshfd307be2018-08-28 18:10:51 -040025 <modelVersion>4.0.0</modelVersion>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050026
Pamela Dragoshfd307be2018-08-28 18:10:51 -040027 <artifactId>policy-core</artifactId>
28 <parent>
29 <groupId>org.onap.policy.drools-pdp</groupId>
30 <artifactId>drools-pdp</artifactId>
jhhb2a43b32021-02-24 07:53:26 -060031 <version>1.8.1-SNAPSHOT</version>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040032 </parent>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050033
Pamela Dragoshfd307be2018-08-28 18:10:51 -040034 <dependencies>
jhhf7222f82019-10-31 11:36:17 -050035
Pamela Dragoshfd307be2018-08-28 18:10:51 -040036 <dependency>
37 <groupId>org.codehaus.plexus</groupId>
38 <artifactId>plexus-utils</artifactId>
Bruno Sakotoe9b60c32019-10-10 10:02:21 -040039 </dependency>
40
41 <dependency>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040042 <groupId>org.kie</groupId>
43 <artifactId>kie-api</artifactId>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040044 </dependency>
jhhf7222f82019-10-31 11:36:17 -050045
Pamela Dragoshfd307be2018-08-28 18:10:51 -040046 <dependency>
Joseph Choudb12e7c2020-03-25 18:12:12 -040047 <groupId>org.apache.ant</groupId>
48 <artifactId>ant</artifactId>
Jim Hahn92e3d552021-02-17 11:51:52 -050049 <version>1.10.9</version>
Joseph Choudb12e7c2020-03-25 18:12:12 -040050 </dependency>
51
52 <dependency>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040053 <groupId>org.kie</groupId>
54 <artifactId>kie-ci</artifactId>
jhhf7222f82019-10-31 11:36:17 -050055 <!--
56 Issue: 2 of 2
57 Excluding these 2 dependencies in order to force upgrade security fixes
58 identified. As declared above. Any changes here should be reflected above
59 and vice versa.
60 -->
Pamela Dragoshfd307be2018-08-28 18:10:51 -040061 <exclusions>
62 <exclusion>
63 <groupId>org.codehaus.plexus</groupId>
64 <artifactId>plexus-utils</artifactId>
65 </exclusion>
Joseph Choudb12e7c2020-03-25 18:12:12 -040066 <exclusion>
67 <groupId>org.apache.ant</groupId>
68 <artifactId>ant</artifactId>
69 </exclusion>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040070 </exclusions>
71 </dependency>
jhhf7222f82019-10-31 11:36:17 -050072
Pamela Dragoshfd307be2018-08-28 18:10:51 -040073 <dependency>
74 <groupId>org.drools</groupId>
75 <artifactId>drools-core</artifactId>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040076 </dependency>
jhhf7222f82019-10-31 11:36:17 -050077
Pamela Dragoshfd307be2018-08-28 18:10:51 -040078 <dependency>
79 <groupId>org.drools</groupId>
80 <artifactId>drools-persistence-jpa</artifactId>
Jim Hahn6127b4d2021-02-09 11:01:43 -050081 <!--
82 Exclude this because it's incompatible with eclipselink, which already
83 includes the same classes.
84 -->
85 <exclusions>
86 <exclusion>
87 <groupId>javax.persistence</groupId>
88 <artifactId>javax.persistence-api</artifactId>
89 </exclusion>
90 </exclusions>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040091 </dependency>
jhhf7222f82019-10-31 11:36:17 -050092
Pamela Dragoshfd307be2018-08-28 18:10:51 -040093 <dependency>
94 <groupId>org.onap.policy.common</groupId>
95 <artifactId>capabilities</artifactId>
ramverma5bf84862018-10-24 19:35:48 +010096 <version>${policy.common.version}</version>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040097 </dependency>
jhhf7222f82019-10-31 11:36:17 -050098
Pamela Dragoshfd307be2018-08-28 18:10:51 -040099 <dependency>
100 <groupId>org.onap.policy.common</groupId>
101 <artifactId>utils</artifactId>
ramverma5bf84862018-10-24 19:35:48 +0100102 <version>${policy.common.version}</version>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400103 </dependency>
jhhf7222f82019-10-31 11:36:17 -0500104
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400105 <dependency>
106 <groupId>org.onap.policy.drools-pdp</groupId>
107 <artifactId>policy-utils</artifactId>
108 <version>${project.version}</version>
109 </dependency>
jhhf7222f82019-10-31 11:36:17 -0500110
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400111 <dependency>
Jim Hahna156cf32019-08-05 15:27:16 -0400112 <groupId>org.projectlombok</groupId>
113 <artifactId>lombok</artifactId>
114 <scope>provided</scope>
115 </dependency>
jhhf7222f82019-10-31 11:36:17 -0500116
Jim Hahna156cf32019-08-05 15:27:16 -0400117 <dependency>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400118 <groupId>junit</groupId>
119 <artifactId>junit</artifactId>
120 <scope>test</scope>
121 </dependency>
jhhf7222f82019-10-31 11:36:17 -0500122
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400123 <dependency>
124 <groupId>org.powermock</groupId>
Hockla, Ali (ah999m)956a7b52020-01-13 14:11:46 -0600125 <artifactId>powermock-api-mockito2</artifactId>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400126 <scope>test</scope>
127 </dependency>
jhhf7222f82019-10-31 11:36:17 -0500128
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400129 <dependency>
Jim Hahn7e4d3092019-01-08 17:48:31 -0500130 <groupId>org.assertj</groupId>
131 <artifactId>assertj-core</artifactId>
Jim Hahn7e4d3092019-01-08 17:48:31 -0500132 <scope>test</scope>
133 </dependency>
jhhf7222f82019-10-31 11:36:17 -0500134
Jim Hahn7e4d3092019-01-08 17:48:31 -0500135 <dependency>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400136 <groupId>org.onap.policy.common</groupId>
137 <artifactId>utils-test</artifactId>
ramverma5bf84862018-10-24 19:35:48 +0100138 <version>${policy.common.version}</version>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400139 <scope>test</scope>
140 </dependency>
jhhf7222f82019-10-31 11:36:17 -0500141
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400142 </dependencies>
jhhf7222f82019-10-31 11:36:17 -0500143
Pamela Dragosha0e0c782018-09-28 04:58:26 -0400144 <build>
145 <plugins>
146 <plugin>
147 <artifactId>maven-checkstyle-plugin</artifactId>
148 <executions>
149 <execution>
150 <id>onap-java-style</id>
151 <goals>
152 <goal>check</goal>
153 </goals>
154 <phase>process-sources</phase>
155 <configuration>
156 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
157 with minor changes -->
158 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
159 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
Hockla, Ali (ah999m)956a7b52020-01-13 14:11:46 -0600160 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
Pamela Dragosha0e0c782018-09-28 04:58:26 -0400161 <includeResources>true</includeResources>
162 <includeTestSourceDirectory>true</includeTestSourceDirectory>
163 <includeTestResources>true</includeTestResources>
164 <excludes>
165 </excludes>
Pamela Dragosha0e0c782018-09-28 04:58:26 -0400166 <consoleOutput>true</consoleOutput>
167 <failsOnViolation>true</failsOnViolation>
168 <violationSeverity>warning</violationSeverity>
169 </configuration>
170 </execution>
171 </executions>
172 <dependencies>
173 <dependency>
174 <groupId>org.onap.oparent</groupId>
175 <artifactId>checkstyle</artifactId>
176 <version>${oparent.version}</version>
177 <scope>compile</scope>
178 </dependency>
179 </dependencies>
180 </plugin>
181 </plugins>
182 </build>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500183</project>