You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "gnodet (via GitHub)" <gi...@apache.org> on 2026/05/21 21:10:08 UTC

Re: [PR] docs: fix broken reference links [maven]

gnodet commented on code in PR #11692:
URL: https://github.com/apache/maven/pull/11692#discussion_r3284358139


##########
pom.xml:
##########
@@ -139,7 +139,7 @@ under the License.
     <distributionId>apache-maven</distributionId>
     <distributionShortName>Maven</distributionShortName>
     <distributionName>Apache Maven</distributionName>
-    <maven.site.path>ref/4-LATEST</maven.site.path>
+    <maven.site.path>ref/4.0.0</maven.site.path>

Review Comment:
   This change should not be made. `4-LATEST` is the correct value — it's an intentional alias that always resolves to the latest 4.x release docs on the Maven site.
   
   You can verify:
   - https://maven.apache.org/ref/4-LATEST/ → HTTP 200 ✓
   - https://maven.apache.org/ref/4.0.0/ → HTTP 404 ✗
   
   Additionally, `master` is currently on `4.1.0-SNAPSHOT`, so hardcoding `4.0.0` would be doubly wrong.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org