Skip to content

Commit

Permalink
Downgrading dependency to have it still work with Java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
joakime committed Feb 1, 2024
1 parent c568d13 commit 96d972c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.toolchain.test.FS;
import org.eclipse.jetty.toolchain.test.MavenPaths;
import org.eclipse.jetty.toolchain.test.MavenTestingUtils;
import org.eclipse.jetty.util.component.LifeCycle;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
Expand All @@ -41,7 +41,7 @@ public class ResourceHandlerFromFileSystemTest
@BeforeEach
public void startServer() throws Exception
{
Path resourcesRoot = MavenPaths.targetTestDir(ResourceHandlerFromFileSystemTest.class.getSimpleName());
Path resourcesRoot = MavenTestingUtils.getTargetTestingPath(ResourceHandlerFromFileSystemTest.class.getSimpleName());
FS.ensureDirExists(resourcesRoot);

exampleSha = StaticFileGen.generate(resourcesRoot.resolve("example.png"), exampleSize);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.toolchain.test.FS;
import org.eclipse.jetty.toolchain.test.MavenPaths;
import org.eclipse.jetty.toolchain.test.MavenTestingUtils;
import org.eclipse.jetty.util.component.LifeCycle;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
Expand All @@ -42,7 +42,7 @@ public class ServletFileServerMultipleLocationsTest
@BeforeEach
public void startServer() throws Exception
{
Path resourcesRoot = MavenPaths.targetTestDir(ServletFileServerMultipleLocations.class.getSimpleName());
Path resourcesRoot = MavenTestingUtils.getTargetTestingPath(ServletFileServerMultipleLocations.class.getSimpleName());
FS.ensureDirExists(resourcesRoot);

exampleSha = StaticFileGen.generate(resourcesRoot.resolve("example.png"), exampleSize);
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<properties>
<jdk.version.minimum>8</jdk.version.minimum>
<jetty-test-helper.version>6.0</jetty-test-helper.version>
<jetty-test-helper.version>5.9</jetty-test-helper.version>
<jetty.git.repo>jetty-examples</jetty.git.repo>
<jetty.version>9.4.53.v20231009</jetty.version>
</properties>
Expand Down

0 comments on commit 96d972c

Please sign in to comment.