Skip to content

Commit 69fbaae

Browse files
committed
Update global-parent dependency to 61.
maven-changes-plugin uses a new report name "changes.html"
1 parent 184b829 commit 69fbaae

File tree

2 files changed

+37
-4
lines changed

2 files changed

+37
-4
lines changed

parent_toplevel/changes.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,17 @@
1919
#L%
2020
-->
2121

22-
<document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/changes/1.0.0"
23-
xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/plugins/maven-changes-plugin/xsd/changes-1.0.0.xsd">
22+
<document xmlns="http://maven.apache.org/changes/2.0.0"
23+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24+
xsi:schemaLocation="http://maven.apache.org/changes/2.0.0 https://maven.apache.org/xsd/changes-2.0.0.xsd">
2425
<body>
2526

2627
<release version="1.5.0" date="not released">
2728
<action type="update" dev="sseifert">
2829
Switch to latest maven-site-plugin and update to reflow-maven-skin 1.3.2.
2930
</action>
3031
<action type="update" dev="sseifert">
31-
Update to global-parent 60.
32+
Update to global-parent 61.
3233
</action>
3334
<action type="update" dev="sseifert">
3435
Update testing dependencies.

parent_toplevel/pom.xml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<parent>
2626
<groupId>io.wcm.maven</groupId>
2727
<artifactId>io.wcm.maven.global-parent</artifactId>
28-
<version>60</version>
28+
<version>61-SNAPSHOT</version>
2929
<relativePath />
3030
</parent>
3131

@@ -240,6 +240,38 @@
240240
</executions>
241241
</plugin>
242242

243+
<!-- Workaround for change of report filename changes-report.html to changes.html with maven-changes-plugin 3.x
244+
We have a lot of links out there from GitHub releases, and we cannot configure a server-side redirect for GitHub pages.
245+
So, create a file that redirects to the new report name here. -->
246+
<plugin>
247+
<groupId>io.github.olivierlemasle.maven</groupId>
248+
<artifactId>plaintext-maven-plugin</artifactId>
249+
<version>1.0.0</version>
250+
<configuration>
251+
<files>
252+
<file>
253+
<name>site/changes-report.html</name>
254+
<lines>
255+
<line><![CDATA[<!DOCTYPE html>]]></line>
256+
<line><![CDATA[<html>]]></line>
257+
<line><![CDATA[<head><meta http-equiv="refresh" content="0;url=changes.html"></head>]]></line>
258+
<line><![CDATA[<body>Filename changed to <a href="changes.html">changes.html</a>.</body>]]></line>
259+
<line><![CDATA[</html>]]></line>
260+
</lines>
261+
</file>
262+
</files>
263+
</configuration>
264+
<executions>
265+
<execution>
266+
<id>generate-file</id>
267+
<phase>site</phase>
268+
<goals>
269+
<goal>write</goal>
270+
</goals>
271+
</execution>
272+
</executions>
273+
</plugin>
274+
243275
</plugins>
244276

245277
<pluginManagement>

0 commit comments

Comments
 (0)