From 35a75d99e66ee680e01c2451983cacb0ba9938b5 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Thu, 30 Mar 2023 15:41:46 +0200 Subject: [PATCH 1/7] Update maven to 3.5.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7ec23251..4d4b0ac2 100644 --- a/pom.xml +++ b/pom.xml @@ -127,7 +127,7 @@ - 3.2.5 + 3.5.0 11 2023-03-27T21:27:03Z From 32f7b9fad2dd9f25686463b98655d5f62397a620 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Thu, 30 Mar 2023 15:42:15 +0200 Subject: [PATCH 2/7] Implement missing ModelResolver method --- .../resolution/FlattenModelResolver.java | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/src/main/java/org/codehaus/mojo/flatten/model/resolution/FlattenModelResolver.java b/src/main/java/org/codehaus/mojo/flatten/model/resolution/FlattenModelResolver.java index 44635338..8aaa4fcb 100644 --- a/src/main/java/org/codehaus/mojo/flatten/model/resolution/FlattenModelResolver.java +++ b/src/main/java/org/codehaus/mojo/flatten/model/resolution/FlattenModelResolver.java @@ -22,6 +22,7 @@ import java.io.File; import java.util.List; +import org.apache.maven.model.Dependency; import org.apache.maven.model.Parent; import org.apache.maven.model.Repository; import org.apache.maven.model.building.FileModelSource; @@ -171,6 +172,44 @@ public ModelSource resolveModel(Parent parent) throws UnresolvableModelException return resolveModel(parent.getGroupId(), parent.getArtifactId(), parent.getVersion()); } + @Override + public ModelSource resolveModel(Dependency dependency) throws UnresolvableModelException { + Artifact artifact = new DefaultArtifact( + dependency.getGroupId(), dependency.getArtifactId(), "", "pom", dependency.getVersion()); + + VersionRangeRequest versionRangeRequest = new VersionRangeRequest(artifact, repositories, context); + versionRangeRequest.setTrace(trace); + + try { + VersionRangeResult versionRangeResult = repositorySystem.resolveVersionRange(session, versionRangeRequest); + + if (versionRangeResult.getHighestVersion() == null) { + throw new UnresolvableModelException( + "No versions matched the requested range '" + dependency.getVersion() + "'", + dependency.getGroupId(), + dependency.getArtifactId(), + dependency.getVersion()); + } + + if (versionRangeResult.getVersionConstraint() != null + && versionRangeResult.getVersionConstraint().getRange() != null + && versionRangeResult.getVersionConstraint().getRange().getUpperBound() == null) { + throw new UnresolvableModelException( + "The requested version range '" + dependency.getVersion() + "' does not specify an upper bound", + dependency.getGroupId(), + dependency.getArtifactId(), + dependency.getVersion()); + } + + dependency.setVersion(versionRangeResult.getHighestVersion().toString()); + } catch (VersionRangeResolutionException e) { + throw new UnresolvableModelException( + e.getMessage(), dependency.getGroupId(), dependency.getArtifactId(), dependency.getVersion(), e); + } + + return resolveModel(dependency.getGroupId(), dependency.getArtifactId(), dependency.getVersion()); + } + /** * @param repository The repository to add to the internal search chain, must not be {@code null}. * @param replace {true} when repository with same id should be replaced, otherwise {@code false}. From fce99d131bbc0e96d4c5cc8b331d39224580efa3 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Thu, 30 Mar 2023 15:42:27 +0200 Subject: [PATCH 3/7] Remove unsupported tags --- src/it/projects/bom-flattenMode/pom.xml | 2 -- src/it/projects/bom-pomElements/pom.xml | 2 -- src/it/projects/complete-artifact-pom/pom.xml | 2 -- src/it/projects/complete-artifact-pom/verify.groovy | 1 - src/it/projects/complete-mavenplugin-pom/pom.xml | 2 -- src/it/projects/complete-mavenplugin-pom/verify.groovy | 1 - .../projects/complete-multimodule-parent-pom-cifriendly/pom.xml | 2 -- .../complete-multimodule-parent-pom-cifriendly/verify.groovy | 1 - .../complete-multimodule-parent-pom-direct-dependencies/pom.xml | 2 -- .../verify.groovy | 1 - src/it/projects/complete-multimodule-parent-pom/pom.xml | 2 -- src/it/projects/complete-multimodule-parent-pom/verify.groovy | 1 - src/it/projects/external-parent/pom.xml | 2 -- src/it/projects/external-parent/verify.groovy | 1 - src/it/projects/issue-348-repository-from-project/pom.xml | 2 +- src/it/projects/jdk-profile-inactive/pom.xml | 1 - src/it/projects/jdk-profile-inactive/verify.groovy | 1 - src/it/projects/optional-elements-modeMinimum/pom.xml | 2 -- src/it/projects/optional-elements-modeMinimum/verify.groovy | 1 - src/it/projects/optional-elements-modeOss/pom.xml | 2 -- src/it/projects/optional-elements-modeOss/verify.groovy | 1 - src/it/projects/optional-elements-modeOssrh/pom.xml | 2 -- src/it/projects/optional-elements-modeOssrh/verify.groovy | 1 - src/it/projects/optional-elements-pomElements-legacy/pom.xml | 2 -- .../projects/optional-elements-pomElements-legacy/verify.groovy | 1 - 25 files changed, 1 insertion(+), 37 deletions(-) diff --git a/src/it/projects/bom-flattenMode/pom.xml b/src/it/projects/bom-flattenMode/pom.xml index 0563adf4..f32b1a46 100644 --- a/src/it/projects/bom-flattenMode/pom.xml +++ b/src/it/projects/bom-flattenMode/pom.xml @@ -105,8 +105,6 @@ target/site - - http://svn.codehaus.org/mojo diff --git a/src/it/projects/bom-pomElements/pom.xml b/src/it/projects/bom-pomElements/pom.xml index e105d854..2c757589 100644 --- a/src/it/projects/bom-pomElements/pom.xml +++ b/src/it/projects/bom-pomElements/pom.xml @@ -107,8 +107,6 @@ target/site - - http://svn.codehaus.org/mojo diff --git a/src/it/projects/complete-artifact-pom/pom.xml b/src/it/projects/complete-artifact-pom/pom.xml index 437ef089..95a9ab7f 100644 --- a/src/it/projects/complete-artifact-pom/pom.xml +++ b/src/it/projects/complete-artifact-pom/pom.xml @@ -91,8 +91,6 @@ target/site - - http://svn.codehaus.org/mojo diff --git a/src/it/projects/complete-artifact-pom/verify.groovy b/src/it/projects/complete-artifact-pom/verify.groovy index 6cff78a7..48131af1 100644 --- a/src/it/projects/complete-artifact-pom/verify.groovy +++ b/src/it/projects/complete-artifact-pom/verify.groovy @@ -44,7 +44,6 @@ assert 1 == originalProject.pluginRepositories.size() assert 1 == originalProject.prerequisites.size() assert 1 == originalProject.properties.size() assert 1 == originalProject.reporting.size() -assert 1 == originalProject.reports.size() assert 1 == originalProject.scm.size() assert 1 == originalProject.url.size() diff --git a/src/it/projects/complete-mavenplugin-pom/pom.xml b/src/it/projects/complete-mavenplugin-pom/pom.xml index a9827332..5a9dc4c9 100644 --- a/src/it/projects/complete-mavenplugin-pom/pom.xml +++ b/src/it/projects/complete-mavenplugin-pom/pom.xml @@ -91,8 +91,6 @@ target/site - - http://svn.codehaus.org/mojo diff --git a/src/it/projects/complete-mavenplugin-pom/verify.groovy b/src/it/projects/complete-mavenplugin-pom/verify.groovy index 72ab461c..82bd81b1 100644 --- a/src/it/projects/complete-mavenplugin-pom/verify.groovy +++ b/src/it/projects/complete-mavenplugin-pom/verify.groovy @@ -45,7 +45,6 @@ assert 1 == originalProject.parent.size() assert 1 == originalProject.pluginRepositories.size() assert 1 == originalProject.properties.size() assert 1 == originalProject.reporting.size() -assert 1 == originalProject.reports.size() assert 1 == originalProject.scm.size() assert 1 == originalProject.url.size() diff --git a/src/it/projects/complete-multimodule-parent-pom-cifriendly/pom.xml b/src/it/projects/complete-multimodule-parent-pom-cifriendly/pom.xml index b1f1685b..fc854892 100644 --- a/src/it/projects/complete-multimodule-parent-pom-cifriendly/pom.xml +++ b/src/it/projects/complete-multimodule-parent-pom-cifriendly/pom.xml @@ -107,8 +107,6 @@ target/site - - http://svn.codehaus.org/mojo diff --git a/src/it/projects/complete-multimodule-parent-pom-cifriendly/verify.groovy b/src/it/projects/complete-multimodule-parent-pom-cifriendly/verify.groovy index 6274f649..4fc39b06 100644 --- a/src/it/projects/complete-multimodule-parent-pom-cifriendly/verify.groovy +++ b/src/it/projects/complete-multimodule-parent-pom-cifriendly/verify.groovy @@ -46,7 +46,6 @@ assert 1 == originalProject.pluginRepositories.size() assert 1 == originalProject.prerequisites.size() assert 1 == originalProject.properties.size() assert 1 == originalProject.reporting.size() -assert 1 == originalProject.reports.size() assert 1 == originalProject.scm.size() assert 1 == originalProject.url.size() diff --git a/src/it/projects/complete-multimodule-parent-pom-direct-dependencies/pom.xml b/src/it/projects/complete-multimodule-parent-pom-direct-dependencies/pom.xml index a8e432ec..fbe03efd 100644 --- a/src/it/projects/complete-multimodule-parent-pom-direct-dependencies/pom.xml +++ b/src/it/projects/complete-multimodule-parent-pom-direct-dependencies/pom.xml @@ -109,8 +109,6 @@ target/site - - http://svn.codehaus.org/mojo diff --git a/src/it/projects/complete-multimodule-parent-pom-direct-dependencies/verify.groovy b/src/it/projects/complete-multimodule-parent-pom-direct-dependencies/verify.groovy index ade43f2f..4f2e70c7 100644 --- a/src/it/projects/complete-multimodule-parent-pom-direct-dependencies/verify.groovy +++ b/src/it/projects/complete-multimodule-parent-pom-direct-dependencies/verify.groovy @@ -46,7 +46,6 @@ assert 1 == originalProject.pluginRepositories.size() assert 1 == originalProject.prerequisites.size() assert 1 == originalProject.properties.size() assert 1 == originalProject.reporting.size() -assert 1 == originalProject.reports.size() assert 1 == originalProject.scm.size() assert 1 == originalProject.url.size() diff --git a/src/it/projects/complete-multimodule-parent-pom/pom.xml b/src/it/projects/complete-multimodule-parent-pom/pom.xml index 9a408f80..7863a17e 100644 --- a/src/it/projects/complete-multimodule-parent-pom/pom.xml +++ b/src/it/projects/complete-multimodule-parent-pom/pom.xml @@ -93,8 +93,6 @@ target/site - - http://svn.codehaus.org/mojo diff --git a/src/it/projects/complete-multimodule-parent-pom/verify.groovy b/src/it/projects/complete-multimodule-parent-pom/verify.groovy index 84000688..b3ae466f 100644 --- a/src/it/projects/complete-multimodule-parent-pom/verify.groovy +++ b/src/it/projects/complete-multimodule-parent-pom/verify.groovy @@ -46,7 +46,6 @@ assert 1 == originalProject.pluginRepositories.size() assert 1 == originalProject.prerequisites.size() assert 1 == originalProject.properties.size() assert 1 == originalProject.reporting.size() -assert 1 == originalProject.reports.size() assert 1 == originalProject.scm.size() assert 1 == originalProject.url.size() diff --git a/src/it/projects/external-parent/pom.xml b/src/it/projects/external-parent/pom.xml index d1b2c63f..95622078 100644 --- a/src/it/projects/external-parent/pom.xml +++ b/src/it/projects/external-parent/pom.xml @@ -111,8 +111,6 @@ target/site - - http://svn.codehaus.org/mojo diff --git a/src/it/projects/external-parent/verify.groovy b/src/it/projects/external-parent/verify.groovy index 03f6b768..fbc71780 100644 --- a/src/it/projects/external-parent/verify.groovy +++ b/src/it/projects/external-parent/verify.groovy @@ -45,7 +45,6 @@ assert 1 == originalProject.repositories.size() assert 1 == originalProject.prerequisites.size() assert 1 == originalProject.properties.size() assert 1 == originalProject.reporting.size() -assert 1 == originalProject.reports.size() assert 1 == originalProject.scm.size() assert 1 == originalProject.url.size() diff --git a/src/it/projects/issue-348-repository-from-project/pom.xml b/src/it/projects/issue-348-repository-from-project/pom.xml index 85e310a8..8ca98e39 100644 --- a/src/it/projects/issue-348-repository-from-project/pom.xml +++ b/src/it/projects/issue-348-repository-from-project/pom.xml @@ -22,7 +22,7 @@ org.springframework.boot spring-boot-dependencies - 3.0.0-M5 + 3.0.0-RC2 pom import diff --git a/src/it/projects/jdk-profile-inactive/pom.xml b/src/it/projects/jdk-profile-inactive/pom.xml index 125e7901..f117ceb3 100644 --- a/src/it/projects/jdk-profile-inactive/pom.xml +++ b/src/it/projects/jdk-profile-inactive/pom.xml @@ -56,7 +56,6 @@ target/site - diff --git a/src/it/projects/jdk-profile-inactive/verify.groovy b/src/it/projects/jdk-profile-inactive/verify.groovy index bc7aa8fe..d7a999fa 100644 --- a/src/it/projects/jdk-profile-inactive/verify.groovy +++ b/src/it/projects/jdk-profile-inactive/verify.groovy @@ -36,7 +36,6 @@ assert 1 == originalProject.profiles.profile.modules.size() assert 1 == originalProject.profiles.profile.pluginRepositories.size() assert 1 == originalProject.profiles.profile.properties.size() assert 1 == originalProject.profiles.profile.reporting.size() -assert 1 == originalProject.profiles.profile.reports.size() File flattendPom = new File( basedir, '.flattened-pom.xml' ) assert flattendPom.exists() diff --git a/src/it/projects/optional-elements-modeMinimum/pom.xml b/src/it/projects/optional-elements-modeMinimum/pom.xml index 01d70978..8ca8ff0f 100644 --- a/src/it/projects/optional-elements-modeMinimum/pom.xml +++ b/src/it/projects/optional-elements-modeMinimum/pom.xml @@ -107,8 +107,6 @@ target/site - - http://svn.codehaus.org/mojo diff --git a/src/it/projects/optional-elements-modeMinimum/verify.groovy b/src/it/projects/optional-elements-modeMinimum/verify.groovy index 7dd30198..90daa754 100644 --- a/src/it/projects/optional-elements-modeMinimum/verify.groovy +++ b/src/it/projects/optional-elements-modeMinimum/verify.groovy @@ -45,7 +45,6 @@ assert 1 == originalProject.repositories.size() assert 1 == originalProject.prerequisites.size() assert 1 == originalProject.properties.size() assert 1 == originalProject.reporting.size() -assert 1 == originalProject.reports.size() assert 1 == originalProject.scm.size() assert 1 == originalProject.url.size() diff --git a/src/it/projects/optional-elements-modeOss/pom.xml b/src/it/projects/optional-elements-modeOss/pom.xml index 4f2b3586..ea620db8 100644 --- a/src/it/projects/optional-elements-modeOss/pom.xml +++ b/src/it/projects/optional-elements-modeOss/pom.xml @@ -107,8 +107,6 @@ target/site - - http://svn.codehaus.org/mojo diff --git a/src/it/projects/optional-elements-modeOss/verify.groovy b/src/it/projects/optional-elements-modeOss/verify.groovy index 98e7939a..a9da6c3b 100644 --- a/src/it/projects/optional-elements-modeOss/verify.groovy +++ b/src/it/projects/optional-elements-modeOss/verify.groovy @@ -45,7 +45,6 @@ assert 1 == originalProject.repositories.size() assert 1 == originalProject.prerequisites.size() assert 1 == originalProject.properties.size() assert 1 == originalProject.reporting.size() -assert 1 == originalProject.reports.size() assert 1 == originalProject.scm.size() assert 1 == originalProject.url.size() diff --git a/src/it/projects/optional-elements-modeOssrh/pom.xml b/src/it/projects/optional-elements-modeOssrh/pom.xml index ba7e7bd9..aabe3259 100644 --- a/src/it/projects/optional-elements-modeOssrh/pom.xml +++ b/src/it/projects/optional-elements-modeOssrh/pom.xml @@ -107,8 +107,6 @@ target/site - - http://svn.codehaus.org/mojo diff --git a/src/it/projects/optional-elements-modeOssrh/verify.groovy b/src/it/projects/optional-elements-modeOssrh/verify.groovy index dd0be747..43e6eb3f 100644 --- a/src/it/projects/optional-elements-modeOssrh/verify.groovy +++ b/src/it/projects/optional-elements-modeOssrh/verify.groovy @@ -45,7 +45,6 @@ assert 1 == originalProject.repositories.size() assert 1 == originalProject.prerequisites.size() assert 1 == originalProject.properties.size() assert 1 == originalProject.reporting.size() -assert 1 == originalProject.reports.size() assert 1 == originalProject.scm.size() assert 1 == originalProject.url.size() diff --git a/src/it/projects/optional-elements-pomElements-legacy/pom.xml b/src/it/projects/optional-elements-pomElements-legacy/pom.xml index 717e505a..aa86dece 100644 --- a/src/it/projects/optional-elements-pomElements-legacy/pom.xml +++ b/src/it/projects/optional-elements-pomElements-legacy/pom.xml @@ -122,8 +122,6 @@ target/site - - http://svn.codehaus.org/mojo diff --git a/src/it/projects/optional-elements-pomElements-legacy/verify.groovy b/src/it/projects/optional-elements-pomElements-legacy/verify.groovy index 16decd79..c717f0dd 100644 --- a/src/it/projects/optional-elements-pomElements-legacy/verify.groovy +++ b/src/it/projects/optional-elements-pomElements-legacy/verify.groovy @@ -45,7 +45,6 @@ assert 1 == originalProject.repositories.size() assert 1 == originalProject.prerequisites.size() assert 1 == originalProject.properties.size() assert 1 == originalProject.reporting.size() -assert 1 == originalProject.reports.size() assert 1 == originalProject.scm.size() assert 1 == originalProject.url.size() From 19d8f0cd70b849a648e3f2c0c0d7cae59a4fc1ae Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Thu, 30 Mar 2023 16:04:42 +0200 Subject: [PATCH 4/7] Better fix to avoid duplicated code --- .../resolution/FlattenModelResolver.java | 63 +++++-------------- 1 file changed, 15 insertions(+), 48 deletions(-) diff --git a/src/main/java/org/codehaus/mojo/flatten/model/resolution/FlattenModelResolver.java b/src/main/java/org/codehaus/mojo/flatten/model/resolution/FlattenModelResolver.java index 8aaa4fcb..a1930531 100644 --- a/src/main/java/org/codehaus/mojo/flatten/model/resolution/FlattenModelResolver.java +++ b/src/main/java/org/codehaus/mojo/flatten/model/resolution/FlattenModelResolver.java @@ -136,46 +136,19 @@ public ModelResolver newCopy() { * @since Apache-Maven-3.2.2 (MNG-5639) */ public ModelSource resolveModel(Parent parent) throws UnresolvableModelException { - Artifact artifact = - new DefaultArtifact(parent.getGroupId(), parent.getArtifactId(), "", "pom", parent.getVersion()); - - VersionRangeRequest versionRangeRequest = new VersionRangeRequest(artifact, repositories, context); - versionRangeRequest.setTrace(trace); - - try { - VersionRangeResult versionRangeResult = repositorySystem.resolveVersionRange(session, versionRangeRequest); - - if (versionRangeResult.getHighestVersion() == null) { - throw new UnresolvableModelException( - "No versions matched the requested range '" + parent.getVersion() + "'", - parent.getGroupId(), - parent.getArtifactId(), - parent.getVersion()); - } - - if (versionRangeResult.getVersionConstraint() != null - && versionRangeResult.getVersionConstraint().getRange() != null - && versionRangeResult.getVersionConstraint().getRange().getUpperBound() == null) { - throw new UnresolvableModelException( - "The requested version range '" + parent.getVersion() + "' does not specify an upper bound", - parent.getGroupId(), - parent.getArtifactId(), - parent.getVersion()); - } - - parent.setVersion(versionRangeResult.getHighestVersion().toString()); - } catch (VersionRangeResolutionException e) { - throw new UnresolvableModelException( - e.getMessage(), parent.getGroupId(), parent.getArtifactId(), parent.getVersion(), e); - } - + parent.setVersion(resolveVersion(parent.getGroupId(), parent.getArtifactId(), parent.getVersion())); return resolveModel(parent.getGroupId(), parent.getArtifactId(), parent.getVersion()); } @Override public ModelSource resolveModel(Dependency dependency) throws UnresolvableModelException { - Artifact artifact = new DefaultArtifact( - dependency.getGroupId(), dependency.getArtifactId(), "", "pom", dependency.getVersion()); + dependency.setVersion( + resolveVersion(dependency.getGroupId(), dependency.getArtifactId(), dependency.getVersion())); + return resolveModel(dependency.getGroupId(), dependency.getArtifactId(), dependency.getVersion()); + } + + private String resolveVersion(String groupId, String artifactId, String version) throws UnresolvableModelException { + Artifact artifact = new DefaultArtifact(groupId, artifactId, "", "pom", version); VersionRangeRequest versionRangeRequest = new VersionRangeRequest(artifact, repositories, context); versionRangeRequest.setTrace(trace); @@ -185,29 +158,23 @@ public ModelSource resolveModel(Dependency dependency) throws UnresolvableModelE if (versionRangeResult.getHighestVersion() == null) { throw new UnresolvableModelException( - "No versions matched the requested range '" + dependency.getVersion() + "'", - dependency.getGroupId(), - dependency.getArtifactId(), - dependency.getVersion()); + "No versions matched the requested range '" + version + "'", groupId, artifactId, version); } if (versionRangeResult.getVersionConstraint() != null && versionRangeResult.getVersionConstraint().getRange() != null && versionRangeResult.getVersionConstraint().getRange().getUpperBound() == null) { throw new UnresolvableModelException( - "The requested version range '" + dependency.getVersion() + "' does not specify an upper bound", - dependency.getGroupId(), - dependency.getArtifactId(), - dependency.getVersion()); + "The requested version range '" + version + "' does not specify an upper bound", + groupId, + artifactId, + version); } - dependency.setVersion(versionRangeResult.getHighestVersion().toString()); + return versionRangeResult.getHighestVersion().toString(); } catch (VersionRangeResolutionException e) { - throw new UnresolvableModelException( - e.getMessage(), dependency.getGroupId(), dependency.getArtifactId(), dependency.getVersion(), e); + throw new UnresolvableModelException(e.getMessage(), groupId, artifactId, version, e); } - - return resolveModel(dependency.getGroupId(), dependency.getArtifactId(), dependency.getVersion()); } /** From 394db19ed5bb96c7c672d99276d962fb200b8de0 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Thu, 30 Mar 2023 16:06:21 +0200 Subject: [PATCH 5/7] Fix IT --- src/it/projects/issue-348-repository-from-project/verify.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/it/projects/issue-348-repository-from-project/verify.groovy b/src/it/projects/issue-348-repository-from-project/verify.groovy index 306bee89..39fa2eab 100644 --- a/src/it/projects/issue-348-repository-from-project/verify.groovy +++ b/src/it/projects/issue-348-repository-from-project/verify.groovy @@ -9,4 +9,4 @@ assert 1 == flattendProject.repositories.size() assert 1 == flattendProject.dependencies.size() assert 'spring-core' == flattendProject.dependencies.dependency.artifactId.text() -assert '6.0.0-M6' == flattendProject.dependencies.dependency.version.text() +assert '6.0.0-RC4' == flattendProject.dependencies.dependency.version.text() From 1106891a1693aa0980dbd7e653293da403f294e1 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Thu, 30 Mar 2023 16:18:43 +0200 Subject: [PATCH 6/7] Upgrade the minimum maven version used to 3.5.x --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 006e64e6..98f3ba80 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -25,4 +25,4 @@ jobs: uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v3 with: ff-maven: "3.9.1" # Maven version for fail-fast-build - maven-matrix: '[ "3.2.5", "3.8.8", "3.9.1" ]' # Maven versions matrix for verify builds + maven-matrix: '[ "3.5.4", "3.8.8", "3.9.1" ]' # Maven versions matrix for verify builds From c4366763827e8f1041969eb8cd128ce646664490 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Thu, 30 Mar 2023 16:49:30 +0200 Subject: [PATCH 7/7] Schedule a new CI build --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 98f3ba80..7fc8fbc1 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -25,4 +25,4 @@ jobs: uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v3 with: ff-maven: "3.9.1" # Maven version for fail-fast-build - maven-matrix: '[ "3.5.4", "3.8.8", "3.9.1" ]' # Maven versions matrix for verify builds + maven-matrix: '[ "3.5.4", "3.8.8", "3.9.1" ]' # Maven versions matrix for verify builds