| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <project> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <groupId>org.apache.maven.plugins.pmd.it</groupId> |
| <artifactId>MPMD-283-aggregated-pmd</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <maven.compiler.source>1.8</maven.compiler.source> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| </properties> |
| |
| <modules> |
| <module>module-a</module> |
| <module>module-b</module> |
| </modules> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>@sitePluginVersion@</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>@project.groupId@</groupId> |
| <artifactId>@project.artifactId@</artifactId> |
| <version>@project.version@</version> |
| <configuration> |
| <typeResolution>true</typeResolution> |
| <failurePriority>1</failurePriority> |
| <linkXRef>false</linkXRef> |
| <rulesets> |
| <ruleset>ruleset.xml</ruleset> |
| </rulesets> |
| </configuration> |
| <executions> |
| <execution> |
| <inherited>false</inherited> <!-- don't run aggregate in child modules --> |
| <goals> |
| <goal>aggregate-pmd-check</goal> |
| <goal>aggregate-cpd-check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>@project.groupId@</groupId> |
| <artifactId>@project.artifactId@</artifactId> |
| <version>@project.version@</version> |
| <configuration> |
| <typeResolution>true</typeResolution> |
| <rulesets> |
| <ruleset>ruleset.xml</ruleset> |
| </rulesets> |
| <skipEmptyReport>false</skipEmptyReport> |
| <linkXRef>false</linkXRef> |
| </configuration> |
| <reportSets> |
| <reportSet><!-- default reportSet - this is empty to prevent creating reports in child modules --> |
| <reports></reports> |
| </reportSet> |
| <reportSet><!-- aggregate reportSet, to define in poms having modules --> |
| <id>aggregate</id> |
| <inherited>false</inherited> <!-- don't run aggregate in child modules --> |
| <reports> |
| <report>aggregate-pmd</report> |
| <report>aggregate-cpd</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| </plugins> |
| </reporting> |
| </project> |