Просмотр исходного кода

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 лет назад
Родитель
Сommit
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(

Загрузка…
Отмена
Сохранить