2 ============LICENSE_START=======================================================
4 ================================================================================
5 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ============LICENSE_END=========================================================
20 <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">
21 <modelVersion>4.0.0</modelVersion>
23 <groupId>org.onap.policy.parent</groupId>
24 <artifactId>integration</artifactId>
25 <version>2.1.0-SNAPSHOT</version>
28 <groupId>org.onap.policy.engine</groupId>
29 <artifactId>PolicyEngineSuite</artifactId>
30 <version>1.4.0-SNAPSHOT</version>
31 <packaging>pom</packaging>
32 <name>policy-engine</name>
33 <description>The ONAP Policy Engine main pom</description>
35 <!-- Project common build settings -->
36 <project.source.version>1.8</project.source.version>
37 <project.target.version>1.8</project.target.version>
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>
47 <!-- sonar/jacoco overrides -->
48 <!-- Overriding oparent default sonar/jacoco settings Combine all our reports
49 into one file shared across sub-modules -->
50 <sonar.jacoco.reportPath>${project.basedir}/../target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
51 <sonar.jacoco.itReportPath>${project.basedir}/../target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
52 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
54 <!-- Shared between policy/* project repositories - same version -->
55 <h2.version>1.4.186</h2.version>
57 <!-- Shared between policy/* project repositories - different version -->
59 <!-- Project common dependency versions -->
60 <springframework.version>4.3.18.RELEASE</springframework.version>
61 <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version>
62 <httpclient.version>4.5.5</httpclient.version>
63 <jackson.version>2.9.4</jackson.version>
64 <commons.fileupload.version>1.3.3</commons.fileupload.version>
65 <commons.compress.version>1.18</commons.compress.version>
66 <elasticsearch.version>6.3.0</elasticsearch.version>
67 <version.policy.common>1.4.0-SNAPSHOT</version.policy.common>
68 <version.policy.drools-application>1.4.0-SNAPSHOT</version.policy.drools-application>
71 <module>PolicyEngineUtils</module>
72 <module>ONAP-XACML</module>
73 <module>ONAP-REST</module>
74 <module>PolicyEngineAPI</module>
75 <module>ONAP-PDP</module>
76 <module>ONAP-PDP-REST</module>
77 <module>ONAP-PAP-REST</module>
78 <module>LogParser</module>
79 <module>PolicyEngineClient</module>
80 <module>BRMSGateway</module>
81 <module>POLICY-SDK-APP</module>
82 <module>ONAP-SDK-APP</module>
83 <module>packages</module>
84 <module>TestSuite</module>
89 <groupId>org.apache.maven.plugins</groupId>
90 <artifactId>maven-javadoc-plugin</artifactId>
91 <version>2.10.4</version>
93 <failOnError>false</failOnError>
94 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
96 <groupId>org.umlgraph</groupId>
97 <artifactId>umlgraph</artifactId>
98 <version>5.6</version>
100 <additionalparam>-views</additionalparam>
101 <useStandardDocletOptions>true</useStandardDocletOptions>
106 <dependencyManagement>
109 <groupId>com.h2database</groupId>
110 <artifactId>h2</artifactId>
111 <version>${h2.version}</version>
115 </dependencyManagement>
118 <groupId>javax.servlet</groupId>
119 <artifactId>javax.servlet-api</artifactId>
122 <!-- org.w3c.dom dependencies -->
123 <groupId>xml-apis</groupId>
124 <artifactId>xml-apis</artifactId>
125 <version>1.3.03</version>
127 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
129 <groupId>com.fasterxml.jackson.core</groupId>
130 <artifactId>jackson-databind</artifactId>
131 <version>${jackson.version}</version>
134 <groupId>junit</groupId>
135 <artifactId>junit</artifactId>
139 <groupId>org.springframework</groupId>
140 <artifactId>spring-mock</artifactId>
141 <version>2.0.8</version>
145 <groupId>com.mockrunner</groupId>
146 <artifactId>mockrunner</artifactId>
147 <version>0.3.1</version>
150 <!-- https://mvnrepository.com/artifact/org.powermock/powermock-api-mockito -->
152 <groupId>org.powermock</groupId>
153 <artifactId>powermock-api-mockito</artifactId>
154 <version>1.7.3</version>
158 <groupId>org.powermock</groupId>
159 <artifactId>powermock-module-junit4</artifactId>
160 <version>1.7.3</version>
163 <!-- https://mvnrepository.com/artifact/org.mockito/mockito-all -->
165 <groupId>org.mockito</groupId>
166 <artifactId>mockito-all</artifactId>
170 <groupId>org.easymock</groupId>
171 <artifactId>easymock</artifactId>
172 <version>3.1</version>
179 <groupId>org.jacoco</groupId>
180 <artifactId>jacoco-maven-plugin</artifactId>
183 <id>pre-unit-test</id>
185 <goal>prepare-agent</goal>
188 <destFile>${sonar.jacoco.reportPath}</destFile>
189 <append>true</append>
193 <id>post-unit-test</id>
199 <dataFile>${sonar.jacoco.reportPath}</dataFile>
205 <groupId>org.sonatype.plugins</groupId>
206 <artifactId>nexus-staging-maven-plugin</artifactId>
207 <extensions>true</extensions>
209 <nexusUrl>${nexusproxy}</nexusUrl>
210 <stagingProfileId>176c31dfe190a</stagingProfileId>
211 <serverId>ecomp-staging</serverId>
215 <groupId>org.apache.maven.plugins</groupId>
216 <artifactId>maven-deploy-plugin</artifactId>
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-surefire-plugin</artifactId>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-clean-plugin</artifactId>
228 <version>2.4.1</version>
231 <groupId>org.apache.maven.plugins</groupId>
232 <artifactId>maven-compiler-plugin</artifactId>
234 <encoding>${project.encoding}</encoding>
235 <source>${project.source.version}</source>
236 <target>${project.target.version}</target>
240 <groupId>org.apache.maven.plugins</groupId>
241 <artifactId>maven-resources-plugin</artifactId>
243 <encoding>${project.encoding}</encoding>
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-war-plugin</artifactId>
250 <failOnMissingWebXml>false</failOnMissingWebXml>
253 <!-- The Jetty plugin allows us to easily test the development build by
254 running jetty:run on the command line. -->
256 <groupId>org.eclipse.jetty</groupId>
257 <artifactId>jetty-maven-plugin</artifactId>
258 <version>${jetty.plugin.version}</version>
260 <scanIntervalSeconds>2</scanIntervalSeconds>
264 <groupId>com.fortify.ps.maven.plugin</groupId>
265 <artifactId>sca-maven-plugin</artifactId>
266 <version>4.20</version>
269 <groupId>org.apache.maven.plugins</groupId>
270 <artifactId>maven-site-plugin</artifactId>
273 <groupId>org.apache.maven.wagon</groupId>
274 <artifactId>wagon-webdav-jackrabbit</artifactId>
275 <version>2.10</version>
283 <groupId>org.jacoco</groupId>
284 <artifactId>jacoco-maven-plugin</artifactId>
285 <version>${jacoco.version}</version>
287 <!-- Note: This exclusion list should match <sonar.exclusions> property
290 <exclude>**/gen/**</exclude>
291 <exclude>**/generated-sources/**</exclude>
292 <exclude>**/yang-gen/**</exclude>
293 <exclude>**/pax/**</exclude>
297 <!-- Prepares the property pointing to the JaCoCo runtime agent which
298 is passed as VM argument when Maven the Surefire plugin is executed. -->
300 <id>pre-unit-test</id>
302 <goal>prepare-agent</goal>
305 <destFile>${sonar.jacoco.reportPath}</destFile>
308 <!-- Ensures that the code coverage report for unit tests is created
309 after unit tests have been run. -->
311 <id>post-unit-test</id>
317 <dataFile>${sonar.jacoco.reportPath}</dataFile>
323 <groupId>org.eclipse.m2e</groupId>
324 <artifactId>lifecycle-mapping</artifactId>
325 <version>1.0.0</version>
327 <lifecycleMappingMetadata>
330 <pluginExecutionFilter>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-checkstyle-plugin</artifactId>
333 <versionRange>2.17,)</versionRange>
337 </pluginExecutionFilter>
343 </lifecycleMappingMetadata>