This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch j3 in repository https://gitbox.apache.org/repos/asf/maven-shared-io.git
commit 1ee673160e96d2b215c422c9ee60b7f6f3849c52 Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Sun Nov 16 01:12:56 2025 +0100 Upgrade parent pom to 45 --- pom.xml | 2 +- .../shared/io/location/ArtifactLocatorStrategyTest.java | 13 +++++++++++-- .../io/location/ClasspathResourceLocatorStrategyTest.java | 4 +++- .../apache/maven/shared/io/location/FileLocationTest.java | 4 +++- .../maven/shared/io/location/FileLocatorStrategyTest.java | 5 ++++- .../org/apache/maven/shared/io/location/LocatorTest.java | 10 ++++++++-- .../apache/maven/shared/io/location/URLLocationTest.java | 4 +++- .../maven/shared/io/location/URLLocatorStrategyTest.java | 4 +++- .../maven/shared/io/logging/DefaultMessageHolderTest.java | 5 ++++- 9 files changed, 40 insertions(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index 25f82b5..b1a9848 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ <parent> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-shared-components</artifactId> - <version>43</version> + <version>45</version> <relativePath /> </parent> diff --git a/src/test/java/org/apache/maven/shared/io/location/ArtifactLocatorStrategyTest.java b/src/test/java/org/apache/maven/shared/io/location/ArtifactLocatorStrategyTest.java index 1675679..3638c6b 100644 --- a/src/test/java/org/apache/maven/shared/io/location/ArtifactLocatorStrategyTest.java +++ b/src/test/java/org/apache/maven/shared/io/location/ArtifactLocatorStrategyTest.java @@ -34,8 +34,17 @@ import org.apache.maven.shared.io.logging.MessageHolder; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import static org.easymock.EasyMock.*; -import static org.junit.jupiter.api.Assertions.*; +import static org.easymock.EasyMock.createMock; +import static org.easymock.EasyMock.expect; +import static org.easymock.EasyMock.expectLastCall; +import static org.easymock.EasyMock.replay; +import static org.easymock.EasyMock.verify; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertNull; +import static org.junit.jupiter.api.Assertions.assertSame; +import static org.junit.jupiter.api.Assertions.assertTrue; +import static org.junit.jupiter.api.Assertions.fail; public class ArtifactLocatorStrategyTest { diff --git a/src/test/java/org/apache/maven/shared/io/location/ClasspathResourceLocatorStrategyTest.java b/src/test/java/org/apache/maven/shared/io/location/ClasspathResourceLocatorStrategyTest.java index ab0fff3..200341a 100644 --- a/src/test/java/org/apache/maven/shared/io/location/ClasspathResourceLocatorStrategyTest.java +++ b/src/test/java/org/apache/maven/shared/io/location/ClasspathResourceLocatorStrategyTest.java @@ -22,7 +22,9 @@ import org.apache.maven.shared.io.logging.DefaultMessageHolder; import org.apache.maven.shared.io.logging.MessageHolder; import org.junit.jupiter.api.Test; -import static org.junit.jupiter.api.Assertions.*; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertNull; public class ClasspathResourceLocatorStrategyTest { diff --git a/src/test/java/org/apache/maven/shared/io/location/FileLocationTest.java b/src/test/java/org/apache/maven/shared/io/location/FileLocationTest.java index fec84ef..78134ae 100644 --- a/src/test/java/org/apache/maven/shared/io/location/FileLocationTest.java +++ b/src/test/java/org/apache/maven/shared/io/location/FileLocationTest.java @@ -29,7 +29,9 @@ import org.apache.commons.io.FileUtils; import org.apache.commons.io.IOUtils; import org.junit.jupiter.api.Test; -import static org.junit.jupiter.api.Assertions.*; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertSame; +import static org.junit.jupiter.api.Assertions.fail; public class FileLocationTest { diff --git a/src/test/java/org/apache/maven/shared/io/location/FileLocatorStrategyTest.java b/src/test/java/org/apache/maven/shared/io/location/FileLocatorStrategyTest.java index 2d5c82a..65ccc32 100644 --- a/src/test/java/org/apache/maven/shared/io/location/FileLocatorStrategyTest.java +++ b/src/test/java/org/apache/maven/shared/io/location/FileLocatorStrategyTest.java @@ -26,7 +26,10 @@ import org.apache.maven.shared.io.logging.DefaultMessageHolder; import org.apache.maven.shared.io.logging.MessageHolder; import org.junit.jupiter.api.Test; -import static org.junit.jupiter.api.Assertions.*; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertNull; +import static org.junit.jupiter.api.Assertions.assertTrue; public class FileLocatorStrategyTest { diff --git a/src/test/java/org/apache/maven/shared/io/location/LocatorTest.java b/src/test/java/org/apache/maven/shared/io/location/LocatorTest.java index b14d591..afdc62a 100644 --- a/src/test/java/org/apache/maven/shared/io/location/LocatorTest.java +++ b/src/test/java/org/apache/maven/shared/io/location/LocatorTest.java @@ -26,8 +26,14 @@ import org.apache.maven.shared.io.logging.DefaultMessageHolder; import org.apache.maven.shared.io.logging.MessageHolder; import org.junit.jupiter.api.Test; -import static org.easymock.EasyMock.*; -import static org.junit.jupiter.api.Assertions.*; +import static org.easymock.EasyMock.createMock; +import static org.easymock.EasyMock.replay; +import static org.easymock.EasyMock.verify; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertNull; +import static org.junit.jupiter.api.Assertions.assertTrue; public class LocatorTest { diff --git a/src/test/java/org/apache/maven/shared/io/location/URLLocationTest.java b/src/test/java/org/apache/maven/shared/io/location/URLLocationTest.java index c74e145..3d3b29d 100644 --- a/src/test/java/org/apache/maven/shared/io/location/URLLocationTest.java +++ b/src/test/java/org/apache/maven/shared/io/location/URLLocationTest.java @@ -26,7 +26,9 @@ import java.nio.file.Files; import org.apache.commons.io.FileUtils; import org.junit.jupiter.api.Test; -import static org.junit.jupiter.api.Assertions.*; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertNotNull; public class URLLocationTest { diff --git a/src/test/java/org/apache/maven/shared/io/location/URLLocatorStrategyTest.java b/src/test/java/org/apache/maven/shared/io/location/URLLocatorStrategyTest.java index e3f81d2..6a6a94b 100644 --- a/src/test/java/org/apache/maven/shared/io/location/URLLocatorStrategyTest.java +++ b/src/test/java/org/apache/maven/shared/io/location/URLLocatorStrategyTest.java @@ -27,7 +27,9 @@ import org.apache.maven.shared.io.logging.DefaultMessageHolder; import org.apache.maven.shared.io.logging.MessageHolder; import org.junit.jupiter.api.Test; -import static org.junit.jupiter.api.Assertions.*; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertNull; public class URLLocatorStrategyTest { diff --git a/src/test/java/org/apache/maven/shared/io/logging/DefaultMessageHolderTest.java b/src/test/java/org/apache/maven/shared/io/logging/DefaultMessageHolderTest.java index e06fba1..12e70b9 100644 --- a/src/test/java/org/apache/maven/shared/io/logging/DefaultMessageHolderTest.java +++ b/src/test/java/org/apache/maven/shared/io/logging/DefaultMessageHolderTest.java @@ -23,7 +23,10 @@ import java.io.StringWriter; import org.junit.jupiter.api.Test; -import static org.junit.jupiter.api.Assertions.*; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertSame; +import static org.junit.jupiter.api.Assertions.assertTrue; public class DefaultMessageHolderTest {
