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"
21 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>
25 <groupId>org.onap.policy.parent</groupId>
26 <artifactId>integration</artifactId>
27 <version>2.0.0</version>
30 <groupId>org.onap.policy.engine</groupId>
31 <artifactId>PolicyEngineSuite</artifactId>
32 <version>1.3.1-SNAPSHOT</version>
33 <packaging>pom</packaging>
34 <name>policy-engine</name>
35 <description>The ONAP Policy Engine main pom</description>
37 <!-- Project common build settings -->
38 <project.source.version>1.8</project.source.version>
39 <project.target.version>1.8</project.target.version>
40 <project.encoding>UTF-8</project.encoding>
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42 <!-- Project path properties -->
43 <nexusproxy>https://nexus.onap.org</nexusproxy>
44 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
45 <releases.path>content/repositories/releases/</releases.path>
46 <snapshots.path>content/repositories/snapshots/</snapshots.path>
47 <staging.path>content/repositories/staging/</staging.path>
49 <!-- sonar/jacoco overrides -->
50 <!-- Overriding oparent default sonar/jacoco settings Combine all our reports
51 into one file shared across sub-modules -->
52 <sonar.jacoco.reportPath>${project.basedir}/../target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
53 <sonar.jacoco.itReportPath>${project.basedir}/../target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
54 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
56 <!-- Shared between policy/* project repositories - same version -->
57 <h2.version>1.4.186</h2.version>
59 <!-- Shared between policy/* project repositories - different version -->
61 <!-- Project common dependency versions -->
62 <springframework.version>4.3.18.RELEASE</springframework.version>
63 <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version>
64 <httpclient.version>4.5.5</httpclient.version>
65 <jackson.version>2.9.4</jackson.version>
66 <commons.fileupload.version>1.3.3</commons.fileupload.version>
67 <commons.compress.version>1.18</commons.compress.version>
68 <elasticsearch.version>6.3.0</elasticsearch.version>
69 <version.policy.common>1.3.1</version.policy.common>
70 <version.policy.drools-application>1.3.1</version.policy.drools-application>
73 <module>PolicyEngineUtils</module>
74 <module>ONAP-XACML</module>
75 <module>ONAP-REST</module>
76 <module>PolicyEngineAPI</module>
77 <module>ONAP-PDP</module>
78 <module>ONAP-PDP-REST</module>
79 <module>ONAP-PAP-REST</module>
80 <module>LogParser</module>
81 <module>PolicyEngineClient</module>
82 <module>BRMSGateway</module>
83 <module>POLICY-SDK-APP</module>
84 <module>ONAP-SDK-APP</module>
85 <module>packages</module>
86 <module>TestSuite</module>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-javadoc-plugin</artifactId>
93 <version>2.10.4</version>
95 <failOnError>false</failOnError>
96 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
98 <groupId>org.umlgraph</groupId>
99 <artifactId>umlgraph</artifactId>
100 <version>5.6</version>
102 <additionalparam>-views</additionalparam>
103 <useStandardDocletOptions>true</useStandardDocletOptions>
108 <dependencyManagement>
111 <groupId>com.h2database</groupId>
112 <artifactId>h2</artifactId>
113 <version>${h2.version}</version>
117 </dependencyManagement>
120 <groupId>javax.servlet</groupId>
121 <artifactId>javax.servlet-api</artifactId>
124 <!-- org.w3c.dom dependencies -->
125 <groupId>xml-apis</groupId>
126 <artifactId>xml-apis</artifactId>
127 <version>1.3.03</version>
129 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
131 <groupId>com.fasterxml.jackson.core</groupId>
132 <artifactId>jackson-databind</artifactId>
133 <version>${jackson.version}</version>
136 <groupId>junit</groupId>
137 <artifactId>junit</artifactId>
141 <groupId>org.springframework</groupId>
142 <artifactId>spring-mock</artifactId>
143 <version>2.0.8</version>
147 <groupId>com.mockrunner</groupId>
148 <artifactId>mockrunner</artifactId>
149 <version>0.3.1</version>
152 <!-- https://mvnrepository.com/artifact/org.powermock/powermock-api-mockito -->
154 <groupId>org.powermock</groupId>
155 <artifactId>powermock-api-mockito</artifactId>
156 <version>1.7.3</version>
160 <groupId>org.powermock</groupId>
161 <artifactId>powermock-module-junit4</artifactId>
162 <version>1.7.3</version>
165 <!-- https://mvnrepository.com/artifact/org.mockito/mockito-all -->
167 <groupId>org.mockito</groupId>
168 <artifactId>mockito-all</artifactId>
172 <groupId>org.easymock</groupId>
173 <artifactId>easymock</artifactId>
174 <version>3.1</version>
181 <groupId>org.jacoco</groupId>
182 <artifactId>jacoco-maven-plugin</artifactId>
185 <id>pre-unit-test</id>
187 <goal>prepare-agent</goal>
190 <destFile>${sonar.jacoco.reportPath}</destFile>
191 <append>true</append>
195 <id>post-unit-test</id>
201 <dataFile>${sonar.jacoco.reportPath}</dataFile>
207 <groupId>org.sonatype.plugins</groupId>
208 <artifactId>nexus-staging-maven-plugin</artifactId>
209 <extensions>true</extensions>
211 <nexusUrl>${nexusproxy}</nexusUrl>
212 <stagingProfileId>176c31dfe190a</stagingProfileId>
213 <serverId>ecomp-staging</serverId>
217 <groupId>org.apache.maven.plugins</groupId>
218 <artifactId>maven-deploy-plugin</artifactId>
224 <groupId>org.apache.maven.plugins</groupId>
225 <artifactId>maven-surefire-plugin</artifactId>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-clean-plugin</artifactId>
230 <version>2.4.1</version>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-compiler-plugin</artifactId>
236 <encoding>${project.encoding}</encoding>
237 <source>${project.source.version}</source>
238 <target>${project.target.version}</target>
242 <groupId>org.apache.maven.plugins</groupId>
243 <artifactId>maven-resources-plugin</artifactId>
245 <encoding>${project.encoding}</encoding>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-war-plugin</artifactId>
252 <failOnMissingWebXml>false</failOnMissingWebXml>
255 <!-- The Jetty plugin allows us to easily test the development build by
256 running jetty:run on the command line. -->
258 <groupId>org.eclipse.jetty</groupId>
259 <artifactId>jetty-maven-plugin</artifactId>
260 <version>${jetty.plugin.version}</version>
262 <scanIntervalSeconds>2</scanIntervalSeconds>
266 <groupId>com.fortify.ps.maven.plugin</groupId>
267 <artifactId>sca-maven-plugin</artifactId>
268 <version>4.20</version>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-site-plugin</artifactId>
275 <groupId>org.apache.maven.wagon</groupId>
276 <artifactId>wagon-webdav-jackrabbit</artifactId>
277 <version>2.10</version>
285 <groupId>org.jacoco</groupId>
286 <artifactId>jacoco-maven-plugin</artifactId>
287 <version>${jacoco.version}</version>
289 <!-- Note: This exclusion list should match <sonar.exclusions> property
292 <exclude>**/gen/**</exclude>
293 <exclude>**/generated-sources/**</exclude>
294 <exclude>**/yang-gen/**</exclude>
295 <exclude>**/pax/**</exclude>
299 <!-- Prepares the property pointing to the JaCoCo runtime agent which
300 is passed as VM argument when Maven the Surefire plugin is executed. -->
302 <id>pre-unit-test</id>
304 <goal>prepare-agent</goal>
307 <destFile>${sonar.jacoco.reportPath}</destFile>
310 <!-- Ensures that the code coverage report for unit tests is created
311 after unit tests have been run. -->
313 <id>post-unit-test</id>
319 <dataFile>${sonar.jacoco.reportPath}</dataFile>
325 <groupId>org.eclipse.m2e</groupId>
326 <artifactId>lifecycle-mapping</artifactId>
327 <version>1.0.0</version>
329 <lifecycleMappingMetadata>
332 <pluginExecutionFilter>
333 <groupId>org.apache.maven.plugins</groupId>
334 <artifactId>maven-checkstyle-plugin</artifactId>
335 <versionRange>2.17,)</versionRange>
339 </pluginExecutionFilter>
345 </lifecycleMappingMetadata>