I import https://github.com/pf4j/pf4j to Eclipse 4.27.0 with M2E plugin installed and got bunch of errors in test folder:
Description Resource Path Location Type
AbstractExtensionFinder cannot be resolved AbstractExtensionFinderTest.java /pf4j/src/test/java/org/pf4j line 260 Java Problem
AbstractExtensionFinder cannot be resolved AbstractExtensionFinderTest.java /pf4j/src/test/java/org/pf4j line 273 Java Problem
AbstractExtensionFinder cannot be resolved to a type AbstractExtensionFinderTest.java /pf4j/src/test/java/org/pf4j line 75 Java Problem
AbstractExtensionFinder cannot be resolved to a type AbstractExtensionFinderTest.java /pf4j/src/test/java/org/pf4j line 97 Java Problem
...
Wherein from cmd the project is compiled by maven without errors and Intellij Idea imports the project without errors. What is the problem with Eclipse?
UPD I see now, that code in src/main/java are shown as folders not packages, and it is strange, because in test folder it is shown as packages as it should be.
UPD Java Build Path / Sources seems is ok.