blob: 34eeea13f96cbcfe3e097d4ac154dc54d6b8d2bd [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 ================================================================================
Hockla, Ali (ah999m)956a7b52020-01-13 14:11:46 -06006 Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved.
Bruno Sakotoe9b60c32019-10-10 10:02:21 -04007 Modifications Copyright (C) 2019 Bell Canada.
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05008 ================================================================================
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
liamfallon99200202018-10-31 16:00:08 +000023<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 -040024 <modelVersion>4.0.0</modelVersion>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050025
Pamela Dragoshfd307be2018-08-28 18:10:51 -040026 <artifactId>policy-core</artifactId>
27 <parent>
28 <groupId>org.onap.policy.drools-pdp</groupId>
29 <artifactId>drools-pdp</artifactId>
aditya.puthuparambil513d1e02020-05-21 16:13:39 +010030 <version>1.7.0-SNAPSHOT</version>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040031 </parent>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050032
Pamela Dragoshfd307be2018-08-28 18:10:51 -040033 <dependencies>
jhhf7222f82019-10-31 11:36:17 -050034
Pamela Dragoshfd307be2018-08-28 18:10:51 -040035 <dependency>
36 <groupId>org.codehaus.plexus</groupId>
37 <artifactId>plexus-utils</artifactId>
Bruno Sakotoe9b60c32019-10-10 10:02:21 -040038 </dependency>
39
40 <dependency>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040041 <groupId>org.kie</groupId>
42 <artifactId>kie-api</artifactId>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040043 </dependency>
jhhf7222f82019-10-31 11:36:17 -050044
Pamela Dragoshfd307be2018-08-28 18:10:51 -040045 <dependency>
Joseph Choudb12e7c2020-03-25 18:12:12 -040046 <groupId>org.apache.ant</groupId>
47 <artifactId>ant</artifactId>
48 <version>1.9.12</version>
49 </dependency>
50
51 <dependency>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040052 <groupId>org.kie</groupId>
53 <artifactId>kie-ci</artifactId>
jhhf7222f82019-10-31 11:36:17 -050054 <!--
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 -->
Pamela Dragoshfd307be2018-08-28 18:10:51 -040060 <exclusions>
61 <exclusion>
62 <groupId>org.codehaus.plexus</groupId>
63 <artifactId>plexus-utils</artifactId>
64 </exclusion>
Joseph Choudb12e7c2020-03-25 18:12:12 -040065 <exclusion>
66 <groupId>org.apache.ant</groupId>
67 <artifactId>ant</artifactId>
68 </exclusion>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040069 </exclusions>
70 </dependency>
jhhf7222f82019-10-31 11:36:17 -050071
Pamela Dragoshfd307be2018-08-28 18:10:51 -040072 <dependency>
73 <groupId>org.drools</groupId>
74 <artifactId>drools-core</artifactId>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040075 </dependency>
jhhf7222f82019-10-31 11:36:17 -050076
Pamela Dragoshfd307be2018-08-28 18:10:51 -040077 <dependency>
78 <groupId>org.drools</groupId>
79 <artifactId>drools-persistence-jpa</artifactId>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040080 </dependency>
jhhf7222f82019-10-31 11:36:17 -050081
Pamela Dragoshfd307be2018-08-28 18:10:51 -040082 <dependency>
83 <groupId>org.onap.policy.common</groupId>
84 <artifactId>capabilities</artifactId>
ramverma5bf84862018-10-24 19:35:48 +010085 <version>${policy.common.version}</version>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040086 </dependency>
jhhf7222f82019-10-31 11:36:17 -050087
Pamela Dragoshfd307be2018-08-28 18:10:51 -040088 <dependency>
89 <groupId>org.onap.policy.common</groupId>
90 <artifactId>utils</artifactId>
ramverma5bf84862018-10-24 19:35:48 +010091 <version>${policy.common.version}</version>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040092 </dependency>
jhhf7222f82019-10-31 11:36:17 -050093
Pamela Dragoshfd307be2018-08-28 18:10:51 -040094 <dependency>
95 <groupId>org.onap.policy.drools-pdp</groupId>
96 <artifactId>policy-utils</artifactId>
97 <version>${project.version}</version>
98 </dependency>
jhhf7222f82019-10-31 11:36:17 -050099
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400100 <dependency>
Jim Hahna156cf32019-08-05 15:27:16 -0400101 <groupId>org.projectlombok</groupId>
102 <artifactId>lombok</artifactId>
103 <scope>provided</scope>
104 </dependency>
jhhf7222f82019-10-31 11:36:17 -0500105
Jim Hahna156cf32019-08-05 15:27:16 -0400106 <dependency>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400107 <groupId>junit</groupId>
108 <artifactId>junit</artifactId>
109 <scope>test</scope>
110 </dependency>
jhhf7222f82019-10-31 11:36:17 -0500111
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400112 <dependency>
113 <groupId>org.powermock</groupId>
Hockla, Ali (ah999m)956a7b52020-01-13 14:11:46 -0600114 <artifactId>powermock-api-mockito2</artifactId>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400115 <scope>test</scope>
116 </dependency>
jhhf7222f82019-10-31 11:36:17 -0500117
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400118 <dependency>
Jim Hahn7e4d3092019-01-08 17:48:31 -0500119 <groupId>org.assertj</groupId>
120 <artifactId>assertj-core</artifactId>
Jim Hahn7e4d3092019-01-08 17:48:31 -0500121 <scope>test</scope>
122 </dependency>
jhhf7222f82019-10-31 11:36:17 -0500123
Jim Hahn7e4d3092019-01-08 17:48:31 -0500124 <dependency>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400125 <groupId>org.onap.policy.common</groupId>
126 <artifactId>utils-test</artifactId>
ramverma5bf84862018-10-24 19:35:48 +0100127 <version>${policy.common.version}</version>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400128 <scope>test</scope>
129 </dependency>
jhhf7222f82019-10-31 11:36:17 -0500130
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400131 </dependencies>
jhhf7222f82019-10-31 11:36:17 -0500132
Pamela Dragosha0e0c782018-09-28 04:58:26 -0400133 <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 -->
Hockla, Ali (ah999m)956a7b52020-01-13 14:11:46 -0600149 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
Pamela Dragosha0e0c782018-09-28 04:58:26 -0400150 <includeResources>true</includeResources>
151 <includeTestSourceDirectory>true</includeTestSourceDirectory>
152 <includeTestResources>true</includeTestResources>
153 <excludes>
154 </excludes>
Pamela Dragosha0e0c782018-09-28 04:58:26 -0400155 <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>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500172</project>