summaryrefslogtreecommitdiffstats
path: root/gerrit-extension-api/pom.xml
diff options
context:
space:
mode:
authorLuca Milanesio <luca.milanesio@gmail.com>2012-06-24 21:39:39 +0100
committerLuca Milanesio <luca.milanesio@gmail.com>2012-06-27 17:31:53 +0100
commitc0732b13010b1d83dccf6d69002a1653087ad24e (patch)
treedd5620a36712c707bb3404e396ce3c2b3f223fc1 /gerrit-extension-api/pom.xml
parent9d92e48ab03aa6e87cd0234d1e86b9bc32a84ac1 (diff)
Additional log on plug-in self-registration and failures.
Whenever a new class is self-registered from a plug-in additional INFO message is displayed with class name and listener / exported interface. Additionally when a Listener fails to get created from injection into a DynamicSet, an error is logged allowing the plug-in developer to understand what was the problem. Without this patch, you may see your plus-in loading correctly but then the listeners being discarded silently and you would spend a lot of time figuring out where the problem was. Change-Id: Ief3d3c5a3012136f73296a3afa5c85c22fc38bb7
Diffstat (limited to 'gerrit-extension-api/pom.xml')
-rw-r--r--gerrit-extension-api/pom.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/gerrit-extension-api/pom.xml b/gerrit-extension-api/pom.xml
index ff672d5cc8..66f77e5175 100644
--- a/gerrit-extension-api/pom.xml
+++ b/gerrit-extension-api/pom.xml
@@ -47,6 +47,11 @@ limitations under the License.
<groupId>org.apache.tomcat</groupId>
<artifactId>servlet-api</artifactId>
</dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
</dependencies>
<build>