From 93f7fc85e0c808b358a507a8536396e85a8dcdc3 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Wed, 18 Sep 2019 08:45:45 +0900 Subject: [PATCH] Fix the license for mockito Mockito is not licensed under Apache 2, but the MIT license [1]. [1] https://github.com/mockito/mockito/blob/release/2.x/LICENSE Change-Id: I5ed23299c7ef1d67860b84ccfd60751bc2ab15bd --- lib/LICENSE-mockito | 21 +++++++++++++++++++++ lib/mockito/BUILD | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 lib/LICENSE-mockito diff --git a/lib/LICENSE-mockito b/lib/LICENSE-mockito new file mode 100644 index 0000000000..5a311f7c5c --- /dev/null +++ b/lib/LICENSE-mockito @@ -0,0 +1,21 @@ +The MIT License + +Copyright (c) 2007 Mockito contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/lib/mockito/BUILD b/lib/mockito/BUILD index cfec8a0ded..cff36cd019 100644 --- a/lib/mockito/BUILD +++ b/lib/mockito/BUILD @@ -7,7 +7,7 @@ package( java_library( name = "mockito", - data = ["//lib:LICENSE-Apache2.0"], + data = ["//lib:LICENSE-mockito"], # Only exposed for plugin tests; core tests should use Easymock visibility = ["//java/com/google/gerrit/acceptance:__pkg__"], exports = ["@mockito//jar"],