Merge branch 'stable-2.11'

* stable-2.11:
  Remove support for deprecated config format

Change-Id: I94243d04aa167c5a7b846d0f16dbf9d7a65b506e
diff --git a/BUCK b/BUCK
index 4e69319..f2901e3 100644
--- a/BUCK
+++ b/BUCK
@@ -14,12 +14,12 @@
   ],
   deps = [
     ':amqp-client',
+    ':commons-io',
     ':guice-multibindings',
   ],
   provided_deps = [
     '//lib:gson',
     '//lib/commons:codec',
-    '//lib/commons:io',
     '//lib/commons:lang',
   ],
 )
@@ -39,9 +39,16 @@
 )
 
 maven_jar(
+  name = 'commons-io',
+  id = 'commons-io:commons-io:1.4',
+  sha1 = 'a8762d07e76cfde2395257a5da47ba7c1dbd3dce',
+  license = 'Apache2.0',
+)
+
+maven_jar(
   name = 'guice-multibindings',
-  id = 'com.google.inject.extensions:guice-multibindings:4.0-beta5',
-  sha1 = 'f432356db0a167127ffe4a7921238d7205b12682',
+  id = 'com.google.inject.extensions:guice-multibindings:4.0',
+  sha1 = 'f4509545b4470bbcc865aa500ad6fef2e97d28bf',
   license = 'Apache2.0',
   exclude_java_sources = True,
   exclude = [
diff --git a/lib/gerrit/BUCK b/lib/gerrit/BUCK
index 96d016a..85b90a8 100644
--- a/lib/gerrit/BUCK
+++ b/lib/gerrit/BUCK
@@ -1,12 +1,11 @@
 include_defs('//bucklets/maven_jar.bucklet')
 
-VER = '2.11'
-REPO = MAVEN_CENTRAL
+VER = '2.12-SNAPSHOT'
+REPO = MAVEN_LOCAL
 
 maven_jar(
   name = 'plugin-api',
   id = 'com.google.gerrit:gerrit-plugin-api:' + VER,
-  sha1 = 'be80ff991f7b9f8669b7a2a399003ec1ae69ed31',
   license = 'Apache2.0',
   attach_source = False,
   repository = REPO,
diff --git a/src/main/java/com/googlesource/gerrit/plugins/rabbitmq/worker/UserEventWorker.java b/src/main/java/com/googlesource/gerrit/plugins/rabbitmq/worker/UserEventWorker.java
index 3f63b79..2beee41 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/rabbitmq/worker/UserEventWorker.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/rabbitmq/worker/UserEventWorker.java
@@ -82,7 +82,7 @@
             .setContext(new RequestContext() {
 
               @Override
-              public CurrentUser getCurrentUser() {
+              public CurrentUser getUser() {
                 return pluginUser;
               }