Upgrade embedded pmd-designer to 6.19.0

Also fix integration test with the additional
language "text".
This commit is contained in:
Andreas Dangel
2019-10-27 18:11:16 +01:00
parent 078863e36e
commit 2d4b01dca2
3 changed files with 14 additions and 7 deletions

View File

@@ -14,6 +14,17 @@ This is a {{ site.pmd.release_type }} release.
### New and noteworthy
#### Updated PMD Designer
This PMD release ships a new version of the pmd-designer.
For the changes, see [PMD Designer Changelog](https://github.com/pmd/pmd-designer/releases/tag/6.19.0).
#### Java Metrics
* The new metric "Class Fan Out Complexity" has been added. See
[Java Metrics Documentation](pmd_java_metrics_index.html#class-fan-out-complexity-class_fan_out) for details.
#### Modified Rules
* The Java rules {% rule "java/errorprone/InvalidSlf4jMessageFormat" %} and {% rule "java/errorprone/MoreThanOneLogger" %}
@@ -34,11 +45,6 @@ This is a {{ site.pmd.release_type }} release.
usages of `Executors` and `ExecutorService`. Both create new threads, which are not managed by a J2EE
server.
#### Java Metrics
* The new metric "Class Fan Out Complexity" has been added. See
[Java Metrics Documentation](pmd_java_metrics_index.html#class-fan-out-complexity-class_fan_out) for details.
### Fixed Issues
* core

View File

@@ -95,7 +95,8 @@ public class BinaryDistributionIT {
ExecutionResult result;
result = PMDExecutor.runPMD(tempDir, "-h");
result.assertExecutionResult(0, "apex, ecmascript, java, jsp, plsql, pom, scala, vf, vm, wsdl, xml, xsl");
// note: the language "text" is provided by pmd-designer
result.assertExecutionResult(0, "apex, ecmascript, java, jsp, plsql, pom, scala, text, vf, vm, wsdl, xml, xsl");
result = PMDExecutor.runPMDRules(tempDir, srcDir, "src/test/resources/rulesets/sample-ruleset.xml");
result.assertExecutionResult(4, "JumbledIncrementer.java:8:");

View File

@@ -106,7 +106,7 @@ Objective-C, Perl, PHP, PLSQL, Python, Ruby, Salesforce.com Apex, Scala, Swift a
<pmd.build-tools.version>5</pmd.build-tools.version>
<pmd-designer.version>6.17.0</pmd-designer.version>
<pmd-designer.version>6.19.0</pmd-designer.version>
</properties>
<build>