This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/maven-build-cache-extension.git
The following commit(s) were added to refs/heads/master by this push:
new 103d7b5 Replace Guava with JDK methods (#432)
103d7b5 is described below
commit 103d7b56f0820389341105411b177b0a3a111d49
Author: Elliotte Rusty Harold <[email protected]>
AuthorDate: Sat Jan 17 17:50:14 2026 -0500
Replace Guava with JDK methods (#432)
---
.../apache/maven/buildcache/its/ForkedExecutionCoreExtensionTest.java | 4 ++--
.../java/org/apache/maven/buildcache/its/SkipBuildExtensionTest.java | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git
a/src/test/java/org/apache/maven/buildcache/its/ForkedExecutionCoreExtensionTest.java
b/src/test/java/org/apache/maven/buildcache/its/ForkedExecutionCoreExtensionTest.java
index 52a7a25..eaeff76 100644
---
a/src/test/java/org/apache/maven/buildcache/its/ForkedExecutionCoreExtensionTest.java
+++
b/src/test/java/org/apache/maven/buildcache/its/ForkedExecutionCoreExtensionTest.java
@@ -21,8 +21,8 @@
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
+import java.util.Collections;
-import com.google.common.collect.Lists;
import org.apache.commons.io.FileUtils;
import org.apache.maven.buildcache.its.junit.IntegrationTest;
import org.apache.maven.it.VerificationException;
@@ -61,7 +61,7 @@ void testForkedExecution(Verifier verifier) throws
VerificationException {
verifier.setLogFileName("../log-1.txt");
verifier.setMavenDebug(true);
verifier.setCliOptions(
- Lists.newArrayList("-D" + CACHE_LOCATION_PROPERTY_NAME + "=" +
tempDirectory.toAbsolutePath()));
+ Collections.singletonList("-D" + CACHE_LOCATION_PROPERTY_NAME
+ "=" + tempDirectory.toAbsolutePath()));
verifier.executeGoal("verify");
verifier.verifyTextInLog("Started forked project");
// forked execution actually runs
diff --git
a/src/test/java/org/apache/maven/buildcache/its/SkipBuildExtensionTest.java
b/src/test/java/org/apache/maven/buildcache/its/SkipBuildExtensionTest.java
index 7b26021..725c262 100644
--- a/src/test/java/org/apache/maven/buildcache/its/SkipBuildExtensionTest.java
+++ b/src/test/java/org/apache/maven/buildcache/its/SkipBuildExtensionTest.java
@@ -26,7 +26,6 @@
import org.apache.maven.it.Verifier;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
-import org.testcontainers.shaded.com.google.common.collect.Lists;
import static
org.apache.maven.buildcache.util.LogFileUtils.findFirstLineContainingTextsInLogs;
@@ -50,7 +49,7 @@ void multipleGoals(Verifier verifier) throws
VerificationException {
verifier.setLogFileName("../log-2.txt");
String[] goals = {"clean", "install"};
- List<String> goalsList = Lists.newArrayList(goals);
+ List<String> goalsList = Arrays.asList(goals);
verifier.executeGoals(goalsList);
verifier.verifyErrorFreeLog();