From d8d3aa0af74cde14b863829c8b6b11221ad69e5b Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sun, 7 Jun 2020 12:24:54 +0200 Subject: [PATCH] [scala] Introduce parent pom pmd-scala-common --- pmd-scala-modules/pmd-scala-common/pom.xml | 107 +++++++++++++++++++++ pmd-scala-modules/pmd-scala_2.12/pom.xml | 79 +-------------- pmd-scala-modules/pmd-scala_2.13/pom.xml | 79 +-------------- pom.xml | 3 +- 4 files changed, 113 insertions(+), 155 deletions(-) create mode 100644 pmd-scala-modules/pmd-scala-common/pom.xml diff --git a/pmd-scala-modules/pmd-scala-common/pom.xml b/pmd-scala-modules/pmd-scala-common/pom.xml new file mode 100644 index 0000000000..773337090e --- /dev/null +++ b/pmd-scala-modules/pmd-scala-common/pom.xml @@ -0,0 +1,107 @@ + + + 4.0.0 + PMD Scala Common Source and Settings + pmd-scala-common + pom + + + net.sourceforge.pmd + pmd + 6.25.0-SNAPSHOT + ../.. + + + + 4.2.0 + + + + ../pmd-scala-common/src/main/java + + + ../pmd-scala-common/src/main/resources + + + ../pmd-scala-common/src/test/java + + + ../pmd-scala-common/src/test/resources + + + + + + + maven-resources-plugin + + false + + ${*} + + + + + + kotlin-maven-plugin + org.jetbrains.kotlin + + + compile + + compile + + + + ../pmd-scala-common/src/main/kotlin + ../pmd-scala-common/src/main/java + + + + + test-compile + + test-compile + + + + ../pmd-scala-common/src/test/kotlin + ../pmd-scala-common/src/test/java + + + + + + + + + + + + net.sourceforge.pmd + pmd-core + + + + junit + junit + test + + + org.junit.vintage + junit-vintage-engine + test + + + net.sourceforge.pmd + pmd-test + test + + + net.sourceforge.pmd + pmd-lang-test + test + + + diff --git a/pmd-scala-modules/pmd-scala_2.12/pom.xml b/pmd-scala-modules/pmd-scala_2.12/pom.xml index 8930224f8e..220974c6e1 100644 --- a/pmd-scala-modules/pmd-scala_2.12/pom.xml +++ b/pmd-scala-modules/pmd-scala_2.12/pom.xml @@ -7,70 +7,20 @@ net.sourceforge.pmd - pmd + pmd-scala-common 6.25.0-SNAPSHOT - ../.. + ../pmd-scala-common 2.12 - 4.2.0 - ../pmd-scala-common/src/main/java - - - ../pmd-scala-common/src/main/resources - - - ../pmd-scala-common/src/test/java - - - ../pmd-scala-common/src/test/resources - - - - - maven-resources-plugin - - false - - ${*} - - - - kotlin-maven-plugin org.jetbrains.kotlin - - - compile - - compile - - - - ../pmd-scala-common/src/main/kotlin - ../pmd-scala-common/src/main/java - - - - - test-compile - - test-compile - - - - ../pmd-scala-common/src/test/kotlin - ../pmd-scala-common/src/test/java - - - - @@ -81,30 +31,5 @@ scalameta_${scalaVersion} ${scalameta.version} - - net.sourceforge.pmd - pmd-core - - - - junit - junit - test - - - org.junit.vintage - junit-vintage-engine - test - - - net.sourceforge.pmd - pmd-test - test - - - net.sourceforge.pmd - pmd-lang-test - test - diff --git a/pmd-scala-modules/pmd-scala_2.13/pom.xml b/pmd-scala-modules/pmd-scala_2.13/pom.xml index 1214bb25d7..b314beda49 100644 --- a/pmd-scala-modules/pmd-scala_2.13/pom.xml +++ b/pmd-scala-modules/pmd-scala_2.13/pom.xml @@ -7,70 +7,20 @@ net.sourceforge.pmd - pmd + pmd-scala-common 6.25.0-SNAPSHOT - ../.. + ../pmd-scala-common 2.13 - 4.2.0 - ../pmd-scala-common/src/main/java - - - ../pmd-scala-common/src/main/resources - - - ../pmd-scala-common/src/test/java - - - ../pmd-scala-common/src/test/resources - - - - - maven-resources-plugin - - false - - ${*} - - - - kotlin-maven-plugin org.jetbrains.kotlin - - - compile - - compile - - - - ../pmd-scala-common/src/main/kotlin - ../pmd-scala-common/src/main/java - - - - - test-compile - - test-compile - - - - ../pmd-scala-common/src/test/kotlin - ../pmd-scala-common/src/test/java - - - - @@ -81,30 +31,5 @@ scalameta_${scalaVersion} ${scalameta.version} - - net.sourceforge.pmd - pmd-core - - - - junit - junit - test - - - org.junit.vintage - junit-vintage-engine - test - - - net.sourceforge.pmd - pmd-test - test - - - net.sourceforge.pmd - pmd-lang-test - test - diff --git a/pom.xml b/pom.xml index 8793ac0b89..062f361a90 100644 --- a/pom.xml +++ b/pom.xml @@ -1030,7 +1030,8 @@ pmd-plsql pmd-python pmd-ruby - pmd-scala + pmd-scala + pmd-scala-modules/pmd-scala-common pmd-scala-modules/pmd-scala_2.13 pmd-scala-modules/pmd-scala_2.12 pmd-swift