Revert "Migrate from old-style legacy .java provider to the new JavaInfo."

As a result of this change the contents of the war file are different,
for example the postgresql library:



This causes the initialization of the site to fail when using the
postgres DB:

  fatal: Driver class org.postgresql.Driver not available
  fatal: Cannot connect to SQL database

This reverts commit c928ec3adc3286bf740d5c97b6ef0368ce29ee6a.

Change-Id: I3fd0695f12c87fe4a049ee30739ef8674b587c6e
1 file changed
tree: 8f503c8f5833d730fea4ce3c84105ccda4023d64
  1. .bazelproject
  2. .bazelrc
  3. .bazelversion
  4. .editorconfig
  5. .git-blame-ignore-revs
  6. .gitignore
  7. .gitmodules
  8. .mailmap
  9. .pydevproject
  10. .settings/
  11. 0001-Replace-native-http-git-_archive-with-Skylark-rules.patch
  12. BUILD
  14. Documentation/
  17. ReleaseNotes/
  20. contrib/
  21. gerrit-acceptance-framework/
  22. gerrit-acceptance-tests/
  23. gerrit-antlr/
  24. gerrit-cache-h2/
  25. gerrit-cache-mem/
  26. gerrit-common/
  27. gerrit-elasticsearch/
  28. gerrit-extension-api/
  29. gerrit-gpg/
  30. gerrit-gwtdebug/
  31. gerrit-gwtexpui/
  32. gerrit-gwtui-common/
  33. gerrit-gwtui/
  34. gerrit-httpd/
  35. gerrit-launcher/
  36. gerrit-lucene/
  37. gerrit-main/
  38. gerrit-oauth/
  39. gerrit-openid/
  40. gerrit-patch-commonsnet/
  41. gerrit-patch-jgit/
  42. gerrit-pgm/
  43. gerrit-plugin-api/
  44. gerrit-plugin-gwtui/
  45. gerrit-prettify/
  46. gerrit-reviewdb/
  47. gerrit-server/
  48. gerrit-sshd/
  49. gerrit-test-util/
  50. gerrit-util-cli/
  51. gerrit-util-http/
  52. gerrit-util-ssl/
  53. gerrit-war/
  54. lib/
  55. plugins/
  56. polygerrit-ui/
  57. tools/
  58. version.bzl
  59. website/

Gerrit Code Review

Gerrit is a code review and project management tool for Git based projects.

Build Status


Gerrit makes reviews easier by showing changes in a side-by-side display, and allowing inline comments to be added by any reviewer.

Gerrit simplifies Git based project maintainership by permitting any authorized user to submit changes to the master Git repository, rather than requiring all approved changes to be merged in by hand by the project maintainer.


For information about how to install and use Gerrit, refer to the documentation.


Our canonical Git repository is located on There is a mirror of the repository on Github.

Reporting bugs

Please report bugs on the issue tracker.


Gerrit is the work of hundreds of contributors. We appreciate your help!

Please read the contribution guidelines.

Note that we do not accept Pull Requests via the Github mirror.

Getting in contact

The IRC channel on freenode is #gerrit. An archive is available at:

The Developer Mailing list is repo-discuss on Google Groups.


Gerrit is provided under the Apache License 2.0.


Install Bazel and run the following:

    git clone --recursive
    cd gerrit && bazel build release

Install binary packages (Deb/Rpm)

The instruction how to configure GerritForge/BinTray repositories is here

On Debian/Ubuntu run:

    apt-get update & apt-get install gerrit=<version>-<release>

NOTE: release is a counter that starts with 1 and indicates the number of packages that have been released with the same version of the software.

On CentOS/RedHat run:

    yum clean all && yum install gerrit-<version>[-<release>]

On Fedora run:

    dnf clean all && dnf install gerrit-<version>[-<release>]

Use pre-built Gerrit images on Docker

Docker images of Gerrit are available on DockerHub

To run a CentOS 7 based Gerrit image:

    docker run -p 8080:8080 gerritforge/gerrit-centos7[:version]

To run a Ubuntu 15.04 based Gerrit image:

    docker run -p 8080:8080 gerritforge/gerrit-ubuntu15.04[:version]

NOTE: release is optional. Last released package of the version is installed if the release number is omitted.