What does “Required filename-based automodules detected.” warning mean?

后端 未结 4 1955
鱼传尺愫
鱼传尺愫 2020-12-08 21:15

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

4条回答
  •  天命终不由人
    2020-12-08 21:49

    With the maven-compiler-plugin v3.7.0 it's an informational message. Not sure why you see it as a warning...

    Here's what I get when I build my Java 10 based project with a module-info.java:

    [INFO] Required filename-based automodules detected. Please don't publish this project to a public artifact repository!
    

提交回复
热议问题