[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:
@ -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
|
||||||
|
8
pmd-scala-modules/pmd-scala-common/README.md
Normal file
8
pmd-scala-modules/pmd-scala-common/README.md
Normal 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
Reference in New Issue
Block a user