exasol / error-code-crawler-maven-plugin

Validator and crawler for exasol-error-codes in Java code
MIT License
1 stars 1 forks source link

Add support for Java modules #91

Closed kaklakariada closed 1 year ago

kaklakariada commented 1 year ago

In https://github.com/exasol/error-code-crawler-maven-plugin/issues/85 we added support for empty module-info.java files. But when the module contains requires directives, crawling fails with the following error:

jakarta.json cannot be resolved to a module at $HOME/git/small-json-files-test-fixture/src/main/java/module-info.java:7 

A solution could be configuring the module path for the Spoon parser as described here: https://github.com/INRIA/spoon/issues/5324#issuecomment-1621859573