You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2025/02/10 13:29:19 UTC
(maven-resolver) branch compare created (now 464cde53)
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a change to branch compare
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git
at 464cde53 wip
This branch includes the following new commits:
new 464cde53 wip
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(maven-resolver) 01/01: wip
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch compare
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git
commit 464cde53eec302d0584d8d17f3e352366bab5f59
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Mon Feb 10 08:14:21 2025 -0500
wip
---
.../java/org/eclipse/aether/util/version/GenericVersionTest.java | 5 +++++
pom.xml | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/maven-resolver-util/src/test/java/org/eclipse/aether/util/version/GenericVersionTest.java b/maven-resolver-util/src/test/java/org/eclipse/aether/util/version/GenericVersionTest.java
index 53ebb62d..f183284b 100644
--- a/maven-resolver-util/src/test/java/org/eclipse/aether/util/version/GenericVersionTest.java
+++ b/maven-resolver-util/src/test/java/org/eclipse/aether/util/version/GenericVersionTest.java
@@ -495,6 +495,11 @@ public class GenericVersionTest extends AbstractVersionTest {
assertOrder(X_LT_Y, "1.max", "2.min");
}
+ @Test
+ void testCompareLettersToNumbers() {
+ assertOrder(X_GT_Y, "1.7", "J");
+ }
+
/**
* UT for <a href="https://issues.apache.org/jira/browse/MRESOLVER-314">MRESOLVER-314</a>.
*
diff --git a/pom.xml b/pom.xml
index b0d11ae1..ec87569c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -117,10 +117,10 @@
<maven4Version>4.0.0-rc-1</maven4Version>
<minimalMavenBuildVersion>[3.8.8,)</minimalMavenBuildVersion>
<!-- MRESOLVER-422: keep this in sync with Javadoc plugin configuration (but cannot directly, as this below is range) -->
- <minimalJavaBuildVersion>[21,)</minimalJavaBuildVersion>
+ <minimalJavaBuildVersion>[17,)</minimalJavaBuildVersion>
<project.build.outputTimestamp>2024-12-13T12:11:47Z</project.build.outputTimestamp>
<!-- site fixes: skip PMD as it does not support Java 21 -->
- <pmd.skip>true</pmd.skip>
+ <pmd.skip>false</pmd.skip>
<bnd.instructions.additions />
</properties>