This is an automated email from the ASF dual-hosted git repository. hboutemy pushed a commit to branch fix-its-checksum in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git
commit 6acd6dae32303235d3b8e3f4416cc851fbef37e3 Author: Hervé Boutemy <[email protected]> AuthorDate: Sat Jun 13 00:43:31 2026 +0200 fix ITs failing with Maven 4 from checksums --- pom.xml | 1 + src/it/projects/MJAVADOC-180/module1/pom.xml | 86 +++++++++++----------- src/it/projects/MJAVADOC-180/pom.xml | 5 ++ .../MJAVADOC-280-2-distro/pom.xml | 9 +++ .../MJAVADOC-280-2-projects/pom.xml | 2 +- 5 files changed, 59 insertions(+), 44 deletions(-) diff --git a/pom.xml b/pom.xml index 07082742..27dd243d 100644 --- a/pom.xml +++ b/pom.xml @@ -129,6 +129,7 @@ under the License. <pluginPluginVersion>${version.maven-plugin-tools}</pluginPluginVersion> <jarPluginVersion>${version.maven-jar-plugin}</jarPluginVersion> <sitePluginVersion>${version.maven-site-plugin}</sitePluginVersion> + <surefirePluginVersion>${version.maven-surefire}</surefirePluginVersion> <toolchainPluginVersion>3.2.0</toolchainPluginVersion> <projectInfoReportsPluginVersion>${version.maven-project-info-reports-plugin}</projectInfoReportsPluginVersion> <project.build.outputTimestamp>2025-09-16T08:27:46Z</project.build.outputTimestamp> diff --git a/src/it/projects/MJAVADOC-180/module1/pom.xml b/src/it/projects/MJAVADOC-180/module1/pom.xml index 31da78bc..9481f5e3 100644 --- a/src/it/projects/MJAVADOC-180/module1/pom.xml +++ b/src/it/projects/MJAVADOC-180/module1/pom.xml @@ -1,43 +1,43 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. ---> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.apache.maven.plugins.maven-javadoc-plugin.it</groupId> - <artifactId>MJAVADOC-180</artifactId> - <version>1.0-SNAPSHOT</version> - </parent> - - <artifactId>module1</artifactId> - <name>module1</name> - <version>1.0-SNAPSHOT</version> - - <dependencies> - <dependency> - <groupId>org.dbunit</groupId> - <artifactId>dbunit</artifactId> - <version>2.2</version> - <scope>test</scope> - </dependency> - - - </dependencies> -</project> +<?xml version='1.0' encoding='UTF-8'?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.maven.plugins.maven-javadoc-plugin.it</groupId> + <artifactId>MJAVADOC-180</artifactId> + <version>1.0-SNAPSHOT</version> + </parent> + + <artifactId>module1</artifactId> + <name>module1</name> + <version>1.0-SNAPSHOT</version> + + <dependencies> + <dependency> + <groupId>org.dbunit</groupId> + <artifactId>dbunit</artifactId> + <version>2.8.0</version> + <scope>test</scope> + </dependency> + + + </dependencies> +</project> diff --git a/src/it/projects/MJAVADOC-180/pom.xml b/src/it/projects/MJAVADOC-180/pom.xml index 28fc4dee..419a44e1 100644 --- a/src/it/projects/MJAVADOC-180/pom.xml +++ b/src/it/projects/MJAVADOC-180/pom.xml @@ -61,6 +61,11 @@ <artifactId>maven-project-info-reports-plugin</artifactId> <version>@projectInfoReportsPluginVersion@</version> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>@surefirePluginVersion@</version> + </plugin> </plugins> </build> diff --git a/src/it/projects/dependencySource-2/MJAVADOC-280-2-distro/pom.xml b/src/it/projects/dependencySource-2/MJAVADOC-280-2-distro/pom.xml index 6acf0fea..6cae96d4 100644 --- a/src/it/projects/dependencySource-2/MJAVADOC-280-2-distro/pom.xml +++ b/src/it/projects/dependencySource-2/MJAVADOC-280-2-distro/pom.xml @@ -70,5 +70,14 @@ under the License. </executions> </plugin> </plugins> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>@surefirePluginVersion@</version> + </plugin> + </plugins> + </pluginManagement> </build> </project> diff --git a/src/it/projects/dependencySource-2/MJAVADOC-280-2-projects/pom.xml b/src/it/projects/dependencySource-2/MJAVADOC-280-2-projects/pom.xml index b9beefbf..06ee46fd 100644 --- a/src/it/projects/dependencySource-2/MJAVADOC-280-2-projects/pom.xml +++ b/src/it/projects/dependencySource-2/MJAVADOC-280-2-projects/pom.xml @@ -56,7 +56,7 @@ under the License. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> - <version>2.22.0</version> + <version>@surefirePluginVersion@</version> </plugin> </plugins> </pluginManagement>
