Skip to content

Fix broken reference links in site.xml for Maven 4.x#11617

Merged
elharo merged 1 commit intoapache:masterfrom
achyuth8055:fix-maven4-reference-links-404
Feb 5, 2026
Merged

Fix broken reference links in site.xml for Maven 4.x#11617
elharo merged 1 commit intoapache:masterfrom
achyuth8055:fix-maven4-reference-links-404

Conversation

@achyuth8055
Copy link
Contributor

The Reference menu links were pointing to outdated paths (impl/ and compat/) that do not exist on the deployed Maven 4 reference site, resulting in 404 errors.

This PR updates the Reference menu URLs to match the current deployed site structure (maven-impl-modules/ and maven-compat-modules), fixing navigation for Lifecycles, Plugin Bindings, Artifact Handlers, CLI options, and Super POM.

Related to #2502.
2026-01-04_23-18-24
2026-01-04_23-18-21

The Reference menu links were using incorrect paths (impl/ and compat/)
instead of the deployed site structure (maven-impl-modules/ and
maven-compat-modules/), causing 404 errors on the production site.

Fixed URLs:
- Lifecycles: ./maven-impl-modules/maven-core/lifecycles.html
- Plugin Bindings: ./maven-impl-modules/maven-core/default-bindings.html
- Artifact Handlers: ./maven-impl-modules/maven-core/artifact-handlers.html
- CLI options: ./maven-compat-modules/maven-embedder/cli.html
- Super POM: ./maven-compat-modules/maven-model-builder/super-pom.html
Copilot AI review requested due to automatic review settings January 5, 2026 05:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes broken reference menu links in the Maven site navigation by updating paths from outdated directory names (impl/ and compat/) to the current deployed site structure (maven-impl-modules/ and maven-compat-modules/). The changes address 404 errors reported in issue #2502 for the Maven 4.0.0-rc-4 reference documentation.

  • Updates all five reference menu links to use correct module paths
  • Changes from impl/maven-core/* to maven-impl-modules/maven-core/* for Lifecycles, Plugin Bindings, and Artifact Handlers
  • Changes from compat/* to maven-compat-modules/* for CLI options and Super POM

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@Pankraz76 Pankraz76 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the effort and screenshot.

@elharo elharo merged commit 33c2223 into apache:master Feb 5, 2026
45 of 48 checks passed
@github-actions github-actions bot added this to the 4.1.0 milestone Feb 5, 2026
@github-actions
Copy link

github-actions bot commented Feb 5, 2026

@elharo Please assign appropriate label to PR according to the type of change.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments