Skip to content

Commit

Permalink
GH-1124 update to jetty 9.4 / servlet api 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
abrokenjester committed Jun 29, 2019
1 parent 0cf5d5d commit 3f098c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 20 deletions.
9 changes: 1 addition & 8 deletions compliance/repository/pom.xml
Expand Up @@ -17,7 +17,7 @@
<description>Compliance testing for the Repository API implementations</description>

<properties>
<jetty.version>7.0.2.v20100331</jetty.version>
<jetty.version>9.4.19.v20190610</jetty.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -74,13 +74,6 @@
<version>${jetty.version}</version>
</dependency>

<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-jsp-2.1</artifactId>
<version>${jetty.version}</version>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
Expand Down
Expand Up @@ -10,9 +10,7 @@
import java.io.File;
import java.io.IOException;

import org.eclipse.jetty.server.Connector;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.nio.BlockingChannelConnector;
import org.eclipse.jetty.webapp.WebAppContext;
import org.eclipse.rdf4j.http.protocol.Protocol;
import org.eclipse.rdf4j.repository.Repository;
Expand All @@ -29,7 +27,7 @@ public class HTTPMemServer {

private static final String HOST = "localhost";

private static final int PORT = 18080;
private static final int PORT = 18081;

private static final String TEST_REPO_ID = "Test";

Expand All @@ -48,17 +46,9 @@ public class HTTPMemServer {
public HTTPMemServer() {
System.clearProperty("DEBUG");

jetty = new Server();

Connector conn = new BlockingChannelConnector();
conn.setHost(HOST);
conn.setPort(PORT);
jetty.addConnector(conn);
jetty = new Server(PORT);

WebAppContext webapp = new WebAppContext();
// TODO temporarily disabled so the integration test server shows server-side logging.
// webapp.addSystemClass("org.slf4j.");
// webapp.addSystemClass("ch.qos.logback.");
webapp.setContextPath(RDF4J_CONTEXT);
// warPath configured in pom.xml maven-war-plugin configuration
webapp.setWar("./target/rdf4j-server");
Expand Down

0 comments on commit 3f098c1

Please sign in to comment.