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> |
| 55 | <groupId>org.drools</groupId> |
| 56 | <artifactId>drools-core</artifactId> |
| 57 | <version>6.5.0.Final</version> |
| 58 | <scope>provided</scope> |
| 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>org.onap.policy.common</groupId> |
| 62 | <artifactId>policy-endpoints</artifactId> |
| 63 | <version>${policy.common.version}</version> |
| 64 | <scope>provided</scope> |
| 65 | </dependency> |
| 66 | <dependency> |
| 67 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 68 | <artifactId>policy-management</artifactId> |
| 69 | <version>${policy.drools-pdp.version}</version> |
| 70 | <scope>provided</scope> |
| 71 | </dependency> |
| 72 | </dependencies> |
| 73 | <build> |
| 74 | <plugins> |
| 75 | <plugin> |
| 76 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 77 | <executions> |
| 78 | <execution> |
| 79 | <id>onap-java-style</id> |
| 80 | <goals> |
| 81 | <goal>check</goal> |
| 82 | </goals> |
| 83 | <phase>process-sources</phase> |
| 84 | <configuration> |
| 85 | <!-- Use Google Java Style Guide: |
| 86 | https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 87 | with minor changes --> |
| 88 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 89 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory --> |
| 90 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 91 | <includeResources>true</includeResources> |
| 92 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 93 | <includeTestResources>true</includeTestResources> |
| 94 | <excludes> |
| 95 | </excludes> |
| 96 | <consoleOutput>true</consoleOutput> |
| 97 | <failsOnViolation>true</failsOnViolation> |
| 98 | <violationSeverity>warning</violationSeverity> |
| 99 | </configuration> |
| 100 | </execution> |
| 101 | </executions> |
| 102 | <dependencies> |
| 103 | <dependency> |
| 104 | <groupId>org.onap.oparent</groupId> |
| 105 | <artifactId>checkstyle</artifactId> |
| 106 | <version>${oparent.version}</version> |
| 107 | <scope>compile</scope> |
| 108 | </dependency> |
| 109 | </dependencies> |
| 110 | </plugin> |
| 111 | </plugins> |
| 112 | </build> |
| 113 | </project> |