diff --git a/pom.xml b/pom.xml
index 754cfaaf..abb658ed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -198,7 +198,7 @@ under the License.
9.4.51.v20230217
2.0.0-M7
- 2.0.0-M11
+ 2.0.0-M12
3.5.3
1.7.36
@@ -209,7 +209,7 @@ under the License.
3.4.5
3.0.0
3.9.0
- 4.0.0-M9
+ 4.0.0-M10
2.0.0-M6
3.1.2
2023-07-07T19:06:32Z
@@ -225,7 +225,7 @@ under the License.
org.apache.maven.reporting
maven-reporting-exec
- 2.0.0-M9
+ 2.0.0-M10
org.apache.maven.shared
@@ -286,7 +286,7 @@ under the License.
org.apache.maven
maven-archiver
- 3.6.0
+ 3.6.1
@@ -410,7 +410,7 @@ under the License.
org.apache.commons
commons-lang3
- 3.12.0
+ 3.13.0
@@ -488,7 +488,7 @@ under the License.
commons-io
commons-io
- 2.11.0
+ 2.14.0
test
diff --git a/src/main/java/org/apache/maven/plugins/site/descriptor/EffectiveSiteMojo.java b/src/main/java/org/apache/maven/plugins/site/descriptor/EffectiveSiteMojo.java
index a85bd369..5566b837 100644
--- a/src/main/java/org/apache/maven/plugins/site/descriptor/EffectiveSiteMojo.java
+++ b/src/main/java/org/apache/maven/plugins/site/descriptor/EffectiveSiteMojo.java
@@ -137,7 +137,10 @@ private void writeEffectiveSite(SiteModel siteModel, XMLWriter writer) throws Mo
}
effectiveSite = sWriter.toString();
- effectiveSite = effectiveSite.substring(effectiveSite.indexOf("", xmlPrologStart);
+ effectiveSite = effectiveSite.substring(xmlPrologEnd + 2).trim();
writeComment(writer, "Effective site descriptor for project \'" + project.getId() + "\'");