Author: cziegeler
Date: Tue Mar 9 13:59:45 2010
New Revision: 920878
URL: http://svn.apache.org/viewvc?rev=920878&view=rev
Log:
Add dependency to slf4j to avoid problems with static loggers.
Modified:
sling/trunk/parent/pom.xml
Modified: sling/trunk/parent/pom.xml
URL:
http://svn.apache.org/viewvc/sling/trunk/parent/pom.xml?rev=920878&r1=920877&r2=920878&view=diff
==============================================================================
--- sling/trunk/parent/pom.xml (original)
+++ sling/trunk/parent/pom.xml Tue Mar 9 13:59:45 2010
@@ -212,6 +212,19 @@ MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=128
<groupId>org.apache.felix</groupId>
<artifactId>maven-scr-plugin</artifactId>
<version>1.4.2</version>
+ <!-- As QDox is trying to inspect/load the classes
+ we have to add a slf4j implementation to the
+ class path of the plugin - we usually use
+ a static field for the logger and during class
+ loading this field requires an slf4j implementation!
+ -->
+ <dependencies>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ <version>1.5.2</version>
+ </dependency>
+ </dependencies>
<executions>
<execution>
<id>generate-scr-scrdescriptor</id>