2 ============LICENSE_START=======================================================
3 ONAP Policy Engine - XACML PDP
4 ================================================================================
5 Copyright (C) 2018-2019 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=========================================================
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>
26 <groupId>org.onap.policy.parent</groupId>
27 <artifactId>integration</artifactId>
28 <version>2.1.0</version>
32 <groupId>org.onap.policy.xacml-pdp</groupId>
33 <artifactId>policy-xacml-pdp</artifactId>
34 <version>2.0.0-SNAPSHOT</version>
36 <packaging>pom</packaging>
38 <name>policy-xacml-pdp</name>
39 <description>This code implements the XACML PDP engine</description>
42 <!-- sonar/jacoco overrides -->
43 <!-- Overriding oparent default sonar/jacoco settings Combine all our reports into one file shared across sub-modules -->
44 <sonar.jacoco.reportPath>${project.basedir}/../target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
45 <sonar.jacoco.itReportPath>${project.basedir}/../target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
46 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
48 <policy.common.version>1.4.0</policy.common.version>
49 <policy.models.version>2.0.0</policy.models.version>
54 <module>applications</module>
55 <module>packages</module>
56 <module>testsuites</module>
61 <groupId>junit</groupId>
62 <artifactId>junit</artifactId>
66 <groupId>io.cucumber</groupId>
67 <artifactId>cucumber-java</artifactId>
71 <groupId>io.cucumber</groupId>
72 <artifactId>cucumber-junit</artifactId>
76 <groupId>org.assertj</groupId>
77 <artifactId>assertj-core</artifactId>
81 <groupId>org.slf4j</groupId>
82 <artifactId>slf4j-ext</artifactId>
83 <version>1.8.0-beta2</version>
86 <groupId>org.slf4j</groupId>
87 <artifactId>slf4j-api</artifactId>
90 <groupId>ch.qos.logback</groupId>
91 <artifactId>logback-core</artifactId>
94 <groupId>ch.qos.logback</groupId>
95 <artifactId>logback-classic</artifactId>
98 <groupId>org.yaml</groupId>
99 <artifactId>snakeyaml</artifactId>
100 <version>1.24</version>
103 <groupId>org.projectlombok</groupId>
104 <artifactId>lombok</artifactId>
107 <groupId>org.json</groupId>
108 <artifactId>json</artifactId>
109 <version>20180813</version>
112 <groupId>org.onap.policy.models</groupId>
113 <artifactId>policy-models-decisions</artifactId>
114 <version>${policy.models.version}</version>
117 <groupId>org.onap.policy.models</groupId>
118 <artifactId>policy-models-tosca</artifactId>
119 <version>${policy.models.version}</version>
123 <distributionManagement>
126 <url>dav:${nexusproxy}${sitePath}</url>
128 </distributionManagement>
133 <groupId>org.jacoco</groupId>
134 <artifactId>jacoco-maven-plugin</artifactId>
137 <id>pre-unit-test</id>
139 <goal>prepare-agent</goal>
142 <destFile>${sonar.jacoco.reportPath}</destFile>
143 <append>true</append>
147 <id>post-unit-test</id>
153 <dataFile>${sonar.jacoco.reportPath}</dataFile>
159 <artifactId>maven-checkstyle-plugin</artifactId>
162 <id>onap-java-style</id>
166 <phase>process-sources</phase>
168 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
169 with minor changes -->
170 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
171 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
172 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
173 <includeResources>true</includeResources>
174 <includeTestSourceDirectory>true</includeTestSourceDirectory>
175 <includeTestResources>true</includeTestResources>
178 <consoleOutput>true</consoleOutput>
179 <failOnViolation>true</failOnViolation>
180 <violationSeverity>warning</violationSeverity>
186 <groupId>org.onap.oparent</groupId>
187 <artifactId>checkstyle</artifactId>
188 <version>${oparent.version}</version>
189 <scope>compile</scope>
197 <groupId>org.jacoco</groupId>
198 <artifactId>jacoco-maven-plugin</artifactId>
199 <version>${jacoco.version}</version>
201 <!-- Note: This exclusion list should match <sonar.exclusions> property above -->
203 <exclude>**/gen/**</exclude>
204 <exclude>**/generated-sources/**</exclude>
205 <exclude>**/yang-gen/**</exclude>
206 <exclude>**/pax/**</exclude>
210 <!-- Prepares the property pointing to the JaCoCo runtime agent which is passed as VM argument when
211 Maven the Surefire plugin is executed. -->
213 <id>pre-unit-test</id>
215 <goal>prepare-agent</goal>
218 <destFile>${sonar.jacoco.reportPath}</destFile>
221 <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->
223 <id>post-unit-test</id>
229 <dataFile>${sonar.jacoco.reportPath}</dataFile>
235 <groupId>org.eclipse.m2e</groupId>
236 <artifactId>lifecycle-mapping</artifactId>
237 <version>1.0.0</version>
239 <lifecycleMappingMetadata>
242 <pluginExecutionFilter>
243 <groupId>org.apache.maven.plugins</groupId>
244 <artifactId>maven-checkstyle-plugin</artifactId>
245 <versionRange>2.17,)</versionRange>
249 </pluginExecutionFilter>
255 </lifecycleMappingMetadata>