Include missing libs to fix test execution

Test were broken in the standalone buck build and in maven build. They were
only running in the in-tree buck build.

Also update the Gerrit-ApiVersion in the pom.xml to match the
Gerrit-ApiVersion of the Buck build.

Change-Id: I1b5d023803b1fbb2086c7db80c0df812181bd981
diff --git a/lib/log/BUCK b/lib/log/BUCK
new file mode 100644
index 0000000..be5cac5
--- /dev/null
+++ b/lib/log/BUCK
@@ -0,0 +1,21 @@
+include_defs('//bucklets/maven_jar.bucklet')
+
+VER = '1.7.7'
+
+maven_jar(
+  name = 'impl_log4j',
+  id = 'org.slf4j:slf4j-log4j12:' + VER,
+  sha1 = '58f588119ffd1702c77ccab6acb54bfb41bed8bd',
+  license = 'slf4j',
+  deps = [':log4j'],
+  attach_source = False,
+)
+
+maven_jar(
+  name = 'log4j',
+  id = 'log4j:log4j:1.2.17',
+  sha1 = '5af35056b4d257e4b64b9e8069c0746e8b08629f',
+  license = 'Apache2.0',
+  exclude = ['META-INF/LICENSE', 'META-INF/NOTICE'],
+  attach_source = False,
+)
diff --git a/pom.xml b/pom.xml
index 31cbbaa..514b06a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
 
   <properties>
     <Gerrit-ApiType>plugin</Gerrit-ApiType>
-    <Gerrit-ApiVersion>2.10-SNAPSHOT</Gerrit-ApiVersion>
+    <Gerrit-ApiVersion>2.11-SNAPSHOT</Gerrit-ApiVersion>
   </properties>
 
   <build>
@@ -86,6 +86,18 @@
       <version>3.2</version>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <version>1.2.17</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-log4j12</artifactId>
+      <version>1.7.7</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
   <repositories>