Find package declarations that do not match their directory
ProprietaryMarks a package declaration that disagrees with the directory its source file sits in, so the class is not where its name says and javac -sourcepath cannot find it. Each package name needs its own directory: com/acme matches com.acme, a directory named com.acme does not. Only files under src/<source set>/java are checked, skipping generated sources, resources fixtures and archetype templates.
io. moderne. staticanalysis. FindPackageNotMatchingDirectorymod run . --recipe= io. moderne. staticanalysis. FindPackageNotMatchingDirectoryInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.