Remove unneeded dependency to WireMock
This commit is contained in:
@@ -45,11 +45,6 @@
|
||||
<artifactId>slf4j-simple</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.tomakehurst</groupId>
|
||||
<artifactId>wiremock-jre8</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hamcrest</groupId>
|
||||
<artifactId>hamcrest</artifactId>
|
||||
|
@@ -68,11 +68,6 @@
|
||||
<groupId>org.checkerframework</groupId>
|
||||
<artifactId>checker-qual</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.tomakehurst</groupId>
|
||||
<artifactId>wiremock-jre8</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hamcrest</groupId>
|
||||
<artifactId>hamcrest</artifactId>
|
||||
|
@@ -86,11 +86,6 @@
|
||||
<artifactId>slf4j-simple</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.tomakehurst</groupId>
|
||||
<artifactId>wiremock-jre8</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hamcrest</groupId>
|
||||
<artifactId>hamcrest</artifactId>
|
||||
|
@@ -7,8 +7,8 @@ package net.sourceforge.pmd.cache.internal;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
|
||||
import com.google.common.io.Files;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
|
||||
class RawFileFingerprinterTest extends AbstractClasspathEntryFingerprinterTest {
|
||||
|
||||
@@ -29,9 +29,8 @@ class RawFileFingerprinterTest extends AbstractClasspathEntryFingerprinterTest {
|
||||
|
||||
@Override
|
||||
protected File createValidNonEmptyFile() throws IOException {
|
||||
File file = tempDir.resolve("Foo.class").toFile();
|
||||
|
||||
Files.write("some content", file, StandardCharsets.UTF_8);
|
||||
return file;
|
||||
Path file = tempDir.resolve("Foo.class");
|
||||
Files.write(file, "some content".getBytes(StandardCharsets.UTF_8));
|
||||
return file.toFile();
|
||||
}
|
||||
}
|
||||
|
7
pom.xml
7
pom.xml
@@ -863,13 +863,6 @@
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.github.tomakehurst</groupId>
|
||||
<artifactId>wiremock-jre8</artifactId>
|
||||
<version>2.35.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.github.stefanbirkner</groupId>
|
||||
<artifactId>system-rules</artifactId>
|
||||
|
Reference in New Issue
Block a user