|
| 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> |
| 23 | + <modelVersion>4.0.0</modelVersion> |
| 24 | + |
| 25 | + <groupId>org.apache.maven.plugins.pmd.it</groupId> |
| 26 | + <artifactId>MPMD-283-aggregated-pmd</artifactId> |
| 27 | + <version>1.0-SNAPSHOT</version> |
| 28 | + <packaging>pom</packaging> |
| 29 | + |
| 30 | + <properties> |
| 31 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 32 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 33 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 34 | + </properties> |
| 35 | + |
| 36 | + <modules> |
| 37 | + <module>module-a</module> |
| 38 | + <module>module-b</module> |
| 39 | + </modules> |
| 40 | + |
| 41 | + <build> |
| 42 | + <pluginManagement> |
| 43 | + <plugins> |
| 44 | + <plugin> |
| 45 | + <groupId>org.apache.maven.plugins</groupId> |
| 46 | + <artifactId>maven-site-plugin</artifactId> |
| 47 | + <version>@sitePluginVersion@</version> |
| 48 | + </plugin> |
| 49 | + </plugins> |
| 50 | + </pluginManagement> |
| 51 | + <plugins> |
| 52 | + <plugin> |
| 53 | + <groupId>@project.groupId@</groupId> |
| 54 | + <artifactId>@project.artifactId@</artifactId> |
| 55 | + <version>@project.version@</version> |
| 56 | + <configuration> |
| 57 | + <typeResolution>true</typeResolution> |
| 58 | + <failurePriority>1</failurePriority> |
| 59 | + <linkXRef>false</linkXRef> |
| 60 | + <rulesets> |
| 61 | + <ruleset>ruleset.xml</ruleset> |
| 62 | + </rulesets> |
| 63 | + </configuration> |
| 64 | + <executions> |
| 65 | + <execution> |
| 66 | + <inherited>false</inherited> <!-- don't run aggregate in child modules --> |
| 67 | + <goals> |
| 68 | + <goal>aggregate-pmd-check</goal> |
| 69 | + <goal>aggregate-cpd-check</goal> |
| 70 | + </goals> |
| 71 | + </execution> |
| 72 | + </executions> |
| 73 | + </plugin> |
| 74 | + </plugins> |
| 75 | + </build> |
| 76 | + |
| 77 | + <reporting> |
| 78 | + <plugins> |
| 79 | + <plugin> |
| 80 | + <groupId>@project.groupId@</groupId> |
| 81 | + <artifactId>@project.artifactId@</artifactId> |
| 82 | + <version>@project.version@</version> |
| 83 | + <configuration> |
| 84 | + <typeResolution>true</typeResolution> |
| 85 | + <rulesets> |
| 86 | + <ruleset>ruleset.xml</ruleset> |
| 87 | + </rulesets> |
| 88 | + <skipEmptyReport>false</skipEmptyReport> |
| 89 | + <linkXRef>false</linkXRef> |
| 90 | + </configuration> |
| 91 | + <reportSets> |
| 92 | + <reportSet><!-- default reportSet - this is empty to prevent creating reports in child modules --> |
| 93 | + <reports></reports> |
| 94 | + </reportSet> |
| 95 | + <reportSet><!-- aggregate reportSet, to define in poms having modules --> |
| 96 | + <id>aggregate</id> |
| 97 | + <inherited>false</inherited> <!-- don't run aggregate in child modules --> |
| 98 | + <reports> |
| 99 | + <report>aggregate-pmd</report> |
| 100 | + <report>aggregate-cpd</report> |
| 101 | + </reports> |
| 102 | + </reportSet> |
| 103 | + </reportSets> |
| 104 | + </plugin> |
| 105 | + </plugins> |
| 106 | + </reporting> |
| 107 | +</project> |
0 commit comments