8f8451d7302ddbb91b2e31ab75237e893043bd5c
[policy/drools-applications.git] / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   drools-pdp-apps
4   ================================================================================
5   Copyright (C) 2017-2021 AT&T Intellectual Property. All rights reserved.
6   Modifications Copyright (C) 2019, 2023-2024 Nordix Foundation.
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"
23          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24
25     <modelVersion>4.0.0</modelVersion>
26     <parent>
27         <groupId>org.onap.policy.parent</groupId>
28         <artifactId>integration</artifactId>
29         <version>4.1.2</version>
30         <relativePath />
31     </parent>
32
33     <groupId>org.onap.policy.drools-applications</groupId>
34     <artifactId>drools-applications</artifactId>
35     <version>2.1.2-SNAPSHOT</version>
36
37     <name>policy-drools-applications</name>
38     <packaging>pom</packaging>
39
40     <properties>
41         <!-- Project path properties -->
42         <nexusproxy>https://nexus.onap.org</nexusproxy>
43         <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
44         <releases.path>content/repositories/releases/</releases.path>
45         <snapshots.path>content/repositories/snapshots/</snapshots.path>
46         <staging.path>content/repositories/staging/</staging.path>
47         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
48
49         <!-- Project common dependency versions -->
50         <version.policy.common>2.1.2</version.policy.common>
51         <policy.models.version>3.1.2</policy.models.version>
52         <version.policy.drools-pdp>2.1.2</version.policy.drools-pdp>
53         <surefireArgLine>
54             --add-opens java.base/java.lang=ALL-UNNAMED
55         </surefireArgLine>
56     </properties>
57
58     <build>
59         <plugins>
60             <plugin>
61                 <groupId>org.apache.maven.plugins</groupId>
62                 <artifactId>maven-deploy-plugin</artifactId>
63                 <configuration>
64                     <skip/>
65                 </configuration>
66             </plugin>
67             <plugin>
68                 <groupId>org.apache.maven.plugins</groupId>
69                 <artifactId>maven-compiler-plugin</artifactId>
70                 <configuration>
71                     <encoding>${project.build.sourceEncoding}</encoding>
72                     <release>11</release>
73                 </configuration>
74             </plugin>
75             <plugin>
76                 <groupId>org.apache.maven.plugins</groupId>
77                 <artifactId>maven-site-plugin</artifactId>
78                 <dependencies>
79                     <dependency>
80                         <groupId>org.apache.maven.wagon</groupId>
81                         <artifactId>wagon-webdav-jackrabbit</artifactId>
82                         <version>2.10</version>
83                     </dependency>
84                 </dependencies>
85             </plugin>
86             <plugin>
87                 <groupId>org.apache.maven.plugins</groupId>
88                 <artifactId>maven-javadoc-plugin</artifactId>
89             </plugin>
90         </plugins>
91     </build>
92
93     <modules>
94         <module>controlloop</module>
95         <module>testsuites</module>
96     </modules>
97
98     <reporting>
99         <plugins>
100             <plugin>
101                 <groupId>org.apache.maven.plugins</groupId>
102                 <artifactId>maven-javadoc-plugin</artifactId>
103                 <configuration>
104                     <failOnError>false</failOnError>
105                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
106                     <docletArtifact>
107                         <groupId>org.umlgraph</groupId>
108                         <artifactId>umlgraph</artifactId>
109                         <version>5.6</version>
110                     </docletArtifact>
111                     <useStandardDocletOptions>true</useStandardDocletOptions>
112                 </configuration>
113             </plugin>
114         </plugins>
115     </reporting>
116
117     <dependencies>
118         <dependency>
119             <groupId>org.kie</groupId>
120             <artifactId>kie-ci</artifactId>
121         </dependency>
122
123         <dependency>
124             <groupId>ch.qos.logback</groupId>
125             <artifactId>logback-classic</artifactId>
126             <scope>provided</scope>
127         </dependency>
128         <dependency>
129             <groupId>org.junit.jupiter</groupId>
130             <artifactId>junit-jupiter-engine</artifactId>
131             <scope>test</scope>
132         </dependency>
133         <dependency>
134             <groupId>org.mockito</groupId>
135             <artifactId>mockito-core</artifactId>
136             <scope>test</scope>
137         </dependency>
138         <dependency>
139             <groupId>org.mockito</groupId>
140             <artifactId>mockito-junit-jupiter</artifactId>
141             <scope>test</scope>
142         </dependency>
143         <dependency>
144             <groupId>org.springframework</groupId>
145             <artifactId>spring-test</artifactId>
146             <scope>test</scope>
147         </dependency>
148         <dependency>
149             <groupId>org.assertj</groupId>
150             <artifactId>assertj-core</artifactId>
151             <scope>test</scope>
152         </dependency>
153         <dependency>
154             <groupId>org.awaitility</groupId>
155             <artifactId>awaitility</artifactId>
156             <scope>test</scope>
157         </dependency>
158
159         <!-- Swagger v3 annotations -->
160         <dependency>
161             <groupId>io.swagger.core.v3</groupId>
162             <artifactId>swagger-annotations</artifactId>
163         </dependency>
164     </dependencies>
165 </project>