Closed GoogleCodeExporter closed 9 years ago
Another problem is just found: dom4j is not optional!
The pom says:
<!-- effectively needed when XmlSerilizer is used -->
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>1.6</version>
<!--<scope>runtime</scope>-->
<optional/>
</dependency>
I manually excluded it and got an exeption when i called it like this:
Reflections refl = new Reflections("my.package");
=>
java.lang.NoClassDefFoundError: org/dom4j/DocumentException
at org.reflections.util.ConfigurationBuilder.<init>(ConfigurationBuilder.java:48)
at org.reflections.Reflections$1.<init>(Reflections.java:99)
Original comment by d.pet...@gmail.com
on 18 Jun 2010 at 10:57
IMO library should depend only on sfl4j-api. Otherwise user of such library is
forced to exclude default logger implementations in pom. I propose to mark
logback dependencies with scope test, and use them only for unit testing.
Original comment by hsh...@gmail.com
on 5 Aug 2010 at 9:49
fixed on trunk
Original comment by ronm...@gmail.com
on 12 May 2011 at 8:28
Original issue reported on code.google.com by
d.pet...@gmail.com
on 18 Jun 2010 at 10:26