Преглед на файлове

Rename servlet-api-3_1 to match Gerrit master

JGit is built from source on Gerrit-CI: the Bazel build
dependencies need to be aligned. On Gerrit master the servlet-api-3_1
is renamed to servlet-api (see [1]): do the same on the JGit master
branch.

In addition, removing the version suffix from dependency rule makes
it much easier to upgrade. The actual reason the for the renaming it
in Gerrit core is upgrade attempt to servlet-api 4.0, done in [2].

[1] https://gerrit-review.googlesource.com/c/gerrit/+/238496
[2] https://gerrit-review.googlesource.com/c/gerrit/+/238383

Change-Id: I63c506da335deef54eb279879e897b427200797b
Signed-off-by: Luca Milanesio <luca.milanesio@gmail.com>
tags/v5.6.0.201911271000-m3
Luca Milanesio преди 4 години
родител
ревизия
3b5a4416aa
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1
    1
      WORKSPACE
  2. 1
    1
      lib/BUILD

+ 1
- 1
WORKSPACE Целия файл

@@ -100,7 +100,7 @@ maven_jar(
)

maven_jar(
name = "servlet-api-3_1",
name = "servlet-api",
artifact = "javax.servlet:javax.servlet-api:3.1.0",
sha1 = "3cd63d075497751784b2fa84be59432f4905bf7c",
)

+ 1
- 1
lib/BUILD Целия файл

@@ -224,7 +224,7 @@ java_library(
"//org.eclipse.jgit.lfs.server.test:__pkg__",
"//org.eclipse.jgit.pgm:__pkg__",
],
exports = ["@servlet-api-3_1//jar"],
exports = ["@servlet-api//jar"],
)

java_library(

Loading…
Отказ
Запис