Skip to content

Commit

Permalink
WINDUP-3812 Bump maven-artifact 3.9.1 (#1645)
Browse files Browse the repository at this point in the history
* WINDUP-3812 Bump maven-artifact 3.9.1

* WINDUP-3812 'x.y.z.RELEASE' and 'x.y.z.Final' are now the same version

(cherry picked from commit 4d949dd)
  • Loading branch information
mrizzi committed Apr 24, 2023
1 parent d5d5426 commit 775b94c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rules-java/api/pom.xml
Expand Up @@ -50,7 +50,7 @@
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<version>3.3.9</version>
<version>3.9.1</version>
</dependency>

<!-- Addon Dependencies -->
Expand Down
Expand Up @@ -18,8 +18,7 @@ public void versionsCompareTest() {
Assert.assertFalse(version.validate("2.2.7.RELEASE"));
Assert.assertTrue(version.validate("1.0.0.RELEASE"));

// This case must fail due to https://semver.org/#spec-item-11 (lexical ordering of the suffix)
Assert.assertFalse(version.validate("1.0.0.Final"));
Assert.assertTrue(version.validate("1.0.0.Final"));

Assert.assertTrue(version.validate("2.1.1.RELEASE"));
Assert.assertTrue(version.validate("2.1.1"));
Expand Down

0 comments on commit 775b94c

Please sign in to comment.