Don't shade org.eclipse.jgit.transport package

Since JGit 3.4 release TransportHttp supports setting additional HTTP
headers. We can use this extension API to avoid subclassing that class
and set header for bearer token authentication.

Given that the ctor of TransportHttp is package-private the eclipse
transport package was shaded.  This introduced access violation problem
when different classloaders were involved. JGit library was loaded by
gerrit core classloader, but the pull-replication plugin was loaded by
plugin's own classloader.

Change-Id: I5fefcfd0e4317e5a082747aa0c8e71a8e64d4b75
5 files changed