|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | + |
| 3 | +<!-- |
| 4 | +Licensed to the Apache Software Foundation (ASF) under one |
| 5 | +or more contributor license agreements. See the NOTICE file |
| 6 | +distributed with this work for additional information |
| 7 | +regarding copyright ownership. The ASF licenses this file |
| 8 | +to you under the Apache License, Version 2.0 (the |
| 9 | +"License"); you may not use this file except in compliance |
| 10 | +with the License. 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, |
| 15 | +software distributed under the License is distributed on an |
| 16 | +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 17 | +KIND, either express or implied. See the License for the |
| 18 | +specific language governing permissions and limitations |
| 19 | +under the License. |
| 20 | +--> |
| 21 | + |
| 22 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 23 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 24 | + <modelVersion>4.0.0</modelVersion> |
| 25 | + <groupId>org.apache.maven.plugins.pmd.it</groupId> |
| 26 | + <artifactId>empty-rulests</artifactId> |
| 27 | + <version>1.0-SNAPSHOT</version> |
| 28 | + <name>my-app</name> |
| 29 | + |
| 30 | + <properties> |
| 31 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 32 | + </properties> |
| 33 | + |
| 34 | + <build> |
| 35 | + <pluginManagement> |
| 36 | + <plugins> |
| 37 | + <plugin> |
| 38 | + <groupId>org.apache.maven.plugins</groupId> |
| 39 | + <artifactId>maven-compiler-plugin</artifactId> |
| 40 | + <version>3.8.0</version> |
| 41 | + <configuration> |
| 42 | + <target>13</target> |
| 43 | + <source>13</source> |
| 44 | + </configuration> |
| 45 | + </plugin> |
| 46 | + </plugins> |
| 47 | + </pluginManagement> |
| 48 | + <plugins> |
| 49 | + <plugin> |
| 50 | + <groupId>org.apache.maven.plugins</groupId> |
| 51 | + <artifactId>maven-pmd-plugin</artifactId> |
| 52 | + <version>@project.version@</version> |
| 53 | + <configuration> |
| 54 | + <skipPmdError>false</skipPmdError> |
| 55 | + <skip>false</skip> |
| 56 | + <failOnViolation>true</failOnViolation> |
| 57 | + <failurePriority>4</failurePriority> |
| 58 | + <targetJdk>13</targetJdk> |
| 59 | + <sourceEncoding>UTF-8</sourceEncoding> |
| 60 | + <minimumTokens>100</minimumTokens> |
| 61 | + <excludes> |
| 62 | + <exclude>**/*Bean.java</exclude> |
| 63 | + <exclude>**/generated/*.java</exclude> |
| 64 | + </excludes> |
| 65 | + <excludeRoots> |
| 66 | + <excludeRoot>target/generated-sources/stubs</excludeRoot> |
| 67 | + </excludeRoots> |
| 68 | + <rulesets/> |
| 69 | + </configuration> |
| 70 | + <executions> |
| 71 | + <execution> |
| 72 | + <id>default</id> |
| 73 | + <phase>verify</phase> |
| 74 | + <goals> |
| 75 | + <goal>check</goal> |
| 76 | + </goals> |
| 77 | + </execution> |
| 78 | + </executions> |
| 79 | + </plugin> |
| 80 | + </plugins> |
| 81 | + </build> |
| 82 | +</project> |
0 commit comments