This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch pr/4.0.x/align-doc-directories
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 85800c4565fa47dbc1440a73c8139560c43b1a19
Author: HervĂ© Boutemy <[email protected]>
AuthorDate: Sun Nov 16 09:23:15 2025 +0100

    adapt documentatiion directories
    
    after #1837
---
 compat/pom.xml              |  5 +++++
 impl/pom.xml                |  4 ++++
 src/graph/ReactorGraph.java |  4 ++--
 src/site/site.xml           | 10 +++++-----
 4 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/compat/pom.xml b/compat/pom.xml
index 3032d65a4d..654d233ae1 100644
--- a/compat/pom.xml
+++ b/compat/pom.xml
@@ -45,4 +45,9 @@ under the License.
     <module>maven-toolchain-model</module>
     <module>maven-toolchain-builder</module>
   </modules>
+
+  <properties>
+    <project.directory>compat</project.directory>
+  </properties>
+
 </project>
diff --git a/impl/pom.xml b/impl/pom.xml
index a7cc8f02bd..be588d1746 100644
--- a/impl/pom.xml
+++ b/impl/pom.xml
@@ -42,4 +42,8 @@ under the License.
     <module>maven-testing</module>
     <module>maven-executor</module>
   </modules>
+
+  <properties>
+    <project.directory>impl</project.directory>
+  </properties>
 </project>
diff --git a/src/graph/ReactorGraph.java b/src/graph/ReactorGraph.java
index 693f4b1dc2..eb82a19ce3 100755
--- a/src/graph/ReactorGraph.java
+++ b/src/graph/ReactorGraph.java
@@ -198,8 +198,8 @@ private static MutableGraph 
generateHighLevelGraph(MutableGraph clusteredGraph,
                         String prefix = null;
                         switch (clusterName) {
                             case "MavenAPI": prefix = "../api/"; break;
-                            case "MavenImplementation": prefix = 
"../maven-impl-modules/"; break;
-                            case "MavenCompatibility": prefix = 
"../maven-compat-modules/"; break;
+                            case "MavenImplementation": prefix = "../impl/"; 
break;
+                            case "MavenCompatibility": prefix = "../compat/"; 
break;
                             case "MavenResolver": prefix = 
"https://maven.apache.org/resolver/";; break;
                         }
                         if (prefix != null) {
diff --git a/src/site/site.xml b/src/site/site.xml
index d5643feb9a..fcafc94293 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -55,11 +55,11 @@ under the License.
     </menu>
 
     <menu inherit="bottom" name="Reference">
-      <item name="Lifecycles" href="./maven-core/lifecycles.html"/>
-      <item name="Plugin Bindings to Default Lifecycle" 
href="./maven-core/default-bindings.html"/>
-      <item name="Artifact Handlers" 
href="./maven-core/artifact-handlers.html"/>
-      <item name="CLI options" href="./maven-embedder/cli.html"/>
-      <item name="Super POM" href="./maven-model-builder/super-pom.html"/>
+      <item name="Lifecycles" href="./impl/maven-core/lifecycles.html"/>
+      <item name="Plugin Bindings to Default Lifecycle" 
href="./impl/maven-core/default-bindings.html"/>
+      <item name="Artifact Handlers" 
href="./impl/maven-core/artifact-handlers.html"/>
+      <item name="CLI options" href="./compat/maven-embedder/cli.html"/>
+      <item name="Super POM" 
href="./compat/maven-model-builder/super-pom.html"/>
     </menu>
 
     <menu inherit="bottom" name="Development">

Reply via email to