In my multi-module project, I created module-info.java only for few modules. And during compilation with maven-compiler-plugin:3.7.0 I\'m getting n
I got that warning when in my module-info.java file I added a class from my module itself, I had to do this in order to debug my testfile in netbeans, but it is clearly wrong since it is not a module..
module net.my.package.xy
{
requires java.logging;
requires java.naming;
requires javax.jms.api;
//THAT GENERATES THE WARNING:
exports net.my.package.xy.MyClass;
}