Re: bug? strange resolution of commons-logging dependency

2009-07-01 Thread Jörg Schaible
Rusty Wright wrote at Mittwoch, 1. Juli 2009 00:15: This may be a dumb or inappropriate question, but why does Tomcat need commons logging? Why can't it just use java util logging? Who did mention Tomcat in this thread? And no, recent versions of Tomcat use their own logging framework JULI

Re: bug? strange resolution of commons-logging dependency

2009-07-01 Thread Jörg Schaible
Lucas Bergman wrote at Dienstag, 30. Juni 2009 21:49: Dennis Lundberg wrote: Lucas Bergman wrote: Running this test with Maven 2.1.0 fails: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory [ ... ] The POM for htmlunit 2.5 declares commons-logging 1.1.1 as a

Re: bug? strange resolution of commons-logging dependency

2009-07-01 Thread Ceki Gulcu
Lucas Bergman wrote: Dennis Lundberg wrote: That is your problem. What this does is mess the dependency-tree. It removes commons-logging from the dependency tree because that version 99.0-... is larger than the latest current release of commons-logging. The 99.0-... version should *never

Re: bug? strange resolution of commons-logging dependency

2009-07-01 Thread Ceki Gulcu
I forgot to mention that my tests were conducted using Maven 2.0.9. I will redo the tests with Maven 2.2.0. Ceki Gulcu wrote: Lucas Bergman wrote: Dennis Lundberg wrote: That is your problem. What this does is mess the dependency-tree. It removes commons-logging from the dependency

Re: bug? strange resolution of commons-logging dependency

2009-07-01 Thread Ceki Gulcu
Using Maven 2.2.0, the behavior remains the same as with Maven 2.0.9. Moreover, if you remove the dependency on net.sf.ehcache:ehcache:1.6.0 from the pom file for htmlunitbug, then the test passes (with the original pom files for hibernate-ehcache hibernate-parent referencing commons-logging

Re: bug? strange resolution of commons-logging dependency

2009-07-01 Thread Mark Hobson
2009/7/1 Ceki Gulcu c...@qos.ch: Using Maven 2.2.0, the behavior remains the same as with Maven 2.0.9. Moreover, if you remove the dependency on net.sf.ehcache:ehcache:1.6.0 from the pom file for htmlunitbug, then the test passes (with the original pom files for hibernate-ehcache

Re: bug? strange resolution of commons-logging dependency

2009-06-30 Thread Dennis Lundberg
Lucas Bergman wrote: I ran into a strange dependency resolution problem at work, which a colleague and I whittled down to a fairly simple test case. Consider the following POM: project xmlns=http://maven.apache.org/POM/4.0.0;

Re: bug? strange resolution of commons-logging dependency

2009-06-30 Thread Jörg Schaible
Lucas Bergman wrote at Montag, 29. Juni 2009 18:11: Jörg Schaible wrote: Lucas Bergman wrote: Jörg Schaible wrote: Lucas Bergman wrote: Running this test with Maven 2.1.0 fails: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory [ ... ]

Re: bug? strange resolution of commons-logging dependency

2009-06-30 Thread Ceki Gulcu
Jörg Schaible wrote: You've been right, I should have read your question closer. See Dennis' answer. Actually there was an attempt to release an official empty commons-logging at Apache recently and it was tunred down exactly because we could foresee this problem you're facing now :-/ Note

Re: bug? strange resolution of commons-logging dependency

2009-06-30 Thread Jörg Schaible
Hi Ceki, Ceki Gulcu wrote at Dienstag, 30. Juni 2009 16:45: Jörg Schaible wrote: You've been right, I should have read your question closer. See Dennis' answer. Actually there was an attempt to release an official empty commons-logging at Apache recently and it was tunred down exactly

Re: bug? strange resolution of commons-logging dependency

2009-06-30 Thread Lucas Bergman
Dennis Lundberg wrote: Lucas Bergman wrote: Running this test with Maven 2.1.0 fails: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory [ ... ] The POM for htmlunit 2.5 declares commons-logging 1.1.1 as a (compile-scope) dependency, so this seems wrong.

Re: bug? strange resolution of commons-logging dependency

2009-06-30 Thread Rusty Wright
This may be a dumb or inappropriate question, but why does Tomcat need commons logging? Why can't it just use java util logging? Jörg Schaible wrote: Hi Ceki, Ceki Gulcu wrote at Dienstag, 30. Juni 2009 16:45: Jörg Schaible wrote: You've been right, I should have read your question

Re: bug? strange resolution of commons-logging dependency

2009-06-29 Thread Lucas Bergman
Jörg Schaible wrote: Lucas Bergman wrote: Running this test with Maven 2.1.0 fails: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory [ ... ] The POM for htmlunit 2.5 declares commons-logging 1.1.1 as a (compile-scope) dependency, so this seems wrong.

Re: bug? strange resolution of commons-logging dependency

2009-06-29 Thread Jörg Schaible
Lucas Bergman wrote at Montag, 29. Juni 2009 15:25: Jörg Schaible wrote: Lucas Bergman wrote: Running this test with Maven 2.1.0 fails: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory [ ... ] The POM for htmlunit 2.5 declares commons-logging 1.1.1

Re: bug? strange resolution of commons-logging dependency

2009-06-29 Thread Lucas Bergman
Jörg Schaible wrote: Lucas Bergman wrote: Jörg Schaible wrote: Lucas Bergman wrote: Running this test with Maven 2.1.0 fails: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory [ ... ] The POM for htmlunit 2.5 declares commons-logging

bug? strange resolution of commons-logging dependency

2009-06-26 Thread Lucas Bergman
I ran into a strange dependency resolution problem at work, which a colleague and I whittled down to a fairly simple test case. Consider the following POM: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: bug? strange resolution of commons-logging dependency

2009-06-26 Thread Jörg Schaible
Lucas Bergman wrote: I ran into a strange dependency resolution problem at work, which a colleague and I whittled down to a fairly simple test case. Consider the following POM: project xmlns=http://maven.apache.org/POM/4.0.0;