Skip to content

Commit d8d0804

Browse files
committed
Add support for String delimiters #76.
Bump PMD core from 6.29.0 to 6.36.0. Fix rule set.
1 parent b4b9a6b commit d8d0804

10 files changed

Lines changed: 505 additions & 148 deletions

File tree

pom.xml

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@
172172
<checkstyle.resourceExcludes>LICENSE.txt, NOTICE.txt, **/maven-archiver/pom.properties</checkstyle.resourceExcludes>
173173

174174
<commons.pmd.version>3.14.0</commons.pmd.version>
175+
<commons.pmd-impl.version>6.36.0</commons.pmd-impl.version>
175176
<commons.jacoco.version>0.8.7</commons.jacoco.version>
176177
<commons.spotbugs.version>4.2.3</commons.spotbugs.version>
177178
<commons.japicmp.version>0.15.3</commons.japicmp.version>
@@ -203,6 +204,30 @@
203204
</dependency>
204205
</dependencies>
205206
</plugin>
207+
<plugin>
208+
<groupId>org.apache.maven.plugins</groupId>
209+
<artifactId>maven-pmd-plugin</artifactId>
210+
<version>${commons.pmd.version}</version>
211+
<dependencies>
212+
<dependency>
213+
<groupId>net.sourceforge.pmd</groupId>
214+
<artifactId>pmd-core</artifactId>
215+
<version>${commons.pmd-impl.version}</version>
216+
</dependency>
217+
<dependency>
218+
<groupId>net.sourceforge.pmd</groupId>
219+
<artifactId>pmd-java</artifactId>
220+
<version>${commons.pmd-impl.version}</version>
221+
</dependency>
222+
</dependencies>
223+
<configuration>
224+
<targetJdk>${maven.compiler.target}</targetJdk>
225+
<skipEmptyReport>false</skipEmptyReport>
226+
<rulesets>
227+
<ruleset>${basedir}/src/site/resources/pmd/pmd-ruleset.xml</ruleset>
228+
</rulesets>
229+
</configuration>
230+
</plugin>
206231
</plugins>
207232
</pluginManagement>
208233
<plugins>
@@ -250,15 +275,6 @@
250275
<plugin>
251276
<groupId>org.apache.maven.plugins</groupId>
252277
<artifactId>maven-pmd-plugin</artifactId>
253-
<version>${commons.pmd.version}</version>
254-
<configuration>
255-
<targetJdk>${maven.compiler.target}</targetJdk>
256-
<skipEmptyReport>false</skipEmptyReport>
257-
<analysisCache>true</analysisCache>
258-
<rulesets>
259-
<ruleset>${basedir}/src/site/resources/pmd/pmd-ruleset.xml</ruleset>
260-
</rulesets>
261-
</configuration>
262278
</plugin>
263279

264280
<!-- We need to add our test data files to rat exclusions -->
@@ -322,15 +338,6 @@
322338
<plugin>
323339
<groupId>org.apache.maven.plugins</groupId>
324340
<artifactId>maven-pmd-plugin</artifactId>
325-
<version>${commons.pmd.version}</version>
326-
<configuration>
327-
<targetJdk>${maven.compiler.target}</targetJdk>
328-
<skipEmptyReport>false</skipEmptyReport>
329-
<analysisCache>true</analysisCache>
330-
<rulesets>
331-
<ruleset>${basedir}/src/site/resources/pmd/pmd-ruleset.xml</ruleset>
332-
</rulesets>
333-
</configuration>
334341
</plugin>
335342
<plugin>
336343
<groupId>org.codehaus.mojo</groupId>

src/changes/changes.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
<action issue="CSV-184" type="add" dev="ggregory" due-to="Gaurav Agarwal, M. Steiger, Gary Gregory">Make the method CSVRecord.putIn(Map) public.</action>
6666
<action type="add" dev="ggregory" due-to="dota17">Add test cases for CSVRecord with get(Enum) and toString. #54.</action>
6767
<action type="add" dev="ggregory" due-to="Gary Gregory, dota17">Add and use CSVFormat.Builder, deprecated CSVFormat#with methods, based on #73.</action>
68+
<action issue="CSV-206" type="add" dev="ggregory" due-to="Gary Gregory, dota17">Add support for String delimiters #76.</action>
6869
<!-- UPDATE -->
6970
<action type="update" dev="ggregory" due-to="Gary Gregory">Update org.junit.jupiter:junit-jupiter from 5.6.0 to 5.7.0, #84 #109</action>
7071
<action type="update" dev="ggregory" due-to="Gary Gregory">Update tests from Apache Commons Lang 3.9 to 3.12.0.</action>
@@ -84,6 +85,7 @@
8485
<action type="update" dev="ggregory" due-to="Dependabot">Bump commons.spotbugs.version from 4.0.4 to 4.2.3 (Java 16).</action>
8586
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump commons.javadoc.version from 3.2.0 to 3.3.0.</action>
8687
<action type="update" dev="ggregory" due-to="Dependabot">Bump jmh-generator-annprocess from 1.5.2 to 1.32 #151.</action>
88+
<action type="update" dev="ggregory" due-to="Dependabot">Bump PMD core from 6.29.0 to 6.36.0.</action>
8789
</release>
8890
<release version="1.8" date="2020-02-01" description="Feature and bug fix release (Java 8).
8991

0 commit comments

Comments
 (0)