[Bug 31] New: LOGBack 0.6 Maven 2 build broken

http://bugzilla.qos.ch/show_bug.cgi?id=31 Summary: LOGBack 0.6 Maven 2 build broken Product: logback-general Version: unspecified Platform: All OS/Version: Windows Status: NEW Severity: blocker Priority: P1 Component: build-structure AssignedTo: logback-dev@qos.ch ReportedBy: tacpub@mac.com When I try to reference LOGBack 0.6 in my Maven 2 build, I'm unable to get it to work because the build structure is broken. Here is the message I get: Unable to get dependency information: Unable to read the metadata file for artifact 'org.slf4j:slf4j-api:jar': Cannot find parent: org.slf4j:slf4j-parent for project: org.slf4j:slf4j-api:jar:1.1.0-RC0 org.slf4j:slf4j-api-1.1.0-RC0.jar I tried to remedy this by explicitly forcing slf4j 1.1.0-RC1, but the corrupt 1.1.0-RC0 structure prevents any use of LOGBack 0.6 in Maven 2. Upgrading the LOGBack 0.6 dependency files to use slf4j 1.1.0-RC1 will eliminate this problem. I don't know of any manageable workaround short of copying LOGBack to a local repository and manually pointing it away from the broken slfrj 1.1.0-RC0. -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=31 noreply.ceki@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from noreply.ceki@qos.ch 2006-12-15 20:04 ------- Hello Andy, This bug has been independently reported by another user. I also believe that we have fixed the problem in 0.7 which will be released on Monday.
I tried to remedy this by explicitly forcing slf4j 1.1.0-RC1, but the corrupt 1.1.0-RC0 structure prevents any use of LOGBack 0.6 in Maven 2.
When you say that you explicitly forced the use of slf4j 1.1.0-RC1, I suppose you mean setting the version in te pom file defining logback-parent. Correct? If so, changing the version to SLF4J 1.1.0-RC1 should cause SLF4J 1.1.0-RC0 to be ignored. Anyway, I'll test this shortly. -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=31 noreply.ceki@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |REMIND ------- Comment #2 from noreply.ceki@qos.ch 2006-12-15 20:15 ------- I just downloaded 0.6 from our site and the 'mvn package' command worked out of the box. So it appears that the bug was already fixed in 0.6. If my memory serves me correctly, the bug was reported the day after the 0.6 release. We fixed it without cutting a new release. You probably have an "old" copy of 0.6. Do you? By the way, we consider sneaking in new releasing without bumping the version number as bad practice. It's not something we intend to repeat in the future. My apologies for the inconvenience. In the mean time, I am closing this bug as "WORKSFORME". -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=31 tacpub@mac.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|REMIND | ------- Comment #3 from tacpub@mac.com 2006-12-15 21:07 ------- I should have been clearer about "build." What I really mean is that you can't include LOGBack 0.6 in another project because of this issue. LOGBack 0.5 works fine; I'm hoping it's really fixed in 0.7. It's not a versioning issue, I only downloaded 0.6 recently. If I include the following in my project, Maven will refuse to build it because of the error I mentioned earlier: <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>0.6</version> </dependency> When I say "explicitly forcing 1.1.0-RC1" doesn't work, I mean that adding exclusions for slf4j-api and/or slf4j-parent and specifying slf4j-1.1.0-RC1 as an explicit dependency doesn't help. There are problems with slf4j-1.1.0-RC0 that prevent including LOGBack 0.6 in a project. -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=31 ------- Comment #4 from tacpub@mac.com 2006-12-15 21:09 ------- One more note, it may be that you fixed this in the LOGBack distribution but didn't replace it on iBiblio. If that's the case, then I'll just wait for 0.7, which I hope will resolve this permanently. (And yes, 0.6.1 would've been a good idea.) -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=31 ------- Comment #5 from noreply.ceki@qos.ch 2006-12-15 21:20 ------- Yes, the problem can be traced to logback 0.6 as published in ibiblio. More specifically, in the file http://mirrors.ibiblio.org/pub/mirrors/maven2/ch/qos/logback/logback-parent/... 0.7 will be released on monday. :-) -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=31 noreply.ceki@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED ------- Comment #6 from noreply.ceki@qos.ch 2006-12-18 22:59 ------- Should now be fixed. -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
bugzilla-daemon@pixie.qos.ch