3420d83f39
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
|
||
---|---|---|
.. | ||
antlr | ||
asciidoctor | ||
auto | ||
bouncycastle | ||
codemirror | ||
commons | ||
easymock | ||
guice | ||
gwt | ||
httpcomponents | ||
jetty | ||
jgit | ||
joda | ||
log | ||
lucene | ||
mina | ||
openid | ||
ow2 | ||
powermock | ||
prolog | ||
BUCK | ||
LICENSE-antlr | ||
LICENSE-Apache1.1 | ||
LICENSE-Apache2.0 | ||
LICENSE-args4j | ||
LICENSE-automaton | ||
LICENSE-bouncycastle | ||
LICENSE-CC-BY3.0 | ||
LICENSE-clippy | ||
LICENSE-codemirror | ||
LICENSE-diffy | ||
LICENSE-DO_NOT_DISTRIBUTE | ||
LICENSE-freebie_application_icon_set | ||
LICENSE-h2 | ||
LICENSE-jgit | ||
LICENSE-jsch | ||
LICENSE-MPL1.1 | ||
LICENSE-ow2 | ||
LICENSE-postgresql | ||
LICENSE-prologcafe | ||
LICENSE-protobuf | ||
LICENSE-PublicDomain | ||
LICENSE-slf4j | ||
LICENSE-xz | ||
local.defs | ||
maven.defs |