Hengye | b150aa8 | 2019-03-25 14:32:21 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2017 Intel Corp. All rights reserved. |
| 4 | Modifications Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. |
| 5 | Modifications Copyright (C) 2019 Nordix Foundation. |
| 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 | |
| 21 | <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"> |
| 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | |
| 24 | <parent> |
| 25 | <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId> |
| 26 | <artifactId>model-impl</artifactId> |
| 27 | <version>2.0.0-SNAPSHOT</version> |
| 28 | </parent> |
| 29 | |
| 30 | <artifactId>vfc</artifactId> |
| 31 | |
| 32 | <dependencies> |
| 33 | <dependency> |
| 34 | <groupId>junit</groupId> |
| 35 | <artifactId>junit</artifactId> |
| 36 | <scope>test</scope> |
| 37 | </dependency> |
| 38 | <dependency> |
| 39 | <groupId>org.mockito</groupId> |
| 40 | <artifactId>mockito-core</artifactId> |
| 41 | <version>2.13.0</version> |
| 42 | <scope>test</scope> |
| 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>com.google.code.gson</groupId> |
| 46 | <artifactId>gson</artifactId> |
| 47 | <scope>provided</scope> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId> |
| 51 | <artifactId>rest</artifactId> |
| 52 | <version>${project.version}</version> |
| 53 | </dependency> |
| 54 | <dependency> |
Hengye | b150aa8 | 2019-03-25 14:32:21 +0000 | [diff] [blame] | 55 | <groupId>org.onap.policy.common</groupId> |
| 56 | <artifactId>policy-endpoints</artifactId> |
| 57 | <version>${policy.common.version}</version> |
| 58 | <scope>provided</scope> |
| 59 | </dependency> |
Hengye | b150aa8 | 2019-03-25 14:32:21 +0000 | [diff] [blame] | 60 | </dependencies> |
| 61 | <build> |
| 62 | <plugins> |
| 63 | <plugin> |
| 64 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 65 | <executions> |
| 66 | <execution> |
| 67 | <id>onap-java-style</id> |
| 68 | <goals> |
| 69 | <goal>check</goal> |
| 70 | </goals> |
| 71 | <phase>process-sources</phase> |
| 72 | <configuration> |
| 73 | <!-- Use Google Java Style Guide: |
| 74 | https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 75 | with minor changes --> |
| 76 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 77 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory --> |
| 78 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 79 | <includeResources>true</includeResources> |
| 80 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 81 | <includeTestResources>true</includeTestResources> |
| 82 | <excludes> |
| 83 | </excludes> |
| 84 | <consoleOutput>true</consoleOutput> |
| 85 | <failsOnViolation>true</failsOnViolation> |
| 86 | <violationSeverity>warning</violationSeverity> |
| 87 | </configuration> |
| 88 | </execution> |
| 89 | </executions> |
| 90 | <dependencies> |
| 91 | <dependency> |
| 92 | <groupId>org.onap.oparent</groupId> |
| 93 | <artifactId>checkstyle</artifactId> |
| 94 | <version>${oparent.version}</version> |
| 95 | <scope>compile</scope> |
| 96 | </dependency> |
| 97 | </dependencies> |
| 98 | </plugin> |
| 99 | </plugins> |
| 100 | </build> |
| 101 | </project> |