Making a Gerrit Sub Project Release
===================================
Preparing a New Gerrit Subproject Snapshot for Publishing
---------------------------------------------------------
* You will need to have the following in the pom.xml to make it
deployable to the gerrit-maven storage bucket:
----
gerrit-maven
gerrit Maven Repository
s3://gerrit-maven@commondatastorage.googleapis.com
true
----
* Add this to the pom.xml to enable the wagon provider:
----
net.anzix.aws
s3-maven-wagon
3.2
----
* Add your username and password to your ~/.m2/settings.xml file.
These need to come from the link:https://code.google.com/apis/console/[API Console].
----
gerrit-maven
GOOG..EXAMPLE.....EXAMPLE
EXAMPLE..EXAMPLE..EXAMPLE
----
Making a Gerrit Subproject Snapshot
-----------------------------------
* First build and deploy the latest snapshot and ensure that Gerrit builds
with this snapshot
* Deploy the snapshot:
----
mvn deploy
----
Making a Gerrit Subproject Release
----------------------------------
* First deploy (and test) the latest snapshot for this subprojects
* Update the top level pom.xml in the subproject to reflect the new project
version (the exact value of the tag you will create below)
* Commit the pom change and push to the project's repo refs/for/
* Tag the version you just pushed (and push the tag)
* Deploy the new release:
----
mvn deploy
----