[scala] Refactor project structure

* Avoid using symlinks, this is very difficult to get working
  under Windows
* Provide names for the different scala modules
* Rename pmd-scala to pmd-scala-common
* Restore main module pmd-scala for backwards compatibility
This commit is contained in:
Andreas Dangel
2020-06-07 11:51:10 +02:00
parent 06e2da0653
commit abc230c637
179 changed files with 119 additions and 67 deletions

View File

@ -51,7 +51,7 @@ abstract class BaseTreeDumpTest(
// Outputting a path makes for better error messages // Outputting a path makes for better error messages
private val srcTestResources = let { private val srcTestResources = let {
// this is set from maven surefire // this is set from maven surefire - see parent pom.xml configuration for surefire (systemPropertyVariables)
System.getProperty("mvn.project.src.test.resources") System.getProperty("mvn.project.src.test.resources")
?.let { Paths.get(it).toAbsolutePath() } ?.let { Paths.get(it).toAbsolutePath() }
// that's for when the tests are run inside the IDE // that's for when the tests are run inside the IDE

View File

@ -0,0 +1,8 @@
# pmd-scala-common
Contains shared code for the pmd-scala_2.12 and pmd-scala_2.13 modules.
It is not a module in itself, since it needs to be used while cross-compiling
with a specific scala version.
It should be source compatible with the oldest scala version we are supporting.

Some files were not shown because too many files have changed in this diff Show More