Last active
August 29, 2015 14:06
-
-
Save Aricg/3b313e5595afa19bb17c to your computer and use it in GitHub Desktop.
Build its-Bugzilla for gerrit 2.9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Configuring buck not included) | |
git clone --recursive -b stable-2.9 https://gerrit.googlesource.com/gerrit | |
buck build api | |
buck build api_install | |
cd buck-out/gen/gerrit-plugin-api/ | |
mvn install:install-file \ | |
-DgroupId=com.google.gerrit \ | |
-DartifactId=gerrit-plugin-api \ | |
-Dversion=2.9 \ | |
-Dpackaging=jar \ | |
-Dfile=plugin-api.jar | |
git clone https://gerrit.googlesource.com/plugins/its-base && cd its-base | |
git checkout a7faba399fc56e1dd72837f797369611832e2cb4 | |
sed -i s/SNAPSHOT//g pom.xml | |
sed -i s/SNAPSHOT//g its-base/pom.xml | |
mvn install -DskipTests=true -Dmaven.javadoc.skip=true | |
[INFO] BUILD SUCCESS | |
git clone https://gerrit.googlesource.com/plugins/its-bugzilla && cd its-bugzilla | |
sed -i s/SNAPSHOT//g pom.xml | |
mvn install -DskipTests=true -Dmaven.javadoc.skip=true | |
[INFO] BUILD SUCCESS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You don't need to do this manually,
buck build api_install
does just that.