Make drools-pdp work with drools and java versions compatible
[policy/drools-pdp.git] / 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-2022 AT&T Intellectual Property. All rights reserved.
7   Modifications Copyright (C) 2020, 2023-2024 Nordix Foundation.
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"
24          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26
27     <parent>
28         <groupId>org.onap.policy.parent</groupId>
29         <artifactId>integration</artifactId>
30         <version>4.1.2-SNAPSHOT</version>
31         <relativePath />
32     </parent>
33
34     <groupId>org.onap.policy.drools-pdp</groupId>
35     <artifactId>drools-pdp</artifactId>
36     <version>2.1.2-SNAPSHOT</version>
37     <packaging>pom</packaging>
38     <name>policy-drools-pdp</name>
39
40     <description>The ONAP Policy Engine drools-based PDP Project</description>
41
42     <properties>
43         <!-- Project path properties -->
44         <nexusproxy>https://nexus.onap.org</nexusproxy>
45         <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
46         <releases.path>content/repositories/releases/</releases.path>
47         <snapshots.path>content/repositories/snapshots/</snapshots.path>
48         <staging.path>content/repositories/staging/</staging.path>
49
50         <!-- Project common dependency versions -->
51         <json.path.version>2.9.0</json.path.version>
52         <hibernate.commons.annotations.version>6.0.6.Final</hibernate.commons.annotations.version>
53         <xml.apis.version>1.4.01</xml.apis.version>
54         <policy.common.version>2.1.2-SNAPSHOT</policy.common.version>
55         <policy.models.version>3.1.2-SNAPSHOT</policy.models.version>
56     </properties>
57
58     <modules>
59         <module>policy-utils</module>
60         <module>policy-core</module>
61         <module>policy-domains</module>
62         <module>policy-management</module>
63         <module>feature-healthcheck</module>
64         <module>feature-pooling-messages</module>
65         <module>feature-test-transaction</module>
66         <module>feature-distributed-locking</module>
67         <module>feature-lifecycle</module>
68         <module>feature-no-locking</module>
69         <module>feature-legacy-config</module>
70         <module>packages</module>
71     </modules>
72
73     <dependencies>
74         <dependency>
75             <groupId>org.onap.policy.common</groupId>
76             <artifactId>policy-endpoints</artifactId>
77             <version>${policy.common.version}</version>
78             <scope>provided</scope>
79         </dependency>
80         <dependency>
81             <groupId>org.onap.policy.common</groupId>
82             <artifactId>utils</artifactId>
83             <version>${policy.common.version}</version>
84             <scope>provided</scope>
85         </dependency>
86         <dependency>
87             <groupId>org.onap.policy.common</groupId>
88             <artifactId>utils-test</artifactId>
89             <version>${policy.common.version}</version>
90             <scope>test</scope>
91         </dependency>
92         <dependency>
93             <groupId>org.junit.jupiter</groupId>
94             <artifactId>junit-jupiter-engine</artifactId>
95             <scope>test</scope>
96         </dependency>
97         <dependency>
98             <groupId>org.mockito</groupId>
99             <artifactId>mockito-core</artifactId>
100             <scope>test</scope>
101         </dependency>
102         <dependency>
103             <groupId>org.mockito</groupId>
104             <artifactId>mockito-junit-jupiter</artifactId>
105         </dependency>
106         <dependency>
107             <groupId>org.assertj</groupId>
108             <artifactId>assertj-core</artifactId>
109             <scope>test</scope>
110         </dependency>
111         <dependency>
112             <groupId>org.awaitility</groupId>
113             <artifactId>awaitility</artifactId>
114             <scope>test</scope>
115         </dependency>
116     </dependencies>
117
118     <dependencyManagement>
119         <dependencies>
120             <dependency>
121                 <groupId>jakarta.ws.rs</groupId>
122                 <artifactId>jakarta.ws.rs-api</artifactId>
123             </dependency>
124             <dependency>
125                 <groupId>org.glassfish.hk2.external</groupId>
126                 <artifactId>javax.inject</artifactId>
127                 <version>2.5.0-b62</version>
128             </dependency>
129             <dependency>
130                 <groupId>com.jayway.jsonpath</groupId>
131                 <artifactId>json-path</artifactId>
132                 <version>${json.path.version}</version>
133             </dependency>
134             <dependency>
135                 <groupId>org.hibernate.common</groupId>
136                 <artifactId>hibernate-commons-annotations</artifactId>
137                 <version>${hibernate.commons.annotations.version}</version>
138             </dependency>
139             <dependency>
140                 <groupId>xml-apis</groupId>
141                 <artifactId>xml-apis</artifactId>
142                 <version>${xml.apis.version}</version>
143             </dependency>
144         </dependencies>
145     </dependencyManagement>
146
147     <build>
148         <plugins>
149             <plugin>
150                 <groupId>org.apache.maven.plugins</groupId>
151                 <artifactId>maven-deploy-plugin</artifactId>
152                 <configuration>
153                     <skip/>
154                 </configuration>
155             </plugin>
156             <plugin>
157                 <groupId>org.apache.maven.plugins</groupId>
158                 <artifactId>maven-compiler-plugin</artifactId>
159                 <configuration>
160                     <release>11</release>
161                 </configuration>
162             </plugin>
163             <plugin>
164                 <groupId>org.apache.maven.plugins</groupId>
165                 <artifactId>maven-resources-plugin</artifactId>
166             </plugin>
167             <plugin>
168                 <groupId>org.apache.maven.plugins</groupId>
169                 <artifactId>maven-site-plugin</artifactId>
170                 <dependencies>
171                     <dependency>
172                         <groupId>org.apache.maven.wagon</groupId>
173                         <artifactId>wagon-webdav-jackrabbit</artifactId>
174                         <version>3.5.3</version>
175                     </dependency>
176                 </dependencies>
177             </plugin>
178             <plugin>
179                 <groupId>org.apache.maven.plugins</groupId>
180                 <artifactId>maven-javadoc-plugin</artifactId>
181             </plugin>
182         </plugins>
183     </build>
184     <reporting>
185         <plugins>
186             <plugin>
187                 <groupId>org.apache.maven.plugins</groupId>
188                 <artifactId>maven-javadoc-plugin</artifactId>
189                 <configuration>
190                     <failOnError>false</failOnError>
191                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
192                     <docletArtifact>
193                         <groupId>org.umlgraph</groupId>
194                         <artifactId>umlgraph</artifactId>
195                         <version>5.6</version>
196                     </docletArtifact>
197                     <useStandardDocletOptions>true</useStandardDocletOptions>
198                 </configuration>
199             </plugin>
200         </plugins>
201     </reporting>
202
203 </project>