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"
21 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>
25 <groupId>org.onap.oparent</groupId>
26 <artifactId>oparent</artifactId>
27 <version>0.1.1</version>
31 <groupId>org.onap.policy.engine</groupId>
32 <artifactId>PolicyEngineSuite</artifactId>
33 <version>1.2.0-SNAPSHOT</version>
34 <packaging>pom</packaging>
35 <name>policy-engine</name>
37 <description>The ONAP Policy Engine main pom</description>
40 <!-- Project common build settings -->
41 <project.source.version>1.8</project.source.version>
42 <project.target.version>1.8</project.target.version>
43 <project.encoding>UTF-8</project.encoding>
44 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
45 <!-- Project path properties -->
46 <nexusproxy>https://nexus.onap.org</nexusproxy>
47 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
48 <releases.path>content/repositories/releases/</releases.path>
49 <snapshots.path>content/repositories/snapshots/</snapshots.path>
50 <staging.path>content/repositories/staging/</staging.path>
52 <!-- sonar/jacoco overrides -->
53 <!-- Overriding oparent default sonar/jacoco settings Combine all our reports
54 into one file shared across sub-modules -->
55 <sonar.jacoco.reportPath>${project.basedir}/../target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
56 <sonar.jacoco.itReportPath>${project.basedir}/../target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
57 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
60 Shared between policy/* project repositories - same version
62 <h2.version>1.4.186</h2.version>
65 Shared between policy/* project repositories - different version
68 <!-- Project common dependency versions -->
69 <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version>
70 <dmaap.version>1.0.0</dmaap.version>
71 <httpclient.version>4.5.5</httpclient.version>
72 <jackson.version>2.9.4</jackson.version>
73 <commons.fileupload.version>1.3.3</commons.fileupload.version>
78 <module>PolicyEngineUtils</module>
79 <module>ONAP-XACML</module>
80 <module>ONAP-REST</module>
81 <module>PolicyEngineAPI</module>
82 <module>ONAP-PDP</module>
83 <module>ONAP-PDP-REST</module>
84 <module>ONAP-PAP-REST</module>
85 <module>LogParser</module>
86 <module>PolicyEngineClient</module>
87 <module>BRMSGateway</module>
88 <module>POLICY-SDK-APP</module>
89 <module>ONAP-SDK-APP</module>
90 <module>packages</module>
93 <distributionManagement>
95 <id>ecomp-releases</id>
96 <name>ONAP Release Repository</name>
97 <url>${nexusproxy}/${releases.path}</url>
100 <id>ecomp-snapshots</id>
101 <name>ONAP Snapshot Repository</name>
102 <url>${nexusproxy}/${snapshots.path}</url>
103 </snapshotRepository>
106 <url>dav:${nexusproxy}${sitePath}</url>
108 </distributionManagement>
111 <!-- LF repositories -->
113 <id>ecomp-releases</id>
114 <name>Release Repository</name>
115 <url>${nexusproxy}/content/repositories/releases/</url>
118 <id>ecomp-staging</id>
119 <name>Staging Repository</name>
120 <url>${nexusproxy}/content/repositories/staging/</url>
123 <id>ecomp-snapshots</id>
124 <name>Snapshots Repository</name>
125 <url>${nexusproxy}/content/repositories/snapshots/</url>
128 <id>ecomp-public</id>
129 <name>Public Repository</name>
130 <url>${nexusproxy}/content/repositories/public/</url>
132 <!-- LF repositories END-->
138 <groupId>org.apache.maven.plugins</groupId>
139 <artifactId>maven-javadoc-plugin</artifactId>
140 <version>2.10.4</version>
142 <failOnError>false</failOnError>
143 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
145 <groupId>org.umlgraph</groupId>
146 <artifactId>umlgraph</artifactId>
147 <version>5.6</version>
149 <additionalparam>-views</additionalparam>
150 <useStandardDocletOptions>true</useStandardDocletOptions>
156 <dependencyManagement>
159 <groupId>com.h2database</groupId>
160 <artifactId>h2</artifactId>
161 <version>${h2.version}</version>
165 </dependencyManagement>
170 <groupId>javax.servlet</groupId>
171 <artifactId>javax.servlet-api</artifactId>
172 <version>3.1.0</version>
175 <!-- org.w3c.dom dependencies -->
176 <groupId>xml-apis</groupId>
177 <artifactId>xml-apis</artifactId>
178 <version>1.3.03</version>
185 <groupId>org.jacoco</groupId>
186 <artifactId>jacoco-maven-plugin</artifactId>
189 <id>pre-unit-test</id>
191 <goal>prepare-agent</goal>
194 <destFile>${sonar.jacoco.reportPath}</destFile>
195 <append>true</append>
199 <id>post-unit-test</id>
205 <dataFile>${sonar.jacoco.reportPath}</dataFile>
211 <groupId>org.sonatype.plugins</groupId>
212 <artifactId>nexus-staging-maven-plugin</artifactId>
213 <extensions>true</extensions>
215 <nexusUrl>${nexusproxy}</nexusUrl>
216 <stagingProfileId>176c31dfe190a</stagingProfileId>
217 <serverId>ecomp-staging</serverId>
221 <groupId>org.apache.maven.plugins</groupId>
222 <artifactId>maven-deploy-plugin</artifactId>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-surefire-plugin</artifactId>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-clean-plugin</artifactId>
234 <version>2.4.1</version>
237 <groupId>org.apache.maven.plugins</groupId>
238 <artifactId>maven-compiler-plugin</artifactId>
239 <version>3.0</version>
241 <encoding>${project.encoding}</encoding>
242 <source>${project.source.version}</source>
243 <target>${project.target.version}</target>
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-resources-plugin</artifactId>
249 <version>2.6</version>
251 <encoding>${project.encoding}</encoding>
255 <groupId>org.apache.maven.plugins</groupId>
256 <artifactId>maven-war-plugin</artifactId>
257 <version>2.3</version>
259 <failOnMissingWebXml>false</failOnMissingWebXml>
262 <!-- The Jetty plugin allows us to easily test the development build by
263 running jetty:run on the command line. -->
266 <groupId>org.eclipse.jetty</groupId>
267 <artifactId>jetty-maven-plugin</artifactId>
268 <version>${jetty.plugin.version}</version>
270 <scanIntervalSeconds>2</scanIntervalSeconds>
274 <groupId>com.fortify.ps.maven.plugin</groupId>
275 <artifactId>sca-maven-plugin</artifactId>
276 <version>4.20</version>
279 <groupId>org.apache.maven.plugins</groupId>
280 <artifactId>maven-site-plugin</artifactId>
283 <groupId>org.apache.maven.wagon</groupId>
284 <artifactId>wagon-webdav-jackrabbit</artifactId>
285 <version>2.10</version>
293 <groupId>org.jacoco</groupId>
294 <artifactId>jacoco-maven-plugin</artifactId>
295 <version>${jacoco.version}</version>
297 <!-- Note: This exclusion list should match <sonar.exclusions> property
300 <exclude>**/gen/**</exclude>
301 <exclude>**/generated-sources/**</exclude>
302 <exclude>**/yang-gen/**</exclude>
303 <exclude>**/pax/**</exclude>
307 <!-- Prepares the property pointing to the JaCoCo runtime agent which
308 is passed as VM argument when Maven the Surefire plugin is executed. -->
310 <id>pre-unit-test</id>
312 <goal>prepare-agent</goal>
315 <destFile>${sonar.jacoco.reportPath}</destFile>
318 <!-- Ensures that the code coverage report for unit tests is created
319 after unit tests have been run. -->
321 <id>post-unit-test</id>
327 <dataFile>${sonar.jacoco.reportPath}</dataFile>
333 <groupId>org.eclipse.m2e</groupId>
334 <artifactId>lifecycle-mapping</artifactId>
335 <version>1.0.0</version>
337 <lifecycleMappingMetadata>
340 <pluginExecutionFilter>
341 <groupId>org.apache.maven.plugins</groupId>
342 <artifactId>maven-checkstyle-plugin</artifactId>
343 <versionRange>2.17,)</versionRange>
347 </pluginExecutionFilter>
353 </lifecycleMappingMetadata>