You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2021/10/11 17:54:04 UTC

[lucene] branch main updated: LUCENE-10164: lucene/replicator should only have jetty as a test dependency (#373)

This is an automated email from the ASF dual-hosted git repository.

rmuir pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/main by this push:
     new f67dec1  LUCENE-10164: lucene/replicator should only have jetty as a test dependency (#373)
f67dec1 is described below

commit f67dec1739c226fe6de0b6c292b7e267bad9ace8
Author: Robert Muir <rm...@apache.org>
AuthorDate: Mon Oct 11 13:53:58 2021 -0400

    LUCENE-10164: lucene/replicator should only have jetty as a test dependency (#373)
---
 lucene/replicator/build.gradle |  8 +++++---
 versions.lock                  | 14 +++++++-------
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/lucene/replicator/build.gradle b/lucene/replicator/build.gradle
index 973c77f..c51feb0 100644
--- a/lucene/replicator/build.gradle
+++ b/lucene/replicator/build.gradle
@@ -28,11 +28,13 @@ dependencies {
     exclude group: "commons-codec", module: "commons-codec"
   })
 
-  implementation 'org.eclipse.jetty:jetty-server'
-  implementation('org.eclipse.jetty:jetty-servlet', {
+  implementation 'javax.servlet:javax.servlet-api'
+
+  testImplementation 'org.eclipse.jetty:jetty-server'
+  testImplementation('org.eclipse.jetty:jetty-servlet', {
     exclude group: "org.eclipse.jetty", module: "jetty-security"
   })
-  implementation 'org.eclipse.jetty:jetty-continuation'
+  testImplementation 'org.eclipse.jetty:jetty-continuation'
 
   testImplementation project(':lucene:test-framework')
 }
diff --git a/versions.lock b/versions.lock
index af19c24..930f68c 100644
--- a/versions.lock
+++ b/versions.lock
@@ -18,13 +18,6 @@ org.apache.opennlp:opennlp-tools:1.9.1 (1 constraints: 0d050c36)
 org.carrot2:morfologik-fsa:2.1.5 (1 constraints: d70d9836)
 org.carrot2:morfologik-polish:2.1.5 (1 constraints: 0a05fd35)
 org.carrot2:morfologik-stemming:2.1.5 (2 constraints: 0b12640c)
-org.eclipse.jetty:jetty-continuation:9.4.41.v20210516 (1 constraints: 7907fe7c)
-org.eclipse.jetty:jetty-http:9.4.41.v20210516 (1 constraints: f60f2ccd)
-org.eclipse.jetty:jetty-io:9.4.41.v20210516 (2 constraints: 141f4566)
-org.eclipse.jetty:jetty-server:9.4.41.v20210516 (1 constraints: 7907fe7c)
-org.eclipse.jetty:jetty-servlet:9.4.41.v20210516 (1 constraints: 7907fe7c)
-org.eclipse.jetty:jetty-util:9.4.41.v20210516 (3 constraints: 422efaf1)
-org.eclipse.jetty:jetty-util-ajax:9.4.41.v20210516 (1 constraints: 64101be2)
 org.hamcrest:hamcrest:2.2 (1 constraints: a8041f2c)
 org.locationtech.spatial4j:spatial4j:0.7 (1 constraints: ab041e2c)
 org.ow2.asm:asm:7.2 (2 constraints: 900e3e5e)
@@ -33,4 +26,11 @@ ua.net.nlp:morfologik-ukrainian-search:4.9.1 (1 constraints: 10051b36)
 xerces:xercesImpl:2.12.0 (2 constraints: 1f14b675)
 
 [Test dependencies]
+org.eclipse.jetty:jetty-continuation:9.4.41.v20210516 (1 constraints: 7907fe7c)
+org.eclipse.jetty:jetty-http:9.4.41.v20210516 (1 constraints: f60f2ccd)
+org.eclipse.jetty:jetty-io:9.4.41.v20210516 (2 constraints: 141f4566)
+org.eclipse.jetty:jetty-server:9.4.41.v20210516 (1 constraints: 7907fe7c)
+org.eclipse.jetty:jetty-servlet:9.4.41.v20210516 (1 constraints: 7907fe7c)
+org.eclipse.jetty:jetty-util:9.4.41.v20210516 (3 constraints: 422efaf1)
+org.eclipse.jetty:jetty-util-ajax:9.4.41.v20210516 (1 constraints: 64101be2)
 org.locationtech.jts:jts-core:1.15.0 (1 constraints: 3905383b)