Skip to content

Commit

Permalink
Bump jetty version (#968)
Browse files Browse the repository at this point in the history
* Fixes #958 . Change jersey tests to use grizzly as we need to migrate all former javax prefixed group ids to use newer jakarta ones.
  • Loading branch information
melowe authored Jan 13, 2020
1 parent b4185cb commit 8cecc43
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 13 deletions.
11 changes: 7 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ plugins {

}

def jettyVersion = "9.4.25.v20191220"

allprojects {
group = 'com.jpmorgan.quorum'
//version = '0.11-SNAPSHOT'
Expand Down Expand Up @@ -68,12 +70,13 @@ allprojects {
compile "org.glassfish.jersey.containers:jersey-container-servlet-core:2.27"
compile "javax.servlet:javax.servlet-api:4.0.1"
compile "com.sun.mail:javax.mail:1.6.2"
compile "org.eclipse.jetty:jetty-servlet:9.4.17.v20190418"

compile "org.eclipse.jetty:jetty-servlet:"+ jettyVersion
compile "org.glassfish.jersey.inject:jersey-hk2:2.27"
compile "org.glassfish.jersey.core:jersey-common:2.27"
compile "org.eclipse.jetty:jetty-unixsocket:9.4.17.v20190418"
compile "org.eclipse.jetty:jetty-server:9.4.17.v20190418"
compile "org.eclipse.jetty.websocket:javax-websocket-server-impl:9.4.17.v20190418"
compile "org.eclipse.jetty:jetty-unixsocket:"+ jettyVersion
compile "org.eclipse.jetty:jetty-server:"+ jettyVersion
compile "org.eclipse.jetty.websocket:javax-websocket-server-impl:"+ jettyVersion
compile "org.springframework:spring-core:5.1.2.RELEASE"
compile "org.springframework:spring-beans:5.1.2.RELEASE"
compile "org.springframework:spring-context:5.1.2.RELEASE"
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

<properties>
<jersey.version>2.27</jersey.version>
<jetty.version>9.4.17.v20190418</jetty.version>
<jetty.version>9.4.25.v20191220</jetty.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down
2 changes: 1 addition & 1 deletion tessera-jaxrs/common-jaxrs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

<dependency>
<groupId>org.glassfish.jersey.test-framework.providers</groupId>
<artifactId>jersey-test-framework-provider-jetty</artifactId>
<artifactId>jersey-test-framework-provider-grizzly2</artifactId>
</dependency>

<dependency>
Expand Down
6 changes: 3 additions & 3 deletions tessera-jaxrs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,15 @@

<dependency>
<groupId>org.glassfish.jersey.test-framework.providers</groupId>
<artifactId>jersey-test-framework-provider-jetty</artifactId>
<artifactId>jersey-test-framework-provider-grizzly2</artifactId>
<scope>test</scope>
<type>jar</type>
<exclusions>
<!-- <exclusions>
<exclusion>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
</exclusion>
</exclusions>
</exclusions>-->
</dependency>

</dependencies>
Expand Down
9 changes: 6 additions & 3 deletions tests/acceptance-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ test {
systemProperty 'jdbc.sqlite.jar',project.configurations.testCompileClasspath.find { it.name.startsWith("sqlite-jdbc") }
systemProperty 'jdbc.dir',"${buildDir}/ext"

include '**/AdminRestSuite.class','**/RestSuiteHttpHSQL.class',
include '**/AdminRestSuite.class',
'**/RestSuiteHttpHSQL.class',
'**/RestSuiteHttpSqllite.class',
'**/RestSuiteHttpH2.class',
'**/RestSuiteHttpH2RemoteEnclave.class',
Expand All @@ -72,8 +73,10 @@ test {
'**/ConfigMigrationIT.class',
'**/AdminRestSuite.class',
'**/RestSuiteUnixH2.class',
'**/P2pTestSuite.class'
'**/CucumberFileKeyGenerationIT.class'
'**/P2pTestSuite.class',
'**/CucumberFileKeyGenerationIT.class',
'**/RunAwsIT.class',
'**/RunAzureIT.class'

// '**/RestSuite.class',
// '**/P2pTestSuite.class',
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock-jre8</artifactId>
<version>2.24.1</version>
<version>2.25.1</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit 8cecc43

Please sign in to comment.