Hello,

 

I am trying to import a very simple Java 9 Maven project with Eclipse Oxygen 2 
(bundled with m2eclipse 1.8.2) and I am facing the following issue: Eclipse 
can’t seem to find JUnit classes. It looks like m2eclipse is only relying in 
the module-path to compile src/test/java. 

 

This very simple project is exhibiting that behavior (README.md is containing 
code snippets and a screenshot):

https://github.com/bfreuden/java9-m2e-demo

 

According to these links, I have the impression that my project is correct and 
that Maven compiler plugin is using module-path to compile src/main and 
class-path to compile src/test:

https://stackoverflow.com/a/47148586/4900484

https://stackoverflow.com/questions/41366582/where-should-i-put-unit-tests-when-migrating-a-java-8-project-to-jigsaw#comment69959520_41370766

 

Am I doing something wrong here? 


Thank you for any advice,

 

Best regards,

 

Bruno.
_______________________________________________
m2e-users mailing list
m2e-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to