Skip to content

Commit

Permalink
[MSITE-1023] Upgrade plugins and components (in ITs)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed Oct 18, 2024
1 parent efd8a57 commit 6171e7d
Show file tree
Hide file tree
Showing 14 changed files with 36 additions and 32 deletions.
25 changes: 13 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -196,23 +196,24 @@ under the License.
<javaVersion>8</javaVersion>
<mavenVersion>3.6.3</mavenVersion>
<!-- for dependencies -->
<jettyVersion>9.4.54.v20240208</jettyVersion>
<jettyVersion>9.4.56.v20240826</jettyVersion>
<doxiaVersion>2.0.0</doxiaVersion>
<doxiaSitetoolsVersion>2.0.0</doxiaSitetoolsVersion>
<wagonVersion>3.5.3</wagonVersion>
<slf4jVersion>1.7.36</slf4jVersion>
<!-- for ITs -->
<checkstylePluginVersion>3.3.1</checkstylePluginVersion>
<javadocPluginVersion>3.6.2</javadocPluginVersion>
<pmdPluginVersion>3.21.2</pmdPluginVersion>
<jxrPluginVersion>3.3.2</jxrPluginVersion>
<projectInfoReportsPluginVersion>3.5.0</projectInfoReportsPluginVersion>
<surefirePluginVersion>3.2.5</surefirePluginVersion>
<mavenPluginPluginVersion>3.13.0</mavenPluginPluginVersion>
<mavenReportingImplVersion>4.0.0-M15</mavenReportingImplVersion>
<fluidoSkinVersion>2.0.0-M9</fluidoSkinVersion>
<checkstylePluginVersion>3.5.0</checkstylePluginVersion>
<javadocPluginVersion>3.10.1</javadocPluginVersion>
<pmdPluginVersion>3.25.0</pmdPluginVersion>
<jxrPluginVersion>3.5.0</jxrPluginVersion>
<projectInfoReportsPluginVersion>3.7.0</projectInfoReportsPluginVersion>
<surefirePluginVersion>3.5.1</surefirePluginVersion>
<mavenPluginPluginVersion>3.15.0</mavenPluginPluginVersion>
<taglistPluginVersion>3.2.1</taglistPluginVersion>
<antrunPluginVersion>3.1.0</antrunPluginVersion>
<mavenReportingImplVersion>4.0.0</mavenReportingImplVersion>
<fluidoSkinVersion>2.0.0-M11</fluidoSkinVersion>
<project.build.outputTimestamp>2024-08-14T15:58:15Z</project.build.outputTimestamp>

</properties>

<dependencies>
Expand Down Expand Up @@ -412,7 +413,7 @@ under the License.
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.14.0</version>
<version>3.17.0</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion src/it/projects/MSITE-265/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ under the License.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>3.0.0</version>
<version>@taglistPluginVersion@</version>
</plugin>
</plugins>
</reporting>
Expand Down
2 changes: 1 addition & 1 deletion src/it/projects/MSITE-497/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<version>3.13.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/it/projects/MSITE-723/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<version>@antrunPluginVersion@</version>
<executions>
<execution>
<id>copy-site-files</id>
Expand Down
2 changes: 1 addition & 1 deletion src/it/projects/MSITE-901/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.16.0</version>
<version>@pmdPluginVersion@</version>
<executions>
<execution>
<goals>
Expand Down
2 changes: 1 addition & 1 deletion src/it/projects/effective-site/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ under the License.
<parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugins</artifactId>
<version>42</version>
<version>43</version>
</parent>

<groupId>org.apache.maven.plugins.site.its</groupId>
Expand Down
11 changes: 7 additions & 4 deletions src/it/projects/full-reporting/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ under the License.
<parent>
<groupId>org.apache.maven</groupId>
<artifactId>maven-parent</artifactId>
<version>42</version>
<version>43</version>
</parent>

<groupId>org.apache.maven.plugins.site.its</groupId>
Expand All @@ -37,7 +37,7 @@ under the License.
</issueManagement>

<properties>
<version.maven-fluido-skin>2.0.0-M8</version.maven-fluido-skin>
<version.maven-fluido-skin>@fluidoSkinVersion@</version.maven-fluido-skin>
</properties>

<dependencies>
Expand Down Expand Up @@ -74,7 +74,7 @@ under the License.
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-shared-resources</artifactId>
<version>5</version>
<version>6</version>
</dependency>
</dependencies>
</plugin>
Expand Down Expand Up @@ -143,7 +143,10 @@ under the License.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>3.0.0</version>
<version>@taglistPluginVersion@</version>
<configuration>
<skipEmptyReport>false</skipEmptyReport>
</configuration>
</plugin>
</plugins>
</reporting>
Expand Down
2 changes: 1 addition & 1 deletion src/it/projects/inheritance-interpolation/child/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ under the License.
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>groovy-maven-plugin</artifactId>
<version>2.0</version>
<version>2.1.1</version>
<executions>
<execution>
<!--phase>pre-site</phase-->
Expand Down
4 changes: 2 additions & 2 deletions src/it/projects/inheritance-interpolation/repo-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ under the License.
<distUrl>scp://from.repo/dist</distUrl>
<msite604.siteId>site-parent-id</msite604.siteId>
<msite604.siteBase>default-repository-base-from-repo-parent</msite604.siteBase>
<fluidoSkinVersion>2.0.0-M9</fluidoSkinVersion><!-- invoker interpolation doesn't apply here: but version is not important at this level -->
<fluidoSkinVersion>2.0.0-M11</fluidoSkinVersion><!-- invoker interpolation doesn't apply here: but version is not important at this level -->
</properties>

<distributionManagement>
Expand All @@ -56,7 +56,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.12.1</version><!-- invoker interpolation doesn't apply here: but version is not important at this level -->
<version>3.20.0</version><!-- invoker interpolation doesn't apply here: but version is not important at this level -->
<configuration>
<generateReports>false</generateReports>
</configuration>
Expand Down
4 changes: 2 additions & 2 deletions src/it/projects/new-configuration/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ return true;
assert !new File( basedir, 'target/surefire-reports' ).exists();
assert !new File( basedir, 'target/surefire-reports/org.apache.maven.plugins.site.its.AppTest.txt' ).exists();

assert !new File( basedir, 'target/site/surefire-report.html' ).exists();
assert !new File( basedir, 'target/site/surefire.html' ).exists();
assert new File( basedir, 'target/site/index.html' ).exists();
assert !new File( basedir, 'target/site/checkstyle.html' ).exists();
assert !new File( basedir, 'target/site/cpd.html' ).exists();
Expand All @@ -39,4 +39,4 @@ assert !new File( basedir, 'target/site/team-list.html' ).exists();

assert !new File( basedir, 'target/site/dependencies.html' ).exists();

return true;
return true;
4 changes: 2 additions & 2 deletions src/it/projects/no-version/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ assert content.contains( 'Test set: org.apache.maven.plugins.site.its.AppTest' )

assert content.contains( 'Tests run: 1, Failures: 0, Errors: 0, Skipped: 0' );

assert new File( basedir, 'target/site/surefire-report.html' ).exists();
assert new File( basedir, 'target/site/surefire.html' ).exists();
assert !new File( basedir, 'target/site/index.html' ).exists();

return true;
return true;
2 changes: 1 addition & 1 deletion src/it/projects/resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ under the License.
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
<version>@antrunPluginVersion@</version>
<executions>
<execution>
<phase>pre-site</phase>
Expand Down
2 changes: 1 addition & 1 deletion src/it/projects/site-attach-descriptor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ under the License.
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.0</version>
<version>3.1.3</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down
4 changes: 2 additions & 2 deletions src/it/projects/surefire-report/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ assert content.contains( 'Test set: org.apache.maven.plugins.site.its.AppTest' )

assert content.contains( 'Tests run: 1, Failures: 0, Errors: 0, Skipped: 0' );

assert new File( basedir, 'target/site/surefire-report.html' ).exists();
assert new File( basedir, 'target/site/surefire.html' ).exists();
assert !new File( basedir, 'target/site/index.html' ).exists();

return true;
return true;

0 comments on commit 6171e7d

Please sign in to comment.