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
>
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.