2 ============LICENSE_START=======================================================
4 ================================================================================
5 Copyright (C) 2017-2019 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
12 http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 <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">
22 <modelVersion>4.0.0</modelVersion>
24 <groupId>org.onap.policy.parent</groupId>
25 <artifactId>integration</artifactId>
26 <version>2.1.0</version>
29 <groupId>org.onap.policy.engine</groupId>
30 <artifactId>PolicyEngineSuite</artifactId>
31 <version>1.4.0-SNAPSHOT</version>
32 <packaging>pom</packaging>
33 <name>policy-engine</name>
34 <description>The ONAP Policy Engine main pom</description>
36 <!-- Project common build settings -->
37 <project.source.version>1.8</project.source.version>
38 <project.target.version>1.8</project.target.version>
39 <project.encoding>UTF-8</project.encoding>
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
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>
48 <!-- sonar/jacoco overrides -->
49 <!-- Overriding oparent default sonar/jacoco settings Combine all our reports
50 into one file shared across sub-modules -->
51 <sonar.jacoco.reportPath>${project.basedir}/../target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
52 <sonar.jacoco.itReportPath>${project.basedir}/../target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
53 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
55 <!-- Project common dependency versions -->
56 <springframework.version>4.3.18.RELEASE</springframework.version>
57 <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version>
58 <jackson.version>2.9.4</jackson.version>
59 <commons.fileupload.version>1.3.3</commons.fileupload.version>
60 <commons.compress.version>1.18</commons.compress.version>
61 <elasticsearch.version>6.4.3</elasticsearch.version>
62 <version.policy.common>1.4.0</version.policy.common>
63 <version.policy.models>2.0.0</version.policy.models>
66 <module>PolicyEngineUtils</module>
67 <module>ONAP-XACML</module>
68 <module>ONAP-REST</module>
69 <module>PolicyEngineAPI</module>
70 <module>ONAP-PDP</module>
71 <module>ONAP-PDP-REST</module>
72 <module>ONAP-PAP-REST</module>
73 <module>LogParser</module>
74 <module>PolicyEngineClient</module>
75 <module>BRMSGateway</module>
76 <module>POLICY-SDK-APP</module>
77 <module>ONAP-SDK-APP</module>
78 <module>packages</module>
79 <module>TestSuite</module>
84 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-javadoc-plugin</artifactId>
86 <version>2.10.4</version>
88 <failOnError>false</failOnError>
89 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
91 <groupId>org.umlgraph</groupId>
92 <artifactId>umlgraph</artifactId>
93 <version>5.6</version>
95 <additionalparam>-views</additionalparam>
96 <useStandardDocletOptions>true</useStandardDocletOptions>
103 <groupId>javax.servlet</groupId>
104 <artifactId>javax.servlet-api</artifactId>
107 <!-- org.w3c.dom dependencies -->
108 <groupId>xml-apis</groupId>
109 <artifactId>xml-apis</artifactId>
110 <version>1.3.03</version>
112 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
114 <groupId>com.fasterxml.jackson.core</groupId>
115 <artifactId>jackson-databind</artifactId>
116 <version>${jackson.version}</version>
119 <groupId>junit</groupId>
120 <artifactId>junit</artifactId>
124 <groupId>org.springframework</groupId>
125 <artifactId>spring-mock</artifactId>
126 <version>2.0.8</version>
130 <groupId>com.mockrunner</groupId>
131 <artifactId>mockrunner</artifactId>
132 <version>0.3.1</version>
135 <!-- https://mvnrepository.com/artifact/org.powermock/powermock-api-mockito -->
137 <groupId>org.powermock</groupId>
138 <artifactId>powermock-api-mockito</artifactId>
142 <groupId>org.powermock</groupId>
143 <artifactId>powermock-module-junit4</artifactId>
146 <!-- https://mvnrepository.com/artifact/org.mockito/mockito-all -->
148 <groupId>org.mockito</groupId>
149 <artifactId>mockito-all</artifactId>
153 <groupId>org.easymock</groupId>
154 <artifactId>easymock</artifactId>
155 <version>3.1</version>
162 <groupId>org.jacoco</groupId>
163 <artifactId>jacoco-maven-plugin</artifactId>
166 <id>pre-unit-test</id>
168 <goal>prepare-agent</goal>
171 <destFile>${sonar.jacoco.reportPath}</destFile>
172 <append>true</append>
176 <id>post-unit-test</id>
182 <dataFile>${sonar.jacoco.reportPath}</dataFile>
188 <groupId>org.sonatype.plugins</groupId>
189 <artifactId>nexus-staging-maven-plugin</artifactId>
190 <extensions>true</extensions>
192 <nexusUrl>${nexusproxy}</nexusUrl>
193 <stagingProfileId>176c31dfe190a</stagingProfileId>
194 <serverId>ecomp-staging</serverId>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-deploy-plugin</artifactId>
205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-surefire-plugin</artifactId>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-clean-plugin</artifactId>
211 <version>2.4.1</version>
214 <groupId>org.apache.maven.plugins</groupId>
215 <artifactId>maven-compiler-plugin</artifactId>
217 <encoding>${project.encoding}</encoding>
218 <source>${project.source.version}</source>
219 <target>${project.target.version}</target>
223 <groupId>org.apache.maven.plugins</groupId>
224 <artifactId>maven-resources-plugin</artifactId>
226 <encoding>${project.encoding}</encoding>
230 <groupId>org.apache.maven.plugins</groupId>
231 <artifactId>maven-war-plugin</artifactId>
233 <failOnMissingWebXml>false</failOnMissingWebXml>
236 <!-- The Jetty plugin allows us to easily test the development build by
237 running jetty:run on the command line. -->
239 <groupId>org.eclipse.jetty</groupId>
240 <artifactId>jetty-maven-plugin</artifactId>
241 <version>${jetty.plugin.version}</version>
243 <scanIntervalSeconds>2</scanIntervalSeconds>
247 <groupId>com.fortify.ps.maven.plugin</groupId>
248 <artifactId>sca-maven-plugin</artifactId>
249 <version>4.20</version>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-site-plugin</artifactId>
256 <groupId>org.apache.maven.wagon</groupId>
257 <artifactId>wagon-webdav-jackrabbit</artifactId>
258 <version>2.10</version>
266 <groupId>org.jacoco</groupId>
267 <artifactId>jacoco-maven-plugin</artifactId>
268 <version>${jacoco.version}</version>
270 <!-- Note: This exclusion list should match <sonar.exclusions> property
273 <exclude>**/gen/**</exclude>
274 <exclude>**/generated-sources/**</exclude>
275 <exclude>**/yang-gen/**</exclude>
276 <exclude>**/pax/**</exclude>
280 <!-- Prepares the property pointing to the JaCoCo runtime agent which
281 is passed as VM argument when Maven the Surefire plugin is executed. -->
283 <id>pre-unit-test</id>
285 <goal>prepare-agent</goal>
288 <destFile>${sonar.jacoco.reportPath}</destFile>
291 <!-- Ensures that the code coverage report for unit tests is created
292 after unit tests have been run. -->
294 <id>post-unit-test</id>
300 <dataFile>${sonar.jacoco.reportPath}</dataFile>
306 <groupId>org.eclipse.m2e</groupId>
307 <artifactId>lifecycle-mapping</artifactId>
308 <version>1.0.0</version>
310 <lifecycleMappingMetadata>
313 <pluginExecutionFilter>
314 <groupId>org.apache.maven.plugins</groupId>
315 <artifactId>maven-checkstyle-plugin</artifactId>
316 <versionRange>2.17,)</versionRange>
320 </pluginExecutionFilter>
326 </lifecycleMappingMetadata>