Skip to content

Commit

Permalink
Merge pull request #443 from gradle/atual/fix-pmd
Browse files Browse the repository at this point in the history
Fix PMD Maven plugin caching sample
  • Loading branch information
alextu authored Aug 26, 2022
2 parents b68fb52 + 85258a6 commit cd6f7f3
Showing 1 changed file with 63 additions and 3 deletions.
66 changes: 63 additions & 3 deletions build-caching-maven-samples/pmd-project/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.17.0</version>
<version>3.18.0</version>
<configuration>
<format>txt</format>
<benchmark>true</benchmark>
Expand Down Expand Up @@ -68,7 +68,7 @@
<property><name>linkXRef</name></property>
<property><name>includeTests</name></property>
<property><name>aggregate</name></property>
<property><name>sourceEncoding</name></property>
<property><name>inputEncoding</name></property>
<property><name>includeXmlInSite</name></property>
<property><name>skipEmptyReport</name></property>
<property><name>jdkToolchain</name></property>
Expand Down Expand Up @@ -118,6 +118,36 @@
<ignore>analysisCacheLocation</ignore>
</ignoredProperties>
</inputs>
<nestedProperties>
<property>
<name>localRepository</name>
<inputs>
<properties>
<property>
<name>id</name>
</property>
<property>
<name>url</name>
</property>
</properties>
</inputs>
</property>
</nestedProperties>
<iteratedProperties>
<property>
<name>remoteRepositories</name>
<inputs>
<properties>
<property>
<name>id</name>
</property>
<property>
<name>url</name>
</property>
</properties>
</inputs>
</property>
</iteratedProperties>
<outputs>
<!-- There's no single property for each output file, so we must compose the path.
These will need to be updated if <targetDirectory> is updated. -->
Expand Down Expand Up @@ -166,7 +196,7 @@
<property><name>linkXRef</name></property>
<property><name>includeTests</name></property>
<property><name>aggregate</name></property>
<property><name>sourceEncoding</name></property>
<property><name>inputEncoding</name></property>
<property><name>includeXmlInSite</name></property>
<property><name>skipEmptyReport</name></property>
<property><name>language</name></property>
Expand Down Expand Up @@ -204,6 +234,36 @@
<ignore>targetDirectory</ignore>
</ignoredProperties>
</inputs>
<nestedProperties>
<property>
<name>localRepository</name>
<inputs>
<properties>
<property>
<name>id</name>
</property>
<property>
<name>url</name>
</property>
</properties>
</inputs>
</property>
</nestedProperties>
<iteratedProperties>
<property>
<name>remoteRepositories</name>
<inputs>
<properties>
<property>
<name>id</name>
</property>
<property>
<name>url</name>
</property>
</properties>
</inputs>
</property>
</iteratedProperties>
<outputs>
<!-- There's no single property for each output file, so we must compose the path.
These will need to be updated if <targetDirectory> is updated. -->
Expand Down

0 comments on commit cd6f7f3

Please sign in to comment.