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 <elh...@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>
 

Reply via email to