Skip to content

Commit 086b8e1

Browse files
committed
Use same checkstyle config as pmd/pmd does
1 parent 2a913ff commit 086b8e1

File tree

5 files changed

+42
-416
lines changed

5 files changed

+42
-416
lines changed

net.sourceforge.pmd.eclipse.plugin.test.fragment/pom.xml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -12,36 +12,4 @@
1212
<artifactId>net.sourceforge.pmd.eclipse.plugin.test.fragment</artifactId>
1313
<packaging>eclipse-plugin</packaging>
1414

15-
<build>
16-
<plugins>
17-
<plugin>
18-
<groupId>org.apache.maven.plugins</groupId>
19-
<artifactId>maven-checkstyle-plugin</artifactId>
20-
<version>3.0.0</version>
21-
<executions>
22-
<execution>
23-
<id>checkstyle-check</id>
24-
<phase>verify</phase>
25-
<goals>
26-
<goal>check</goal>
27-
</goals>
28-
</execution>
29-
</executions>
30-
<dependencies>
31-
<dependency>
32-
<groupId>com.puppycrawl.tools</groupId>
33-
<artifactId>checkstyle</artifactId>
34-
<version>8.8</version>
35-
</dependency>
36-
</dependencies>
37-
<configuration>
38-
<configLocation>${basedir}/../pmd-checkstyle-config.xml</configLocation>
39-
<includeTestSourceDirectory>true</includeTestSourceDirectory>
40-
<sourceDirectories>
41-
<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
42-
</sourceDirectories>
43-
</configuration>
44-
</plugin>
45-
</plugins>
46-
</build>
4715
</project>

net.sourceforge.pmd.eclipse.plugin.test/pom.xml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -36,34 +36,6 @@
3636
</dependency-resolution>
3737
</configuration>
3838
</plugin>
39-
<plugin>
40-
<groupId>org.apache.maven.plugins</groupId>
41-
<artifactId>maven-checkstyle-plugin</artifactId>
42-
<version>3.0.0</version>
43-
<executions>
44-
<execution>
45-
<id>checkstyle-check</id>
46-
<phase>verify</phase>
47-
<goals>
48-
<goal>check</goal>
49-
</goals>
50-
</execution>
51-
</executions>
52-
<dependencies>
53-
<dependency>
54-
<groupId>com.puppycrawl.tools</groupId>
55-
<artifactId>checkstyle</artifactId>
56-
<version>8.8</version>
57-
</dependency>
58-
</dependencies>
59-
<configuration>
60-
<configLocation>${basedir}/../pmd-checkstyle-config.xml</configLocation>
61-
<includeTestSourceDirectory>true</includeTestSourceDirectory>
62-
<sourceDirectories>
63-
<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
64-
</sourceDirectories>
65-
</configuration>
66-
</plugin>
6739
</plugins>
6840
</build>
6941

net.sourceforge.pmd.eclipse.plugin/pom.xml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -82,34 +82,6 @@
8282
</execution>
8383
</executions>
8484
</plugin>
85-
<plugin>
86-
<groupId>org.apache.maven.plugins</groupId>
87-
<artifactId>maven-checkstyle-plugin</artifactId>
88-
<version>3.0.0</version>
89-
<executions>
90-
<execution>
91-
<id>checkstyle-check</id>
92-
<phase>verify</phase>
93-
<goals>
94-
<goal>check</goal>
95-
</goals>
96-
</execution>
97-
</executions>
98-
<dependencies>
99-
<dependency>
100-
<groupId>com.puppycrawl.tools</groupId>
101-
<artifactId>checkstyle</artifactId>
102-
<version>8.8</version>
103-
</dependency>
104-
</dependencies>
105-
<configuration>
106-
<configLocation>${basedir}/../pmd-checkstyle-config.xml</configLocation>
107-
<includeTestSourceDirectory>true</includeTestSourceDirectory>
108-
<sourceDirectories>
109-
<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
110-
</sourceDirectories>
111-
</configuration>
112-
</plugin>
11385
</plugins>
11486
<pluginManagement>
11587
<plugins>

0 commit comments

Comments
 (0)