Michal Ptacek | 7168a9a | 2019-11-04 06:45:08 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | ONAP Policy Engine - Drools PDP |
| 5 | ================================================================================ |
| 6 | Copyright (C) 2017, 2019 AT&T Intellectual Property. All rights reserved. |
| 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 |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 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========================================================= |
| 20 | --> |
| 21 | |
| 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 23 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | |
| 26 | <artifactId>policy-utils</artifactId> |
| 27 | |
| 28 | <parent> |
| 29 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 30 | <artifactId>drools-pdp</artifactId> |
| 31 | <version>1.5.2</version> |
| 32 | </parent> |
| 33 | |
| 34 | <dependencies> |
| 35 | <dependency> |
| 36 | <groupId>ch.qos.logback</groupId> |
| 37 | <artifactId>logback-classic</artifactId> |
| 38 | </dependency> |
| 39 | <dependency> |
| 40 | <groupId>junit</groupId> |
| 41 | <artifactId>junit</artifactId> |
| 42 | <scope>test</scope> |
| 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>org.onap.policy.common</groupId> |
| 46 | <artifactId>utils</artifactId> |
| 47 | <version>${policy.common.version}</version> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>org.apache.commons</groupId> |
| 51 | <artifactId>commons-configuration2</artifactId> |
| 52 | <version>2.4</version> |
| 53 | </dependency> |
| 54 | </dependencies> |
| 55 | <build> |
| 56 | <plugins> |
| 57 | <plugin> |
| 58 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 59 | <executions> |
| 60 | <execution> |
| 61 | <id>onap-java-style</id> |
| 62 | <goals> |
| 63 | <goal>check</goal> |
| 64 | </goals> |
| 65 | <phase>process-sources</phase> |
| 66 | <configuration> |
| 67 | <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 68 | with minor changes --> |
| 69 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 70 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory --> |
| 71 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 72 | <includeResources>true</includeResources> |
| 73 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 74 | <includeTestResources>true</includeTestResources> |
| 75 | <excludes> |
| 76 | </excludes> |
| 77 | <consoleOutput>true</consoleOutput> |
| 78 | <failsOnViolation>true</failsOnViolation> |
| 79 | <violationSeverity>warning</violationSeverity> |
| 80 | </configuration> |
| 81 | </execution> |
| 82 | </executions> |
| 83 | <dependencies> |
| 84 | <dependency> |
| 85 | <groupId>org.onap.oparent</groupId> |
| 86 | <artifactId>checkstyle</artifactId> |
| 87 | <version>${oparent.version}</version> |
| 88 | <scope>compile</scope> |
| 89 | </dependency> |
| 90 | </dependencies> |
| 91 | </plugin> |
| 92 | </plugins> |
| 93 | </build> |
| 94 | </project> |