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