Re: bug? strange resolution of commons-logging dependency

2009-07-01 Thread Mark Hobson
2009/7/1 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

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 v

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 tree

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 *neve

Re: bug? strange resolution of commons-logging dependency

2009-06-30 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

Re: bug? strange resolution of commons-logging dependency

2009-06-30 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 w

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 clos

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 seem

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

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 t

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/

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: > > 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-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 htmlu

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

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 t

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: > > http://maven.apache.org/POM/4.0.0"; >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >

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: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http:/