Stop shipping core dependencies within plugin jar

As plugin(s) should not include dependencies provided by gerrit core.

This is a cherry-pick of the downstream commit ebbff943, which was not
integrated by the latest merge. However this is an adaptation that keeps
shipping the postgresql dependency, as that one is no longer included in
core.

Change-Id: Ib253b57929a39f66d951c3e875b83f53f08669f0
1 file changed