Maven, javadoc : No source files for package

前端 未结 2 1779
北恋
北恋 2021-01-14 08:34

I\'m writing a maven package with directory structure

frtex
   pom.xml
frtex/src/main/java/some-files.java
frtex/src/main/java/utils/some-other-files.java
         


        
2条回答
  •  抹茶落季
    2021-01-14 08:46

    The problem is not in your maven configuration.

    You need to include a package-info.java for the utils package.

    It is a file located at src/main/java/utils/package-info.java that will contain the javadoc for the package, in contrast to the javadoc for a class.

    For more information about package-level javadocs, you can read the documentation.

提交回复
热议问题