Merge "policy/engine jdk11 upgrades"
[policy/engine.git] / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP Policy Engine
4   ================================================================================
5   Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved.
6   Modifications Copyright (C) 2019 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 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
23     <modelVersion>4.0.0</modelVersion>
24     <parent>
25         <groupId>org.onap.policy.parent</groupId>
26         <artifactId>integration</artifactId>
27         <version>3.1.1-SNAPSHOT</version>
28         <relativePath />
29     </parent>
30     <groupId>org.onap.policy.engine</groupId>
31     <artifactId>PolicyEngineSuite</artifactId>
32     <version>1.6.0-SNAPSHOT</version>
33     <packaging>pom</packaging>
34     <name>policy-engine</name>
35     <description>The ONAP Policy Engine main pom</description>
36     <properties>
37         <!-- Project common build settings -->
38         <project.encoding>UTF-8</project.encoding>
39         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40         <!-- Project path properties -->
41         <nexusproxy>https://nexus.onap.org</nexusproxy>
42         <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
43         <releases.path>content/repositories/releases/</releases.path>
44         <snapshots.path>content/repositories/snapshots/</snapshots.path>
45         <staging.path>content/repositories/staging/</staging.path>
46
47         <!-- Default Sonar configuration -->
48         <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
49
50         <!-- Project common dependency versions -->
51         <springframework.version>4.3.24.RELEASE</springframework.version>
52         <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version>
53         <jackson.version>2.9.4</jackson.version>
54         <commons.fileupload.version>1.3.3</commons.fileupload.version>
55         <commons.compress.version>1.18</commons.compress.version>
56         <elasticsearch.version>6.8.2</elasticsearch.version>
57         <version.policy.common>1.6.2-SNAPSHOT</version.policy.common>
58         <version.policy.models>2.2.1-SNAPSHOT</version.policy.models>
59     </properties>
60     <modules>
61         <module>PolicyEngineUtils</module>
62         <module>ONAP-XACML</module>
63         <module>ONAP-REST</module>
64         <module>PolicyEngineAPI</module>
65         <module>ONAP-PDP</module>
66         <module>ONAP-PDP-REST</module>
67         <module>ONAP-PAP-REST</module>
68         <module>LogParser</module>
69         <module>PolicyEngineClient</module>
70         <module>BRMSGateway</module>
71         <module>POLICY-SDK-APP</module>
72         <module>ONAP-SDK-APP</module>
73         <module>packages</module>
74         <module>TestSuite</module>
75     </modules>
76     <reporting>
77         <plugins>
78             <plugin>
79                 <groupId>org.apache.maven.plugins</groupId>
80                 <artifactId>maven-javadoc-plugin</artifactId>
81                 <version>2.10.4</version>
82                 <configuration>
83                     <failOnError>false</failOnError>
84                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
85                     <docletArtifact>
86                         <groupId>org.umlgraph</groupId>
87                         <artifactId>umlgraph</artifactId>
88                         <version>5.6</version>
89                     </docletArtifact>
90                     <additionalparam>-views</additionalparam>
91                     <useStandardDocletOptions>true</useStandardDocletOptions>
92                 </configuration>
93             </plugin>
94         </plugins>
95     </reporting>
96     <dependencies>
97         <dependency>
98             <groupId>org.projectlombok</groupId>
99             <artifactId>lombok</artifactId>
100             <scope>provided</scope>
101         </dependency>
102         <dependency>
103             <groupId>javax.servlet</groupId>
104             <artifactId>javax.servlet-api</artifactId>
105         </dependency>
106         <dependency>
107             <!-- org.w3c.dom dependencies -->
108             <groupId>xml-apis</groupId>
109             <artifactId>xml-apis</artifactId>
110             <version>1.4.01</version>
111         </dependency>
112         <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
113         <dependency>
114             <groupId>com.fasterxml.jackson.core</groupId>
115             <artifactId>jackson-databind</artifactId>
116             <version>${jackson.version}</version>
117         </dependency>
118         <dependency>
119             <groupId>junit</groupId>
120             <artifactId>junit</artifactId>
121             <scope>test</scope>
122         </dependency>
123         <dependency>
124             <groupId>org.assertj</groupId>
125             <artifactId>assertj-core</artifactId>
126             <scope>test</scope>
127         </dependency>
128         <dependency>
129             <groupId>org.springframework</groupId>
130             <artifactId>spring-mock</artifactId>
131             <version>2.0.8</version>
132             <scope>test</scope>
133         </dependency>
134         <dependency>
135             <groupId>com.mockrunner</groupId>
136             <artifactId>mockrunner</artifactId>
137             <version>0.3.1</version>
138             <scope>test</scope>
139         </dependency>
140         <!-- https://mvnrepository.com/artifact/org.powermock/powermock-api-mockito -->
141         <dependency>
142             <groupId>org.powermock</groupId>
143             <artifactId>powermock-api-mockito2</artifactId>
144             <scope>test</scope>
145         </dependency>
146         <dependency>
147             <groupId>org.powermock</groupId>
148             <artifactId>powermock-module-junit4</artifactId>
149             <scope>test</scope>
150         </dependency>
151         <!-- https://mvnrepository.com/artifact/org.mockito/mockito-all -->
152         <dependency>
153             <groupId>org.mockito</groupId>
154             <artifactId>mockito-all</artifactId>
155             <scope>test</scope>
156         </dependency>
157         <dependency>
158             <groupId>org.easymock</groupId>
159             <artifactId>easymock</artifactId>
160             <version>4.1</version>
161             <scope>test</scope>
162         </dependency>
163         <dependency>
164             <groupId>org.glassfish.jersey.inject</groupId>
165             <artifactId>jersey-hk2</artifactId>
166             <scope>test</scope>
167         </dependency>
168     </dependencies>
169     <build>
170         <plugins>
171             <plugin>
172                 <groupId>org.apache.maven.plugins</groupId>
173                 <artifactId>maven-deploy-plugin</artifactId>
174                 <configuration>
175                     <skip />
176                 </configuration>
177             </plugin>
178             <plugin>
179                 <groupId>org.apache.maven.plugins</groupId>
180                 <artifactId>maven-surefire-plugin</artifactId>
181             </plugin>
182             <plugin>
183                 <groupId>org.apache.maven.plugins</groupId>
184                 <artifactId>maven-clean-plugin</artifactId>
185                 <version>2.4.1</version>
186             </plugin>
187             <plugin>
188                 <groupId>org.apache.maven.plugins</groupId>
189                 <artifactId>maven-compiler-plugin</artifactId>
190                 <configuration>
191                     <encoding>${project.encoding}</encoding>
192                     <release>${java.version}</release>
193                 </configuration>
194             </plugin>
195             <plugin>
196                 <groupId>org.apache.maven.plugins</groupId>
197                 <artifactId>maven-resources-plugin</artifactId>
198                 <configuration>
199                     <encoding>${project.encoding}</encoding>
200                 </configuration>
201             </plugin>
202             <plugin>
203                 <groupId>org.apache.maven.plugins</groupId>
204                 <artifactId>maven-war-plugin</artifactId>
205                 <configuration>
206                     <failOnMissingWebXml>false</failOnMissingWebXml>
207                 </configuration>
208             </plugin>
209             <!-- The Jetty plugin allows us to easily test the development build by
210                 running jetty:run on the command line. -->
211             <plugin>
212                 <groupId>org.eclipse.jetty</groupId>
213                 <artifactId>jetty-maven-plugin</artifactId>
214                 <version>${jetty.plugin.version}</version>
215                 <configuration>
216                     <scanIntervalSeconds>2</scanIntervalSeconds>
217                 </configuration>
218             </plugin>
219             <plugin>
220                 <groupId>com.fortify.ps.maven.plugin</groupId>
221                 <artifactId>sca-maven-plugin</artifactId>
222                 <version>4.20</version>
223             </plugin>
224             <plugin>
225                 <groupId>org.apache.maven.plugins</groupId>
226                 <artifactId>maven-site-plugin</artifactId>
227                 <dependencies>
228                     <dependency>
229                         <groupId>org.apache.maven.wagon</groupId>
230                         <artifactId>wagon-webdav-jackrabbit</artifactId>
231                         <version>2.10</version>
232                     </dependency>
233                 </dependencies>
234             </plugin>
235         </plugins>
236         <pluginManagement>
237             <plugins>
238                 <plugin>
239                     <groupId>org.eclipse.m2e</groupId>
240                     <artifactId>lifecycle-mapping</artifactId>
241                     <version>1.0.0</version>
242                     <configuration>
243                         <lifecycleMappingMetadata>
244                             <pluginExecutions>
245                                 <pluginExecution>
246                                     <pluginExecutionFilter>
247                                         <groupId>org.apache.maven.plugins</groupId>
248                                         <artifactId>maven-checkstyle-plugin</artifactId>
249                                         <versionRange>2.17,)</versionRange>
250                                         <goals>
251                                             <goal>check</goal>
252                                         </goals>
253                                     </pluginExecutionFilter>
254                                     <action>
255                                         <ignore />
256                                     </action>
257                                 </pluginExecution>
258                             </pluginExecutions>
259                         </lifecycleMappingMetadata>
260                     </configuration>
261                 </plugin>
262             </plugins>
263         </pluginManagement>
264     </build>
265 </project>