efegokdemir opened a new pull request, #378: URL: https://github.com/apache/maven-jxr/pull/378
## Summary Fix Maven JXR output for projects that use Java modules. ## Changes - Ignore `module-info.java` when building the package index and source xref pages so it is not reported as a default-package source file. - Detect the module descriptor for each source file and include the module name in generated Javadoc links. - Add a regression test covering the module source layout, default-package entry, and module-aware Javadoc link. Fixes #352. ## Testing - `mvn -pl maven-jxr clean test` - `mvn -Prun-its verify` - `git diff --check` All commands passed on macOS with JDK 21. The test suite completed with 17 Maven JXR tests and all 7 integration-test invocations passing. ## Notes The implementation keeps non-modular projects unchanged and does not add dependencies. AI assistance was used to help prepare the patch; the changes and validation were reviewed before submission. - [x] Your pull request should address just one issue, without pulling in other changes. - [x] Write unit tests that match behavioral changes. - [x] Run `mvn verify` to make sure basic checks pass. - [x] You have run the integration tests successfully (`mvn -Prun-its verify`). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
