Update checkstyle to 8.29

See https://github.com/checkstyle/checkstyle/security/advisories/GHSA-763g-fqq7-48wg

Note: this also requires a new pmd-build-tools with
an updated checkstyle configuration
This commit is contained in:
Andreas Dangel
2020-02-04 20:24:16 +01:00
parent d115ca59f7
commit 470358ec88
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/**
/*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
// stolen from XPath Explorer (http://www.xpathexplorer.com)

View File

@ -44,13 +44,13 @@ public class TreeExportCli {
private String language = LanguageRegistry.getDefaultLanguage().getTerseName();
@Parameter(names = { "--encoding", "-e" }, description = "Encoding of the source file.")
private String encoding = StandardCharsets.UTF_8.name();
@DynamicParameter(names = {"-P"}, description = "Properties for the renderer.")
@DynamicParameter(names = "-P", description = "Properties for the renderer.")
private Map<String, String> properties = new HashMap<>();
@Parameter(names = { "--help", "-h" }, description = "Display usage.", help = true)
private boolean help;
@Parameter(names = { "--file" }, description = "The file to dump")
@Parameter(names = "--file", description = "The file to dump")
private String file;
@Parameter(names = { "--read-stdin", "-i" }, description = "Read source from standard input")

View File

@ -92,7 +92,7 @@
<javacc.version>5.0</javacc.version>
<surefire.version>2.22.1</surefire.version>
<checkstyle.version>3.0.0</checkstyle.version>
<checkstyle.version>3.1.0</checkstyle.version>
<pmd.plugin.version>3.12.0</pmd.plugin.version>
<ant.version>1.10.1</ant.version>
<javadoc.plugin.version>3.1.1</javadoc.plugin.version>
@ -104,7 +104,7 @@
<argLine>-Xmx512m -Dfile.encoding=${project.build.sourceEncoding}</argLine>
<pmd.build-tools.version>5</pmd.build-tools.version>
<pmd.build-tools.version>6-SNAPSHOT</pmd.build-tools.version>
<pmd-designer.version>6.21.0</pmd-designer.version>
</properties>
@ -305,7 +305,7 @@
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>8.18</version>
<version>8.29</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>