Преглед изворни кода

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…
Откажи
Сачувај