Skip to content

ci: javadoc.sh builds the whole reactor though only core's javadoc is published #1107

Closed

Description

@nikagra

docs/_utils/javadoc.sh runs mvn install -DskipTests and then mvn javadoc:javadoc across the full reactor, compiling and javadoc'ing query-builder, mapper-runtime, mapper-processor, test-infra, integration-tests, examples and the OSGi modules. The script then publishes only core's output.

The publish repeats this for every version in BRANCHES, currently 16.

Fix: -pl core -am on both invocations. Worth confirming the generated core javadoc is byte-identical first, since the aggregate run can affect <links> resolution.

Refs: https://scylladb.atlassian.net/browse/DRIVER-1086

Jira: https://scylladb.atlassian.net/browse/DRIVER-1093

Activity

  1. nikagra commented on Sep 17, 2026

    @nikagra
    Author

    This is no longer only a build-time cost — as of scylla-4.x it is a correctness bug. coverage-report declares a compile dependency on java-driver-integration-tests, whose pom sets maven-install-plugin <skip>true</skip>, so mvn javadoc:javadoc over the full reactor cannot resolve it and javadoc.sh exits 1 before copying anything. Details and reproduction in #1111.

    The -pl core change proposed here fixes both, and is verified on scylla-4.x under JDK 11: BUILD SUCCESS, 728 files in core/target/reports/apidocs. It now blocks #1079.

  2. dkropachev commented on Nov 9, 2026

    @dkropachev

    Resolved by #1118 and #1138, merged into scylla-4.x. Javadoc generation and prerequisite installation are both restricted to the published core, query-builder and mapper-runtime modules (plus required build dependencies), removing the unrelated full-reactor work. Closing as completed.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions