gerrit/lib
Marco Miller 3420d83f39 Exclude bouncycastle key files to fix SecurityException upon plugin-api
Exclude the 2 bouncycastle key files from the 2 downloaded jar files
that are repackaged into our gerrit plugin-api jar. Do so in order to
fix a SecurityException [1] thrown upon using the plugin api from plugin
IT tests [2] in standalone (non-tree) mode.

Indeed, BCKEY.DSA and BCKEY.SF used to be repackaged under META-INF/ in
our gerrit plugin-api jar. Doing so caused that exception [1], as such
BCKEY files did not properly sign our built plugin-api jar; they
strictly belonged to their 2 mother bouncycastle jar files. Our jar used
to have 2 sets of such key files, one set coming from bcprov and the
other from bcpg (the 2 bouncycastle libs involved herein). This fix
removes them all 4 (BC key files) from the resulting plugin-api jar:

jar tvf gerrit-plugin-api-2.12-SNAPSHOT.jar | grep BCKEY
=> (before this fix)
 26965 Sun Mar 01 12:09:10 EST 2015 META-INF/BCKEY.SF
  2219 Sun Mar 01 12:09:10 EST 2015 META-INF/BCKEY.DSA
269297 Sun Mar 01 12:09:32 EST 2015 META-INF/BCKEY.SF
  2219 Sun Mar 01 12:09:32 EST 2015 META-INF/BCKEY.DSA

This fix is first for plugin IT tests [2], which expose this issue as
the first 'pure' plugin-api jar loaders. Such BC libs started to be
-needfully- introduced in acceptance testing by commit ed170f3.

[1] java.lang.SecurityException: Invalid signature file digest for
Manifest main attributes

[2] https://gerrit-review.googlesource.com/#/q/topic:Plugin-IT-tests

Change-Id: Iea2c61ea026e8ee17684a82f0ec41d77d30e02e5
2015-09-03 14:45:51 -04:00
..
antlr Bump antlr to version 3.5.2 2015-01-07 00:46:18 +00:00
asciidoctor Merge Lucene core and backward-codecs jars 2015-09-01 14:34:25 -04:00
auto Update AutoValue to 1.1 2015-08-28 09:54:52 +09:00
bouncycastle Exclude bouncycastle key files to fix SecurityException upon plugin-api 2015-09-03 14:45:51 -04:00
codemirror Update CodeMirror to 5.5.0 2015-07-24 18:02:09 -07:00
commons Remove unnecessary dependency on commons-io 2015-07-30 21:54:17 +09:00
easymock Bump to powermock 1.6.2 and to compatible easymock 3.3.1 2015-06-09 02:12:45 +00:00
guice Update Guice to version 4.0 2015-05-08 10:29:30 +00:00
gwt Remove org.json:json and fix gwt-dev deps 2015-06-25 10:03:24 -07:00
httpcomponents Use httpcomponents fluent API in acceptance tests 2015-05-28 17:15:36 +09:00
jetty Update Jetty to 9.2.12.v20150709 2015-07-29 11:07:47 +09:00
jgit Update JGit to 4.0.1.201506240215-r.94-g39dc898 2015-07-15 19:58:35 -07:00
joda Upgrade joda-time to 2.8 2015-06-24 14:59:50 +09:00
log Package jsonevent-layout with war 2015-04-29 13:26:01 +00:00
lucene Merge Lucene core and backward-codecs jars 2015-09-01 14:34:25 -04:00
mina Revert "Downgrade SSHD to 0.9.0-4-g5967cfd" 2015-04-06 12:26:07 +09:00
openid Move httpcomponents libraries out of lib/commons to lib/httpcomponents 2014-09-17 17:55:17 +09:00
ow2 Remove org.json:json and fix gwt-dev deps 2015-06-25 10:03:24 -07:00
powermock Bump to powermock 1.6.2 and to compatible easymock 3.3.1 2015-06-09 02:12:45 +00:00
prolog Use try-with-resources statements 2015-06-23 21:11:57 +02:00
BUCK Add support for DB2 database 2015-07-29 15:45:20 +09:00
LICENSE-antlr Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-Apache1.1 Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-Apache2.0 Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-args4j Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-automaton Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-bouncycastle Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-CC-BY3.0 Document diffy logo is CC-BY 3.0 2013-08-21 08:57:42 -07:00
LICENSE-clippy Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-codemirror Async load popular modes into CodeMirror 2013-05-21 11:01:26 -07:00
LICENSE-diffy Document diffy logo is CC-BY 3.0 2013-08-21 08:57:42 -07:00
LICENSE-DO_NOT_DISTRIBUTE Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-freebie_application_icon_set Show link on hover for headings and anchors in documentation 2014-12-09 01:14:32 +00:00
LICENSE-h2 Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-jgit Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-jsch Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-MPL1.1 Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-ow2 Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-postgresql Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-prologcafe Update license text for PrologCafe 2013-05-13 09:44:25 -07:00
LICENSE-protobuf Add dependency on the Google protocol buffer library 2013-09-10 15:59:25 -07:00
LICENSE-PublicDomain Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-slf4j Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-xz Download commands: Add JGit archive 2014-03-03 23:34:46 +00:00
local.defs Buck: Align gerrit build interface to bucklets 2014-09-09 13:20:47 +00:00
maven.defs Merge Lucene core and backward-codecs jars 2015-09-01 14:34:25 -04:00