Skip to content

Commit

Permalink
[MSITE-980] Upgrade plugins and components (in ITs)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed Oct 3, 2023
1 parent d7992c9 commit 2a0790b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ under the License.
<!-- for dependencies -->
<jettyVersion>9.4.51.v20230217</jettyVersion>
<doxiaVersion>2.0.0-M7</doxiaVersion>
<doxiaSitetoolsVersion>2.0.0-M11</doxiaSitetoolsVersion>
<doxiaSitetoolsVersion>2.0.0-M12</doxiaSitetoolsVersion>
<wagonVersion>3.5.3</wagonVersion>
<slf4jVersion>1.7.36</slf4jVersion>
<!-- for ITs -->
Expand All @@ -209,7 +209,7 @@ under the License.
<projectInfoReportsPluginVersion>3.4.5</projectInfoReportsPluginVersion>
<surefirePluginVersion>3.0.0</surefirePluginVersion>
<mavenPluginPluginVersion>3.9.0</mavenPluginPluginVersion>
<mavenReportingImplVersion>4.0.0-M9</mavenReportingImplVersion>
<mavenReportingImplVersion>4.0.0-M10</mavenReportingImplVersion>
<testingFluidoSkinVersion>2.0.0-M6</testingFluidoSkinVersion>
<surefire.version>3.1.2</surefire.version>
<project.build.outputTimestamp>2023-07-07T19:06:32Z</project.build.outputTimestamp>
Expand All @@ -225,7 +225,7 @@ under the License.
<dependency>
<groupId>org.apache.maven.reporting</groupId>
<artifactId>maven-reporting-exec</artifactId>
<version>2.0.0-M9</version>
<version>2.0.0-M10</version>
</dependency>
<dependency>
<groupId>org.apache.maven.shared</groupId>
Expand Down Expand Up @@ -286,7 +286,7 @@ under the License.
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-archiver</artifactId>
<version>3.6.0</version>
<version>3.6.1</version>
</dependency>

<!-- dependencies to annotations -->
Expand Down Expand Up @@ -410,7 +410,7 @@ under the License.
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.12.0</version>
<version>3.13.0</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -488,7 +488,7 @@ under the License.
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.11.0</version>
<version>2.14.0</version>
<scope>test</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@ private void writeEffectiveSite(SiteModel siteModel, XMLWriter writer) throws Mo
}

effectiveSite = sWriter.toString();
effectiveSite = effectiveSite.substring(effectiveSite.indexOf("<project ")); // remove "<?xml" header
// remove XML prolog
int xmlPrologStart = effectiveSite.indexOf("<?xml");
int xmlPrologEnd = effectiveSite.indexOf("?>", xmlPrologStart);
effectiveSite = effectiveSite.substring(xmlPrologEnd + 2).trim();

writeComment(writer, "Effective site descriptor for project \'" + project.getId() + "\'");

Expand Down

0 comments on commit 2a0790b

Please sign in to comment.