Skip to content

Commit

Permalink
Update global-parent dependency to 61.
Browse files Browse the repository at this point in the history
maven-changes-plugin uses a new report name "changes.html"
  • Loading branch information
stefanseifert committed Jan 10, 2025
1 parent 184b829 commit 69fbaae
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 4 deletions.
7 changes: 4 additions & 3 deletions parent_toplevel/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@
#L%
-->

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

<release version="1.5.0" date="not released">
<action type="update" dev="sseifert">
Switch to latest maven-site-plugin and update to reflow-maven-skin 1.3.2.
</action>
<action type="update" dev="sseifert">
Update to global-parent 60.
Update to global-parent 61.
</action>
<action type="update" dev="sseifert">
Update testing dependencies.
Expand Down
34 changes: 33 additions & 1 deletion parent_toplevel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<groupId>io.wcm.maven</groupId>
<artifactId>io.wcm.maven.global-parent</artifactId>
<version>60</version>
<version>61-SNAPSHOT</version>
<relativePath />
</parent>

Expand Down Expand Up @@ -240,6 +240,38 @@
</executions>
</plugin>

<!-- Workaround for change of report filename changes-report.html to changes.html with maven-changes-plugin 3.x
We have a lot of links out there from GitHub releases, and we cannot configure a server-side redirect for GitHub pages.
So, create a file that redirects to the new report name here. -->
<plugin>
<groupId>io.github.olivierlemasle.maven</groupId>
<artifactId>plaintext-maven-plugin</artifactId>
<version>1.0.0</version>
<configuration>
<files>
<file>
<name>site/changes-report.html</name>
<lines>
<line><![CDATA[<!DOCTYPE html>]]></line>
<line><![CDATA[<html>]]></line>
<line><![CDATA[<head><meta http-equiv="refresh" content="0;url=changes.html"></head>]]></line>
<line><![CDATA[<body>Filename changed to <a href="changes.html">changes.html</a>.</body>]]></line>
<line><![CDATA[</html>]]></line>
</lines>
</file>
</files>
</configuration>
<executions>
<execution>
<id>generate-file</id>
<phase>site</phase>
<goals>
<goal>write</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>

<pluginManagement>
Expand Down

0 comments on commit 69fbaae

Please sign in to comment.