Skip to content

Commit 40f1259

Browse files
author
Vincent Potucek
committed
[POC-FIX-PMD] maven-pmd-plugin: reactivate PMD - UnusedPrivateMethod
1 parent 321a3b2 commit 40f1259

File tree

3 files changed

+1
-189
lines changed

3 files changed

+1
-189
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@
1616
.factorypath
1717
.vscode/
1818
repo/
19-
/*.svg
20-
/**/.cache
19+
/*.svg

.pmd/exclude.properties

Lines changed: 0 additions & 154 deletions
This file was deleted.

pom.xml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -799,36 +799,17 @@ under the License.</licenseText>
799799
<plugin>
800800
<groupId>org.apache.maven.plugins</groupId>
801801
<artifactId>maven-pmd-plugin</artifactId>
802-
<configuration>
803-
<analysisCache>true</analysisCache>
804-
<excludeFromFailureFile>.pmd/exclude.properties</excludeFromFailureFile>
805-
<printFailingErrors>true</printFailingErrors>
806-
</configuration>
807802
<dependencies>
808803
<dependency>
809804
<groupId>net.sourceforge.pmd</groupId>
810805
<artifactId>pmd-core</artifactId>
811806
<version>7.12.0</version>
812807
</dependency>
813808
</dependencies>
814-
<executions>
815-
<execution>
816-
<id>maven-pmd-plugin</id>
817-
<goals>
818-
<goal>check</goal>
819-
</goals>
820-
<phase>verify</phase>
821-
</execution>
822-
</executions>
823809
</plugin>
824810
</plugins>
825811
</pluginManagement>
826812
<plugins>
827-
<!-- why profile not working? -->
828-
<plugin>
829-
<groupId>org.apache.maven.plugins</groupId>
830-
<artifactId>maven-pmd-plugin</artifactId>
831-
</plugin>
832813
<plugin>
833814
<groupId>io.github.olamy.maven.plugins</groupId>
834815
<artifactId>jacoco-aggregator-maven-plugin</artifactId>
@@ -1189,19 +1170,5 @@ under the License.</licenseText>
11891170
</plugins>
11901171
</build>
11911172
</profile>
1192-
<profile>
1193-
<id>pmd</id>
1194-
<activation>
1195-
<activeByDefault>true</activeByDefault>
1196-
</activation>
1197-
<build>
1198-
<plugins>
1199-
<plugin>
1200-
<groupId>org.apache.maven.plugins</groupId>
1201-
<artifactId>maven-pmd-plugin</artifactId>
1202-
</plugin>
1203-
</plugins>
1204-
</build>
1205-
</profile>
12061173
</profiles>
12071174
</project>

0 commit comments

Comments
 (0)