Skip to content

Support multi-module builds with multiple versions of the same dependency in javadoc:aggregate, avoiding compile errors - #1328

Open
JackPGreen wants to merge 2 commits into
apache:masterfrom
JackPGreen:multi-module-cross-dependency-fix
Open

Support multi-module builds with multiple versions of the same dependency in javadoc:aggregate, avoiding compile errors#1328
JackPGreen wants to merge 2 commits into
apache:masterfrom
JackPGreen:multi-module-cross-dependency-fix

Conversation

@JackPGreen

Copy link
Copy Markdown
Contributor

The dependency tree was being pruned - in case of multiple versions of the same dependency, only the latest version was retained.

However, this is unnecessary and can cause compile errors - instead, all of the dependencies should be added to the classpath of javadoc.

Fixes #1327

@JackPGreen JackPGreen changed the title Support multiple versions of the same dependency in javadoc:aggregate, avoiding compile errors Support multi-module builds with multiple versions of the same dependency in javadoc:aggregate, avoiding compile errors Jun 3, 2026
@JackPGreen
JackPGreen force-pushed the multi-module-cross-dependency-fix branch from ac64f8a to 12ce063 Compare June 4, 2026 08:58
@slachiewicz slachiewicz added the bug Something isn't working label Jun 7, 2026
@JackPGreen

Copy link
Copy Markdown
Contributor Author

I've raised multiple (unrelated) PRs and all of the verify jobs have failed with the same error in MJAVADOC-427 integration test in the ubuntu-latest jdk-17-zulu 3.9.16 environment - I suspect there's an issue with the test itself.

@JackPGreen

Copy link
Copy Markdown
Contributor Author

@slachiewicz are you able to help with the next steps of getting this merged, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

javadoc:aggregate fails with compile errors when multi-module project uses different version of the same dependency

2 participants