Skip to content

[all] Dependencies cleanup#2629

Merged
adangel merged 9 commits into
pmd:masterfrom
adangel:dependencies-cleanup
Jul 17, 2020
Merged

[all] Dependencies cleanup#2629
adangel merged 9 commits into
pmd:masterfrom
adangel:dependencies-cleanup

Conversation

@adangel

@adangel adangel commented Jul 2, 2020

Copy link
Copy Markdown
Member

Describe the PR

  • Cleans up most warnings from dependency:analyze.
  • Updates log4j dependency due to GHSA-vwqq-5vrc-xw9h
  • Removes javacc as a compile/runtime dependency - it's now provided only in pmd-core, so that it is available when running javacc via ant.
  • The only unused dependencies now a needed only for test
before
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-core ---
[WARNING] Unused declared dependencies found:
[WARNING]    net.java.dev.javacc:javacc:jar:5.0:provided
[WARNING]    net.sourceforge.saxon:saxon:jar:dom:9.1.0.8:runtime
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-test ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.hamcrest:hamcrest:jar:2.2:compile
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-lang-test ---
[WARNING] Used undeclared dependencies found:
[WARNING]    org.apache.commons:commons-lang3:jar:3.8.1:compile
[WARNING]    com.github.oowekyala.treeutils:tree-printers:jar:2.1.0:compile
[WARNING]    io.kotlintest:kotlintest-assertions:jar:3.1.8:compile
[WARNING]    commons-io:commons-io:jar:2.6:compile
[WARNING]    org.jetbrains.kotlin:kotlin-test:jar:1.3.0:compile
[WARNING]    org.jetbrains:annotations:jar:13.0:compile
[WARNING] Unused declared dependencies found:
[WARNING]    org.hamcrest:hamcrest:jar:2.2:compile
[WARNING]    junit:junit:jar:4.13:compile
[WARNING]    org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.3.0:compile
[WARNING]    org.jetbrains.kotlin:kotlin-test-junit:jar:1.3.0:compile
[WARNING]    io.kotlintest:kotlintest-runner-junit5:jar:3.1.8:compile
[WARNING]    net.sourceforge.pmd:pmd-java:jar:6.12.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-cpp ---
[WARNING] Unused declared dependencies found:
[WARNING]    commons-io:commons-io:jar:2.6:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-cs ---
[WARNING] Used undeclared dependencies found:
[WARNING]    org.antlr:antlr4-runtime:jar:4.7:compile
[WARNING] Unused declared dependencies found:
[WARNING]    commons-io:commons-io:jar:2.6:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-dart ---
[WARNING] Unused declared dependencies found:
[WARNING]    commons-io:commons-io:jar:2.6:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-fortran ---
[WARNING] Unused declared dependencies found:
[WARNING]    commons-io:commons-io:jar:2.6:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-go ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-groovy ---
[WARNING] Unused declared dependencies found:
[WARNING]    commons-io:commons-io:jar:2.6:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-lua ---
[WARNING] Unused declared dependencies found:
[WARNING]    commons-io:commons-io:jar:2.6:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-java ---
[WARNING] Used undeclared dependencies found:
[WARNING]    com.github.oowekyala.treeutils:tree-matchers:jar:2.1.0:test
[WARNING]    com.github.oowekyala.treeutils:tree-printers:jar:2.1.0:test
[WARNING]    io.kotlintest:kotlintest-runner-junit5:jar:3.1.8:test
[WARNING]    io.kotlintest:kotlintest-assertions:jar:3.1.8:test
[WARNING]    com.google.guava:guava:jar:20.0:test
[WARNING]    org.jetbrains.kotlin:kotlin-stdlib:jar:1.3.0:test
[WARNING]    org.jetbrains.kotlin:kotlin-test:jar:1.3.0:test
[WARNING]    io.kotlintest:kotlintest-core:jar:3.1.8:test
[WARNING]    org.jetbrains:annotations:jar:13.0:test
[WARNING] Unused declared dependencies found:
[WARNING]    net.java.dev.javacc:javacc:jar:5.0:provided
[WARNING]    net.sourceforge.saxon:saxon:jar:dom:9.1.0.8:runtime
[WARNING]    org.apache.logging.log4j:log4j-core:jar:2.13.3:test
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-javascript ---
[WARNING] Unused declared dependencies found:
[WARNING]    net.sourceforge.saxon:saxon:jar:9.1.0.8:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-jsp ---
[WARNING] Unused declared dependencies found:
[WARNING]    net.java.dev.javacc:javacc:jar:5.0:provided
[WARNING]    commons-io:commons-io:jar:2.6:compile
[WARNING]    net.sourceforge.saxon:saxon:jar:9.1.0.8:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-visualforce ---
[WARNING] Unused declared dependencies found:
[WARNING]    net.java.dev.javacc:javacc:jar:5.0:provided
[WARNING]    commons-io:commons-io:jar:2.6:compile
[WARNING]    net.sourceforge.saxon:saxon:jar:9.1.0.8:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-kotlin ---
[WARNING] Unused declared dependencies found:
[WARNING]    commons-io:commons-io:jar:2.6:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-matlab ---
[WARNING] Unused declared dependencies found:
[WARNING]    commons-io:commons-io:jar:2.6:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-modelica ---
[WARNING] Used undeclared dependencies found:
[WARNING]    com.github.oowekyala.treeutils:tree-matchers:jar:2.1.0:test
[WARNING]    junit:junit:jar:4.13:test
[WARNING]    com.github.oowekyala.treeutils:tree-printers:jar:2.1.0:test
[WARNING]    org.jetbrains.kotlin:kotlin-stdlib:jar:1.3.0:test
[WARNING]    io.kotlintest:kotlintest-runner-junit5:jar:3.1.8:test
[WARNING]    io.kotlintest:kotlintest-assertions:jar:3.1.8:test
[WARNING]    org.jetbrains.kotlin:kotlin-test:jar:1.3.0:test
[WARNING]    io.kotlintest:kotlintest-core:jar:3.1.8:test
[WARNING]    org.jetbrains:annotations:jar:13.0:test
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-perl ---
[WARNING] Unused declared dependencies found:
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-objectivec ---
[WARNING] Unused declared dependencies found:
[WARNING]    commons-io:commons-io:jar:2.6:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-php ---
[WARNING] Unused declared dependencies found:
[WARNING]    junit:junit:jar:4.13:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-plsql ---
[WARNING] Unused declared dependencies found:
[WARNING]    net.java.dev.javacc:javacc:jar:5.0:provided
[WARNING]    net.sourceforge.saxon:saxon:jar:9.1.0.8:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-python ---
[WARNING] Unused declared dependencies found:
[WARNING]    commons-io:commons-io:jar:2.6:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-ruby ---
[WARNING] Unused declared dependencies found:
[WARNING]    commons-io:commons-io:jar:2.6:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-scala_2.13 ---
[WARNING] Used undeclared dependencies found:
[WARNING]    org.scala-lang:scala-library:jar:2.13.0:compile
[WARNING]    org.apache.commons:commons-lang3:jar:3.8.1:compile
[WARNING]    com.github.oowekyala.treeutils:tree-matchers:jar:2.1.0:test
[WARNING]    com.github.oowekyala.treeutils:tree-printers:jar:2.1.0:test
[WARNING]    org.scalameta:trees_2.13:jar:4.2.0:compile
[WARNING]    io.kotlintest:kotlintest-runner-junit5:jar:3.1.8:test
[WARNING]    io.kotlintest:kotlintest-assertions:jar:3.1.8:test
[WARNING]    org.scalameta:parsers_2.13:jar:4.2.0:compile
[WARNING]    org.jetbrains.kotlin:kotlin-stdlib:jar:1.3.0:test
[WARNING]    commons-io:commons-io:jar:2.6:compile
[WARNING]    org.jetbrains.kotlin:kotlin-test:jar:1.3.0:test
[WARNING]    io.kotlintest:kotlintest-core:jar:3.1.8:test
[WARNING]    org.jetbrains:annotations:jar:13.0:test
[WARNING] Unused declared dependencies found:
[WARNING]    org.scalameta:scalameta_2.13:jar:4.2.0:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-swift ---
[WARNING] Unused declared dependencies found:
[WARNING]    commons-io:commons-io:jar:2.6:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-vm ---
[WARNING] Unused declared dependencies found:
[WARNING]    net.java.dev.javacc:javacc:jar:5.0:provided
[WARNING]    net.sourceforge.saxon:saxon:jar:9.1.0.8:compile
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-xml ---
[WARNING] Unused declared dependencies found:
[WARNING]    net.sourceforge.saxon:saxon:jar:9.1.0.8:compile
[WARNING]    net.sourceforge.saxon:saxon:jar:dom:9.1.0.8:runtime
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-apex ---
[WARNING] Used undeclared dependencies found:
[WARNING]    org.apache.commons:commons-lang3:jar:3.8.1:compile
[WARNING]    org.checkerframework:checker-qual:jar:2.5.2:compile
[WARNING]    org.antlr:antlr-runtime:jar:3.5.2:compile
[WARNING] Unused declared dependencies found:
[WARNING]    net.sourceforge.pmd:pmd-apex-jorje:pom:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.saxon:saxon:jar:9.1.0.8:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-dist ---
[WARNING] Unused declared dependencies found:
[WARNING]    net.sourceforge.pmd:pmd-cpp:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-cs:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-dart:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-fortran:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-go:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-groovy:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-lua:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-java:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-javascript:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-jsp:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-visualforce:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-kotlin:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-matlab:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-modelica:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-perl:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-objectivec:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-php:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-plsql:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-python:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-ruby:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-scala_2.13:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-swift:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-vm:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-xml:jar:6.26.0-SNAPSHOT:compile
[WARNING]    org.hamcrest:hamcrest:jar:2.2:test
[WARNING]    net.sourceforge.pmd:pmd-apex:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-ui:jar:6.24.0:compile
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-scala_2.12 ---
[WARNING] Used undeclared dependencies found:
[WARNING]    org.scala-lang:scala-library:jar:2.12.8:compile
[WARNING]    org.apache.commons:commons-lang3:jar:3.8.1:compile
[WARNING]    com.github.oowekyala.treeutils:tree-matchers:jar:2.1.0:test
[WARNING]    com.github.oowekyala.treeutils:tree-printers:jar:2.1.0:test
[WARNING]    io.kotlintest:kotlintest-runner-junit5:jar:3.1.8:test
[WARNING]    io.kotlintest:kotlintest-assertions:jar:3.1.8:test
[WARNING]    org.scalameta:trees_2.12:jar:4.2.0:compile
[WARNING]    org.scalameta:parsers_2.12:jar:4.2.0:compile
[WARNING]    org.jetbrains.kotlin:kotlin-stdlib:jar:1.3.0:test
[WARNING]    commons-io:commons-io:jar:2.6:compile
[WARNING]    org.jetbrains.kotlin:kotlin-test:jar:1.3.0:test
[WARNING]    io.kotlintest:kotlintest-core:jar:3.1.8:test
[WARNING]    org.jetbrains:annotations:jar:13.0:test
[WARNING] Unused declared dependencies found:
[WARNING]    org.scalameta:scalameta_2.12:jar:4.2.0:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-java8 ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.hamcrest:hamcrest:jar:2.2:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-doc ---
[WARNING] Unused declared dependencies found:
[WARNING]    net.sourceforge.pmd:pmd-dist:jar:6.26.0-SNAPSHOT:runtime
[WARNING]    org.hamcrest:hamcrest:jar:2.2:test
  
after
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-core ---
[WARNING] Unused declared dependencies found:
[WARNING]    net.java.dev.javacc:javacc:jar:5.0:provided
[WARNING]    net.sourceforge.saxon:saxon:jar:dom:9.1.0.8:runtime
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-test ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.hamcrest:hamcrest:jar:2.2:compile
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-lang-test ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.hamcrest:hamcrest:jar:2.2:compile
[WARNING]    junit:junit:jar:4.13:compile
[WARNING]    org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.3.0:compile
[WARNING]    org.jetbrains.kotlin:kotlin-test-junit:jar:1.3.0:compile
[WARNING]    io.kotlintest:kotlintest-runner-junit5:jar:3.1.8:compile
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-cpp ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-cs ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-dart ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-fortran ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-go ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-groovy ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-lua ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-java ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    org.apache.logging.log4j:log4j-core:jar:2.13.3:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-javascript ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-jsp ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-visualforce ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-kotlin ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-matlab ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-modelica ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-perl ---
[WARNING] Unused declared dependencies found:
[WARNING]    junit:junit:jar:4.13:test
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[WARNING]    net.sourceforge.pmd:pmd-lang-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-objectivec ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-php ---
[WARNING] Unused declared dependencies found:
[WARNING]    junit:junit:jar:4.13:test
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[WARNING]    net.sourceforge.pmd:pmd-lang-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-plsql ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-python ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-ruby ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-scala_2.13 ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-swift ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-vm ---
[INFO] No dependency problems found
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-xml ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-apex ---
[WARNING] Unused declared dependencies found:
[WARNING]    net.sourceforge.pmd:pmd-apex-jorje:pom:6.26.0-SNAPSHOT:compile
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-dist ---
[WARNING] Unused declared dependencies found:
[WARNING]    net.sourceforge.pmd:pmd-cpp:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-cs:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-dart:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-fortran:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-go:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-groovy:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-lua:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-java:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-javascript:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-jsp:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-visualforce:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-kotlin:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-matlab:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-modelica:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-perl:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-objectivec:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-php:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-plsql:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-python:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-ruby:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-scala_2.13:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-swift:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-vm:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-xml:jar:6.26.0-SNAPSHOT:compile
[WARNING]    org.hamcrest:hamcrest:jar:2.2:test
[WARNING]    net.sourceforge.pmd:pmd-apex:jar:6.26.0-SNAPSHOT:compile
[WARNING]    net.sourceforge.pmd:pmd-ui:jar:6.24.0:compile
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-scala_2.12 ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-java8 ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.hamcrest:hamcrest:jar:2.2:test
[INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-doc ---
[WARNING] Unused declared dependencies found:
[WARNING]    net.sourceforge.pmd:pmd-dist:jar:6.26.0-SNAPSHOT:runtime
[WARNING]    org.hamcrest:hamcrest:jar:2.2:test
  
diff before/after

--- deps-before.txt	2020-07-02 21:45:20.338561438 +0200
+++ deps-after.txt	2020-07-02 21:39:07.599373690 +0200
@@ -6,40 +6,26 @@
 [WARNING] Unused declared dependencies found:
 [WARNING]    org.hamcrest:hamcrest:jar:2.2:compile
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-lang-test ---
-[WARNING] Used undeclared dependencies found:
-[WARNING]    org.apache.commons:commons-lang3:jar:3.8.1:compile
-[WARNING]    com.github.oowekyala.treeutils:tree-printers:jar:2.1.0:compile
-[WARNING]    io.kotlintest:kotlintest-assertions:jar:3.1.8:compile
-[WARNING]    commons-io:commons-io:jar:2.6:compile
-[WARNING]    org.jetbrains.kotlin:kotlin-test:jar:1.3.0:compile
-[WARNING]    org.jetbrains:annotations:jar:13.0:compile
 [WARNING] Unused declared dependencies found:
 [WARNING]    org.hamcrest:hamcrest:jar:2.2:compile
 [WARNING]    junit:junit:jar:4.13:compile
 [WARNING]    org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.3.0:compile
 [WARNING]    org.jetbrains.kotlin:kotlin-test-junit:jar:1.3.0:compile
 [WARNING]    io.kotlintest:kotlintest-runner-junit5:jar:3.1.8:compile
-[WARNING]    net.sourceforge.pmd:pmd-java:jar:6.12.0:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-cpp ---
 [WARNING] Unused declared dependencies found:
-[WARNING]    commons-io:commons-io:jar:2.6:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-cs ---
-[WARNING] Used undeclared dependencies found:
-[WARNING]    org.antlr:antlr4-runtime:jar:4.7:compile
 [WARNING] Unused declared dependencies found:
-[WARNING]    commons-io:commons-io:jar:2.6:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-dart ---
 [WARNING] Unused declared dependencies found:
-[WARNING]    commons-io:commons-io:jar:2.6:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-fortran ---
 [WARNING] Unused declared dependencies found:
-[WARNING]    commons-io:commons-io:jar:2.6:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-go ---
@@ -47,136 +33,78 @@
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-groovy ---
 [WARNING] Unused declared dependencies found:
-[WARNING]    commons-io:commons-io:jar:2.6:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-lua ---
 [WARNING] Unused declared dependencies found:
-[WARNING]    commons-io:commons-io:jar:2.6:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-java ---
-[WARNING] Used undeclared dependencies found:
-[WARNING]    com.github.oowekyala.treeutils:tree-matchers:jar:2.1.0:test
-[WARNING]    com.github.oowekyala.treeutils:tree-printers:jar:2.1.0:test
-[WARNING]    io.kotlintest:kotlintest-runner-junit5:jar:3.1.8:test
-[WARNING]    io.kotlintest:kotlintest-assertions:jar:3.1.8:test
-[WARNING]    com.google.guava:guava:jar:20.0:test
-[WARNING]    org.jetbrains.kotlin:kotlin-stdlib:jar:1.3.0:test
-[WARNING]    org.jetbrains.kotlin:kotlin-test:jar:1.3.0:test
-[WARNING]    io.kotlintest:kotlintest-core:jar:3.1.8:test
-[WARNING]    org.jetbrains:annotations:jar:13.0:test
 [WARNING] Unused declared dependencies found:
-[WARNING]    net.java.dev.javacc:javacc:jar:5.0:provided
-[WARNING]    net.sourceforge.saxon:saxon:jar:dom:9.1.0.8:runtime
-[WARNING]    org.apache.logging.log4j:log4j-core:jar:2.13.3:test
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
+[WARNING]    org.apache.logging.log4j:log4j-core:jar:2.13.3:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-javascript ---
 [WARNING] Unused declared dependencies found:
-[WARNING]    net.sourceforge.saxon:saxon:jar:9.1.0.8:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-jsp ---
 [WARNING] Unused declared dependencies found:
-[WARNING]    net.java.dev.javacc:javacc:jar:5.0:provided
-[WARNING]    commons-io:commons-io:jar:2.6:compile
-[WARNING]    net.sourceforge.saxon:saxon:jar:9.1.0.8:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-visualforce ---
 [WARNING] Unused declared dependencies found:
-[WARNING]    net.java.dev.javacc:javacc:jar:5.0:provided
-[WARNING]    commons-io:commons-io:jar:2.6:compile
-[WARNING]    net.sourceforge.saxon:saxon:jar:9.1.0.8:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-kotlin ---
 [WARNING] Unused declared dependencies found:
-[WARNING]    commons-io:commons-io:jar:2.6:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-matlab ---
 [WARNING] Unused declared dependencies found:
-[WARNING]    commons-io:commons-io:jar:2.6:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-modelica ---
-[WARNING] Used undeclared dependencies found:
-[WARNING]    com.github.oowekyala.treeutils:tree-matchers:jar:2.1.0:test
-[WARNING]    junit:junit:jar:4.13:test
-[WARNING]    com.github.oowekyala.treeutils:tree-printers:jar:2.1.0:test
-[WARNING]    org.jetbrains.kotlin:kotlin-stdlib:jar:1.3.0:test
-[WARNING]    io.kotlintest:kotlintest-runner-junit5:jar:3.1.8:test
-[WARNING]    io.kotlintest:kotlintest-assertions:jar:3.1.8:test
-[WARNING]    org.jetbrains.kotlin:kotlin-test:jar:1.3.0:test
-[WARNING]    io.kotlintest:kotlintest-core:jar:3.1.8:test
-[WARNING]    org.jetbrains:annotations:jar:13.0:test
 [WARNING] Unused declared dependencies found:
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-perl ---
 [WARNING] Unused declared dependencies found:
+[WARNING]    junit:junit:jar:4.13:test
+[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
+[WARNING]    net.sourceforge.pmd:pmd-lang-test:jar:6.26.0-SNAPSHOT:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-objectivec ---
 [WARNING] Unused declared dependencies found:
-[WARNING]    commons-io:commons-io:jar:2.6:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-php ---
 [WARNING] Unused declared dependencies found:
 [WARNING]    junit:junit:jar:4.13:test
+[WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
+[WARNING]    net.sourceforge.pmd:pmd-lang-test:jar:6.26.0-SNAPSHOT:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-plsql ---
 [WARNING] Unused declared dependencies found:
-[WARNING]    net.java.dev.javacc:javacc:jar:5.0:provided
-[WARNING]    net.sourceforge.saxon:saxon:jar:9.1.0.8:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-python ---
 [WARNING] Unused declared dependencies found:
-[WARNING]    commons-io:commons-io:jar:2.6:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-ruby ---
 [WARNING] Unused declared dependencies found:
-[WARNING]    commons-io:commons-io:jar:2.6:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-scala_2.13 ---
-[WARNING] Used undeclared dependencies found:
-[WARNING]    org.scala-lang:scala-library:jar:2.13.0:compile
-[WARNING]    org.apache.commons:commons-lang3:jar:3.8.1:compile
-[WARNING]    com.github.oowekyala.treeutils:tree-matchers:jar:2.1.0:test
-[WARNING]    com.github.oowekyala.treeutils:tree-printers:jar:2.1.0:test
-[WARNING]    org.scalameta:trees_2.13:jar:4.2.0:compile
-[WARNING]    io.kotlintest:kotlintest-runner-junit5:jar:3.1.8:test
-[WARNING]    io.kotlintest:kotlintest-assertions:jar:3.1.8:test
-[WARNING]    org.scalameta:parsers_2.13:jar:4.2.0:compile
-[WARNING]    org.jetbrains.kotlin:kotlin-stdlib:jar:1.3.0:test
-[WARNING]    commons-io:commons-io:jar:2.6:compile
-[WARNING]    org.jetbrains.kotlin:kotlin-test:jar:1.3.0:test
-[WARNING]    io.kotlintest:kotlintest-core:jar:3.1.8:test
-[WARNING]    org.jetbrains:annotations:jar:13.0:test
 [WARNING] Unused declared dependencies found:
-[WARNING]    org.scalameta:scalameta_2.13:jar:4.2.0:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-swift ---
 [WARNING] Unused declared dependencies found:
-[WARNING]    commons-io:commons-io:jar:2.6:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [WARNING]    net.sourceforge.pmd:pmd-test:jar:6.26.0-SNAPSHOT:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-vm ---
-[WARNING] Unused declared dependencies found:
-[WARNING]    net.java.dev.javacc:javacc:jar:5.0:provided
-[WARNING]    net.sourceforge.saxon:saxon:jar:9.1.0.8:compile
+[INFO] No dependency problems found
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-xml ---
 [WARNING] Unused declared dependencies found:
-[WARNING]    net.sourceforge.saxon:saxon:jar:9.1.0.8:compile
-[WARNING]    net.sourceforge.saxon:saxon:jar:dom:9.1.0.8:runtime
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-apex ---
-[WARNING] Used undeclared dependencies found:
-[WARNING]    org.apache.commons:commons-lang3:jar:3.8.1:compile
-[WARNING]    org.checkerframework:checker-qual:jar:2.5.2:compile
-[WARNING]    org.antlr:antlr-runtime:jar:3.5.2:compile
 [WARNING] Unused declared dependencies found:
 [WARNING]    net.sourceforge.pmd:pmd-apex-jorje:pom:6.26.0-SNAPSHOT:compile
-[WARNING]    net.sourceforge.saxon:saxon:jar:9.1.0.8:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-dist ---
 [WARNING] Unused declared dependencies found:
@@ -208,22 +136,7 @@
 [WARNING]    net.sourceforge.pmd:pmd-apex:jar:6.26.0-SNAPSHOT:compile
 [WARNING]    net.sourceforge.pmd:pmd-ui:jar:6.24.0:compile
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-scala_2.12 ---
-[WARNING] Used undeclared dependencies found:
-[WARNING]    org.scala-lang:scala-library:jar:2.12.8:compile
-[WARNING]    org.apache.commons:commons-lang3:jar:3.8.1:compile
-[WARNING]    com.github.oowekyala.treeutils:tree-matchers:jar:2.1.0:test
-[WARNING]    com.github.oowekyala.treeutils:tree-printers:jar:2.1.0:test
-[WARNING]    io.kotlintest:kotlintest-runner-junit5:jar:3.1.8:test
-[WARNING]    io.kotlintest:kotlintest-assertions:jar:3.1.8:test
-[WARNING]    org.scalameta:trees_2.12:jar:4.2.0:compile
-[WARNING]    org.scalameta:parsers_2.12:jar:4.2.0:compile
-[WARNING]    org.jetbrains.kotlin:kotlin-stdlib:jar:1.3.0:test
-[WARNING]    commons-io:commons-io:jar:2.6:compile
-[WARNING]    org.jetbrains.kotlin:kotlin-test:jar:1.3.0:test
-[WARNING]    io.kotlintest:kotlintest-core:jar:3.1.8:test
-[WARNING]    org.jetbrains:annotations:jar:13.0:test
 [WARNING] Unused declared dependencies found:
-[WARNING]    org.scalameta:scalameta_2.12:jar:4.2.0:compile
 [WARNING]    org.junit.vintage:junit-vintage-engine:jar:5.5.0:test
 [INFO] --- maven-dependency-plugin:3.1.3-SNAPSHOT:analyze (default-cli) @ pmd-java8 ---
 [WARNING] Unused declared dependencies found:

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by travis)
  • Added (in-code) documentation (if needed)

@adangel adangel added the dependencies Pull requests that update a dependency file label Jul 2, 2020
@adangel adangel added this to the 6.26.0 milestone Jul 2, 2020
@ghost

ghost commented Jul 2, 2020

Copy link
Copy Markdown
1 Message
📖 No java rules are changed!

Generated by 🚫 Danger

oowekyala added 2 commits July 6, 2020 13:25
This is for the scala modules. Apparently
in the other order, only kotlin tests are
run.
@oowekyala

oowekyala commented Jul 6, 2020

Copy link
Copy Markdown
Member

I changed the scala pom because only the kotlin tests were being run:

https://travis-ci.org/github/pmd/pmd/jobs/704446241#L6166-L6174

Only 2 other modules use both kotlin and java tests, for pmd-java both kinds were run, not so for pmd-modelica:

Edit: after the change, all tests are properly run:

@KroArtem KroArtem left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some dependencies that were purged. It's worth mentioning in Release notes because sometimes people rely on undeclared but used dependencies (like PMD does ;)) and it could be a surprise for them.

I don't count it as a review, just some remarks.

Comment thread pom.xml
Comment thread pmd-java/pom.xml
@adangel adangel mentioned this pull request Jul 16, 2020
6 tasks
Comment thread pmd-modelica/pom.xml
@adangel adangel changed the title Dependencies cleanup [all] Dependencies cleanup Jul 17, 2020
adangel added a commit that referenced this pull request Jul 17, 2020
[all] Dependencies cleanup #2629
@adangel adangel merged commit 96998ff into pmd:master Jul 17, 2020
@adangel adangel deleted the dependencies-cleanup branch July 17, 2020 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[core] Review used dependencies

3 participants