Skip to content

Fix stale links and examples in site documentation - #207

Merged
slachiewicz merged 1 commit into
masterfrom
agent/sweep-plexus-io-docs
Nov 18, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/sweep-plexus-io-docs

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Why: The file-selector page described selectors as file mappers, linked apidocs without .html, and used FileExtensionMapper in a <fileSelector> example. Links to plexus.codehaus.org and jakarta.apache.org/commons/io are dead; a commented FAQ menu item has no page behind it.

Area: site docs only (src/site).

Changes:

  • fileselectors.md: "File mappers" -> "File selectors"; add .html to the IncludeExcludeFileSelector apidocs link; example class -> IncludeExcludeFileSelector; Plexus Archiver link -> current codehaus-plexus.github.io URL.
  • index.md: Commons IO -> https://commons.apache.org/proper/commons-io/; Plexus Utils and Plexus Component API -> current codehaus-plexus.github.io URLs.
  • site.xml: remove the commented FAQ menu stub.
  • All replacement URLs checked with curl -L and returned HTTP 200.

Verification (JDK 21):

  • JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-21.jdk/Contents/Home mvn -B -o spotless:apply — BUILD SUCCESS (0 files changed)
  • JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-21.jdk/Contents/Home mvn -B -o spotless:check — BUILD SUCCESS
  • JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-21.jdk/Contents/Home mvn -B -o test — BUILD SUCCESS, Tests run: 64, Failures: 0, Errors: 0, Skipped: 0

Why: The file-selector page mislabeled selectors as file mappers, linked an apidocs page without the .html suffix and showed a FileExtensionMapper in a fileSelector example. Several links still pointed at retired plexus.codehaus.org/jakarta.apache.org hosts, and the navigation had a commented-out FAQ entry with no page behind it.
@slachiewicz slachiewicz added the documentation Improvements or additions to documentation label Nov 18, 2026
@slachiewicz
slachiewicz merged commit ddda6cb into master Nov 18, 2026
14 checks passed
@slachiewicz
slachiewicz deleted the agent/sweep-plexus-io-docs branch November 18, 2026 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant