@@ -114,13 +114,14 @@ under the License.
114114 </distributionManagement >
115115
116116 <properties >
117+ <javaVersion >8</javaVersion >
117118 <mavenVersion >3.6.3</mavenVersion >
118- <doxiaVersion >1.11.1</doxiaVersion >
119- <doxiaSitetoolsVersion >1.11.1</doxiaSitetoolsVersion >
120- <scmVersion >2.1.0</scmVersion >
121119 <resolverVersion >1.4.1</resolverVersion >
122- <sitePluginVersion >3.12.1</sitePluginVersion >
123- <fluidoSkinVersion >1.12.0</fluidoSkinVersion >
120+ <doxiaVersion >2.0.0-M12</doxiaVersion >
121+ <doxiaSitetoolsVersion >2.0.0-M19</doxiaSitetoolsVersion >
122+ <scmVersion >2.1.0</scmVersion >
123+ <sitePluginVersion >3.20.0</sitePluginVersion >
124+ <fluidoSkinVersion >2.0.0-M10</fluidoSkinVersion >
124125 <checkstyle .violation.ignore>ParameterNumber,MethodLength</checkstyle .violation.ignore>
125126 <project .build.outputTimestamp>2024-07-11T18:06:39Z</project .build.outputTimestamp>
126127 </properties >
@@ -129,18 +130,12 @@ under the License.
129130 <dependency >
130131 <groupId >org.apache.maven.reporting</groupId >
131132 <artifactId >maven-reporting-api</artifactId >
132- <version >3.1.1 </version >
133+ <version >4.0.0-M12 </version >
133134 </dependency >
134135 <dependency >
135136 <groupId >org.apache.maven.reporting</groupId >
136137 <artifactId >maven-reporting-impl</artifactId >
137- <version >3.2.0</version >
138- <exclusions >
139- <exclusion >
140- <groupId >org.codehaus.plexus</groupId >
141- <artifactId >plexus-container-default</artifactId >
142- </exclusion >
143- </exclusions >
138+ <version >4.0.0-M15</version >
144139 </dependency >
145140
146141 <!-- Maven -->
@@ -258,36 +253,18 @@ under the License.
258253 <groupId >org.apache.maven.doxia</groupId >
259254 <artifactId >doxia-sink-api</artifactId >
260255 <version >${doxiaVersion} </version >
261- <exclusions >
262- <exclusion >
263- <groupId >org.codehaus.plexus</groupId >
264- <artifactId >plexus-container-default</artifactId >
265- </exclusion >
266- </exclusions >
267256 </dependency >
268257 <dependency >
269258 <groupId >org.apache.maven.doxia</groupId >
270259 <artifactId >doxia-core</artifactId >
271260 <version >${doxiaVersion} </version >
272- <exclusions >
273- <exclusion >
274- <groupId >org.codehaus.plexus</groupId >
275- <artifactId >plexus-container-default</artifactId >
276- </exclusion >
277- </exclusions >
278261 </dependency >
279262
280263 <!-- Doxia Sitetools -->
281264 <dependency >
282265 <groupId >org.apache.maven.doxia</groupId >
283266 <artifactId >doxia-integration-tools</artifactId >
284267 <version >${doxiaSitetoolsVersion} </version >
285- <exclusions >
286- <exclusion >
287- <groupId >org.codehaus.plexus</groupId >
288- <artifactId >plexus-container-default</artifactId >
289- </exclusion >
290- </exclusions >
291268 </dependency >
292269
293270 <!-- Plexus -->
@@ -427,6 +404,13 @@ under the License.
427404 <keyalg >RSA</keyalg >
428405 </configuration >
429406 </plugin >
407+ <plugin >
408+ <groupId >org.apache.maven.plugins</groupId >
409+ <artifactId >maven-surefire-plugin</artifactId >
410+ <configuration >
411+ <argLine >-Dfile.encoding=UTF-8</argLine >
412+ </configuration >
413+ </plugin >
430414 </plugins >
431415 </pluginManagement >
432416 <plugins >
@@ -491,6 +475,35 @@ under the License.
491475 </properties >
492476 <build >
493477 <plugins >
478+ <plugin >
479+ <groupId >org.apache.maven.plugins</groupId >
480+ <artifactId >maven-clean-plugin</artifactId >
481+ <!--
482+ This is necessary if "mvn site" has been invoked previously with 3.x
483+ and leaves 0-byte files in the local repository for MRM Maven Plugin
484+ to serve which are broken from a consumer's PoV.
485+ -->
486+ <executions >
487+ <execution >
488+ <id >delete-0-byte-site-descriptors</id >
489+ <goals >
490+ <goal >clean</goal >
491+ </goals >
492+ <phase >pre-integration-test</phase >
493+ <configuration >
494+ <excludeDefaultDirectories >true</excludeDefaultDirectories >
495+ <filesets >
496+ <fileset >
497+ <directory >${settings.localRepository} /org/apache/apache</directory >
498+ <includes >
499+ <include >**/*-site*.xml</include >
500+ </includes >
501+ </fileset >
502+ </filesets >
503+ </configuration >
504+ </execution >
505+ </executions >
506+ </plugin >
494507 <plugin >
495508 <groupId >org.apache.maven.plugins</groupId >
496509 <artifactId >maven-invoker-plugin</artifactId >
0 commit comments