Hengye | b150aa8 | 2019-03-25 14:32:21 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | sdc |
| 4 | ================================================================================ |
| 5 | Copyright (C) 2017-2018 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 |
| 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 | |
| 23 | <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"> |
| 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | |
| 26 | <parent> |
| 27 | <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId> |
| 28 | <artifactId>model-impl</artifactId> |
| 29 | <version>2.0.0-SNAPSHOT</version> |
| 30 | </parent> |
| 31 | |
| 32 | <artifactId>sdc</artifactId> |
| 33 | |
| 34 | <dependencies> |
| 35 | <dependency> |
| 36 | <groupId>junit</groupId> |
| 37 | <artifactId>junit</artifactId> |
| 38 | <scope>test</scope> |
| 39 | </dependency> |
| 40 | </dependencies> |
| 41 | |
| 42 | <build> |
| 43 | <plugins> |
| 44 | <plugin> |
| 45 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 46 | <executions> |
| 47 | <execution> |
| 48 | <id>onap-java-style</id> |
| 49 | <goals> |
| 50 | <goal>check</goal> |
| 51 | </goals> |
| 52 | <phase>process-sources</phase> |
| 53 | <configuration> |
| 54 | <!-- Use Google Java Style Guide: |
| 55 | https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 56 | with minor changes --> |
| 57 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 58 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory --> |
| 59 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 60 | <includeResources>true</includeResources> |
| 61 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 62 | <includeTestResources>true</includeTestResources> |
| 63 | <excludes> |
| 64 | </excludes> |
| 65 | <suppressionsLocation>${project.basedir}/checkstyle-suppressions.xml</suppressionsLocation> |
| 66 | <consoleOutput>true</consoleOutput> |
| 67 | <failsOnViolation>true</failsOnViolation> |
| 68 | <violationSeverity>warning</violationSeverity> |
| 69 | </configuration> |
| 70 | </execution> |
| 71 | </executions> |
| 72 | <dependencies> |
| 73 | <dependency> |
| 74 | <groupId>org.onap.oparent</groupId> |
| 75 | <artifactId>checkstyle</artifactId> |
| 76 | <version>${oparent.version}</version> |
| 77 | <scope>compile</scope> |
| 78 | </dependency> |
| 79 | </dependencies> |
| 80 | </plugin> |
| 81 | </plugins> |
| 82 | </build> |
| 83 | </project> |