= Deploy Gerrit Artifacts Gerrit Artifacts are stored on link:https://developers.google.com/storage/[Google Cloud Storage]. Via the link:https://code.google.com/apis/console/?noredirect[API Console] the Gerrit maintainers have access to the `Gerrit Code Review` project. This projects host several buckets for storing Gerrit artifacts: * `gerrit-api`: + Bucket to store the Gerrit Extension API Jar and the Gerrit Plugin API Jar. * `gerrit-maven`: + Bucket to store Gerrit Subproject Artifacts (e.g. `gwtjsonrpc` etc.). [[deploy-configuration-settings-xml]] == Deploy Configuration in Maven `settings.xml` To upload artifacts to a bucket the user must authenticate with a username and password. The username and password need to be retrieved from the link:https://code.google.com/apis/console/?noredirect[API Console]: * Go to the `Gerrit Code Review` project * In the menu on the left select `Google Cloud Storage` > `Interoperable Access` * Use the `Access Key` as username * Click under `Secret` on the `Show` button to find the password To make the username and password known to Maven, they must be configured in the `~/.m2/settings.xml` file. ---- gerrit-api-repository GOOG..EXAMPLE.....EXAMPLE EXAMPLE..EXAMPLE..EXAMPLE gerrit-maven-repository GOOG..EXAMPLE.....EXAMPLE EXAMPLE..EXAMPLE..EXAMPLE gerrit-plugins-repository GOOG..EXAMPLE.....EXAMPLE EXAMPLE..EXAMPLE..EXAMPLE ---- [[deploy-configuration-subprojects]] === Gerrit Subprojects * You will need to have the following in the `pom.xml` to make it deployable to the `gerrit-maven` storage bucket: ---- gerrit-maven-repository Gerrit Maven Repository gs://gerrit-maven true ---- * Add this to the `pom.xml` to enable the wagon provider: ---- com.googlesource.gerrit gs-maven-wagon 3.3 ---- GERRIT ------ Part of link:index.html[Gerrit Code Review] SEARCHBOX ---------