Closed kaklakariada closed 1 year ago
A possible solution could be using the MavenLauncher, see https://spoon.gforge.inria.fr/launcher.html
Proposal: Close ticket as "won't fix".
Rationale:
Using MavenLauncher is not possible because it does not allow configuring a custom source path and always uses the default Maven source folders.
Please note that module resolution still fails. This must be solved upstream in Spoon: https://github.com/INRIA/spoon/issues/5324
Crawling a project with a
module-info.java
file fails with the following error message:The issue seems to be caused by the test code because deleting all test classes results in a different error message:
Workaround
Exclude tests from crawling:
Example projects: