Joshua Reich | d01dd35 | 2019-02-15 13:40:07 -0800 | [diff] [blame^] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | drools-applications |
| 4 | ================================================================================ |
| 5 | Copyright (C) 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 |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 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========================================================= |
| 19 | --> |
| 20 | <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/xsd/maven-4.0.0.xsd"> |
| 21 | <modelVersion>4.0.0</modelVersion> |
| 22 | |
| 23 | <parent> |
| 24 | <groupId>org.onap.policy.drools-applications.controlloop.common</groupId> |
| 25 | <artifactId>common</artifactId> |
| 26 | <version>1.4.0-SNAPSHOT</version> |
| 27 | </parent> |
| 28 | |
| 29 | <artifactId>coordination</artifactId> |
| 30 | |
| 31 | <dependencies> |
| 32 | <dependency> |
| 33 | <groupId>junit</groupId> |
| 34 | <artifactId>junit</artifactId> |
| 35 | <scope>test</scope> |
| 36 | </dependency> |
| 37 | <dependency> |
| 38 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 39 | <artifactId>policy-management</artifactId> |
| 40 | <version>${version.policy.drools-pdp}</version> |
| 41 | <scope>provided</scope> |
| 42 | </dependency> |
| 43 | <dependency> |
| 44 | <groupId>org.assertj</groupId> |
| 45 | <artifactId>assertj-core</artifactId> |
| 46 | <scope>test</scope> |
| 47 | </dependency> |
| 48 | </dependencies> |
| 49 | <build> |
| 50 | <plugins> |
| 51 | <plugin> |
| 52 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 53 | <executions> |
| 54 | <execution> |
| 55 | <id>onap-java-style</id> |
| 56 | <goals> |
| 57 | <goal>check</goal> |
| 58 | </goals> |
| 59 | <phase>process-sources</phase> |
| 60 | <configuration> |
| 61 | <!-- Use Google Java Style Guide: |
| 62 | https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 63 | with minor changes --> |
| 64 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 65 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory --> |
| 66 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 67 | <includeResources>true</includeResources> |
| 68 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 69 | <includeTestResources>true</includeTestResources> |
| 70 | <excludes> |
| 71 | </excludes> |
| 72 | <consoleOutput>true</consoleOutput> |
| 73 | <failsOnViolation>true</failsOnViolation> |
| 74 | <violationSeverity>warning</violationSeverity> |
| 75 | </configuration> |
| 76 | </execution> |
| 77 | </executions> |
| 78 | <dependencies> |
| 79 | <dependency> |
| 80 | <groupId>org.onap.oparent</groupId> |
| 81 | <artifactId>checkstyle</artifactId> |
| 82 | <version>${oparent.version}</version> |
| 83 | <scope>compile</scope> |
| 84 | </dependency> |
| 85 | </dependencies> |
| 86 | </plugin> |
| 87 | </plugins> |
| 88 | </build> |
| 89 | </project> |