diff --git a/pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/codestyle/xml/MethodNamingConventions.xml b/pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/codestyle/xml/MethodNamingConventions.xml index fcda99cba6..0a1798e969 100644 --- a/pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/codestyle/xml/MethodNamingConventions.xml +++ b/pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/codestyle/xml/MethodNamingConventions.xml @@ -68,8 +68,8 @@ public class Foo { #1573 method names should not contain underscores, but skip test methods 1 - 0 true + 0 #1573 method names should not contain underscores, but skip test methods 2 - 0 true + 0 #1573 method names should not contain underscores, but skip test methods 3 - 1 false + 1 - net.sourceforge.pmd pmd-lang-test @@ -149,6 +148,12 @@ junit test + + org.junit.vintage + junit-vintage-engine + test + + com.github.stefanbirkner system-rules diff --git a/pmd-lang-test/pom.xml b/pmd-lang-test/pom.xml index 571bd56477..6eb89bf533 100644 --- a/pmd-lang-test/pom.xml +++ b/pmd-lang-test/pom.xml @@ -43,42 +43,43 @@ - - - junit - junit - - net.sourceforge.pmd pmd-core + + + junit + junit + compile + + org.jetbrains.kotlin kotlin-stdlib - ${kotlin.version} compile org.jetbrains.kotlin kotlin-stdlib-jdk8 - ${kotlin.version} compile org.jetbrains.kotlin kotlin-test-junit - ${kotlin.version} compile io.kotlintest kotlintest-runner-junit5 - 3.1.8 compile @@ -93,7 +94,7 @@ net.sourceforge.pmd pmd-java - 6.9.0 + 6.12.0 test diff --git a/pmd-test/pom.xml b/pmd-test/pom.xml index 42542d6a1e..81e1ec7bb3 100644 --- a/pmd-test/pom.xml +++ b/pmd-test/pom.xml @@ -15,6 +15,8 @@ junit junit + + compile net.sourceforge.pmd diff --git a/pom.xml b/pom.xml index 5c27108f1f..fa827d176a 100644 --- a/pom.xml +++ b/pom.xml @@ -269,7 +269,7 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code 5.0 - 2.22.0 + 2.22.1 3.0.0 3.11.0 1.10.1 @@ -436,27 +436,7 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code once alphabetical - ${project.basedir}/src/test/java - ${project.basedir}/src/test/kotlin - - - - - - - org.junit.platform - junit-platform-surefire-provider - 1.2.0 - - - - - org.junit.vintage - junit-vintage-engine - 5.3.0-M1 - - org.codehaus.mojo @@ -830,11 +810,6 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code pmd-core ${project.version} - - net.sourceforge.pmd - pmd-test - ${project.version} - net.sourceforge.saxon saxon @@ -851,21 +826,6 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code rhino 1.7.7.2 - - junit - junit - 4.12 - - - org.hamcrest - hamcrest-library - 1.3 - - - pl.pragmatists - JUnitParams - 1.1.1 - net.java.dev.javacc javacc @@ -919,7 +879,12 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code - + + net.sourceforge.pmd + pmd-test + ${project.version} + test + net.sourceforge.pmd @@ -928,8 +893,48 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code test - + + junit + junit + 4.12 + test + + + org.hamcrest + hamcrest-library + 1.3 + test + + + pl.pragmatists + JUnitParams + 1.1.1 + test + + + + org.junit.jupiter + junit-jupiter-api + 5.4.0 + test + + + org.junit.jupiter + junit-jupiter-engine + 5.4.0 + test + + + + + org.junit.vintage + junit-vintage-engine + 5.4.0 + test + + + org.jetbrains.kotlin kotlin-stdlib @@ -957,7 +962,6 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code 3.1.8 test -