Skip to content

Correct inherited module website URLs and Search Console indexing failures #868

Closed

Description

@bbottema

Maven Central's Project URL for child modules inherits the parent website URL and appends repository paths such as https://www.simplejavamail.org/modules/cli-module/. Those paths do not exist on the public documentation website.

Google Search Console reports the CLI URL as forbidden (403), and three other generated module URLs as missing (authenticated-socks-module, simple-java-mail, and jacoco-aggregator-module). The current private S3/CloudFront configuration returns a 403 for missing objects while serving an HTML homepage redirect.

Fix the public project URLs in the module POMs for future releases, retain permanent redirects for existing published artifact links, and return an actual 404 page for unknown website paths. Normalize alternate host/index URLs to the existing HTTPS www canonicals.

Separately, the current site's /docs.html and /smtp-connection-pooling.html are absent from Google's index. Submit indexing requests and the canonical HTTPS sitemap.

The user authorized the maintenance on 26 October 2026. Publish all website source changes in one validated push to the live website repository's develop branch. Preserve unreleased 10.0.0 content and concurrent Java changes; do not trigger a library release.

Activity

  1. bbottema commented on Oct 26, 2026

    @bbottema
    OwnerAuthor

    The live 9.x website fixes are deployed.

    • Published the 404 page and non-indexable error metadata in website commit c88bb32.
    • Permanent redirects now cover all 12 inherited Maven module paths, the apex host, and /index.html. Query encoding and repeated values survive redirects. Unknown paths return HTTP 404 with the new error page.
    • Added explicit URLs to all 12 module POMs on the maintained 9.x develop branch in 089b806d8. These metadata corrections will reach Maven Central with the next release; no library release was triggered.
    • The HTTPS sitemap was submitted.

    Google's direct indexing requests for /docs.html and /smtp-connection-pooling.html failed because the reCAPTCHA service could not connect. Both pages are included in the submitted sitemap. Direct requests may need a manual retry; indexing status will update after Google's recrawl.

  2. added this to the 9.3.9 milestone on Oct 26, 2026
  3. bbottema commented on Oct 26, 2026

    @bbottema
    OwnerAuthor

    The Maven metadata correction is now published in 9.3.9. All module project URLs point to the existing documentation pages, completing the release-dependent part of this fix.

    The live website redirects, canonical URLs, actual 404 responses, and submitted sitemap were already deployed as described above. Google's index will update on recrawl; the optional direct indexing requests can still be retried manually. I'm closing this now that the metadata is released.

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions