Adjust gerrit master branch
diff --git a/.travis.yml b/.travis.yml
index 7a60883..60e4a93 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,13 +2,7 @@
jdk:
- oraclejdk7
- openjdk7
-env:
- matrix:
- - API_VERSION=2.8
- - API_VERSION=2.8.1
before_build: ./script/before_build.sh
-script:
- - mvn package -DGerrit-ApiVersion=$API_VERSION
- - ./script/build.sh $API_VERSION
+script: ./script/build.sh
diff --git a/BUCK b/BUCK
index 3b99105..4024ba6 100644
--- a/BUCK
+++ b/BUCK
@@ -10,10 +10,12 @@
'Gerrit-PluginName: rabbitmq',
'Gerrit-Module: com.googlesource.gerrit.plugins.rabbitmq.Module',
],
- deps = [
+ compile_deps = [
'//lib/commons:lang',
'//lib/commons:codec',
'//lib:gson',
+ ],
+ deps = [
':rabbitmq-amqp-client',
],
)
diff --git a/README.md b/README.md
index 66971fe..27ab4de 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,8 @@
This plugin works on Gerrit 2.8 or later.
+*NOTE*: Here is `dev` branch. This is available on master in gerrit. Supported Buck build only.
+
About Buck
---------------------
@@ -23,7 +25,7 @@
you need to setup it referring [Building with Buck] in gerrit documentation.
[Buck]: http://facebook.github.io/buck/
-[Building with Buck]: https://gerrit-documentation.storage.googleapis.com/Documentation/2.8.2/dev-buck.html
+[Building with Buck]: https://gerrit-documentation.storage.googleapis.com/Documentation/2.8.3/dev-buck.html
Environments
@@ -47,28 +49,11 @@
To build plugin with buck
- git clone https://gerrit.googlesource.com/gerrit -b v2.8.3
+ git clone https://gerrit.googlesource.com/gerrit
ln -s $(pwd) gerrit/plugins/rabbitmq
cd gerrit
buck build plugins/rabbitmq:rabbitmq
-Using another version API
---------------------------
-
-* For `maven`
-
-Now avaliable for Gerrit 2.8.3 only. If you want to use it on another version of Gerrit, please try the below.
-
- mvn package -DGerrit-ApiVersion=2.8
-
-* For `buck`
-
-After clone gerrit, you can checkout specified version.
-
- git checkout -b 2.8 refs/tags/v2.8
-
-*NOTE*: If you want to build on master, please switch `dev` branch in this repository.
-
Reference
---------------------
diff --git a/script/build.sh b/script/build.sh
index d73c99a..6af7237 100755
--- a/script/build.sh
+++ b/script/build.sh
@@ -4,9 +4,9 @@
VERSION=$1
# Checkout tag
-cd gerrit
-git checkout -b ${VERSION} refs/tags/v${VERSION}
-cd ..
+#cd gerrit
+#git checkout -b ${VERSION} refs/tags/v${VERSION}
+#cd ..
# Add Symbolic link
ln -fns ${ROOT} gerrit/plugins/rabbitmq