Maven Repository cannot resolve logback extensions

Upon adding the following to my pom.xml: <dependency> <groupId>org.logback-extensions</groupId> <artifactId>logback-ext-loggly</artifactId> <version>version</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-json-classic</artifactId> <version>version</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-jackson</artifactId> <version>version</version> <scope>runtime</scope> </dependency> I got this error while running mvn clean install: Failed to execute goal on project webapp: Could not resolve dependencies for project webapp:webapp:war:0.1-SNAPSHOT: The following artifacts could not be resolved: org.logback-extensions:logback-ext-loggly:jar:version, ch.qos.logback.contrib:logback-json-classic:jar:version, ch.qos.logback.contrib:logback-jackson:jar:version: Could not find artifact org.logback-extensions:logback-ext-loggly:jar:version in labs-consol-release (http://labs.consol.de/maven/repository) -> [Help 1] Seems like there might be a problem with the maven repository. Has anybody seen similar issues?

I'm no maven expert, but it looks like your version definitions are incorrect, I think you want something more like: (*Chris*) <dependency> <groupId>org.logback-extensions</groupId> <artifactId>logback-ext-loggly</artifactId> <version>*0.1.1*</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-json-classic</artifactId> <version>*0.1.2*</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-jackson</artifactId> <version>*0.1.2*</version> <scope>runtime</scope> </dependency> On Tue, Feb 25, 2014 at 11:47 AM, Fritz, Jonathan <jofritz@ea.com> wrote:
Upon adding the following to my pom.xml:
<dependency> <groupId>org.logback-extensions</groupId> <artifactId>logback-ext-loggly</artifactId> <version>version</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-json-classic</artifactId> <version>version</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-jackson</artifactId> <version>version</version> <scope>runtime</scope> </dependency>
I got this error while running mvn clean install:
Failed to execute goal on project webapp: Could not resolve dependencies for project webapp:webapp:war:0.1-SNAPSHOT: The following artifacts could not be resolved: org.logback-extensions:logback-ext-loggly:jar:version, ch.qos.logback.contrib:logback-json-classic:jar:version, ch.qos.logback.contrib:logback-jackson:jar:version: Could not find artifact org.logback-extensions:logback-ext-loggly:jar:version in labs-consol-release (http://labs.consol.de/maven/repository) -> [Help 1]
Seems like there might be a problem with the maven repository.
Has anybody seen similar issues?
_______________________________________________ Logback-user mailing list Logback-user@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user

Oh man, talk about selective illiteracy. That worked perfectly, thanks. May I suggest a clarification to the docs page that lists the current stable version so dumb people like me don't blindly copy and paste in the future? From: Chris Pratt <thechrispratt@gmail.com<mailto:thechrispratt@gmail.com>> Reply-To: logback users list <logback-user@qos.ch<mailto:logback-user@qos.ch>> Date: Tuesday, February 25, 2014 at 2:53 PM To: logback users list <logback-user@qos.ch<mailto:logback-user@qos.ch>> Subject: Re: [logback-user] Maven Repository cannot resolve logback extensions I'm no maven expert, but it looks like your version definitions are incorrect, I think you want something more like: (*Chris*) <dependency> <groupId>org.logback-extensions</groupId> <artifactId>logback-ext-loggly</artifactId> <version>0.1.1</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-json-classic</artifactId> <version>0.1.2</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-jackson</artifactId> <version>0.1.2</version> <scope>runtime</scope> </dependency> On Tue, Feb 25, 2014 at 11:47 AM, Fritz, Jonathan <jofritz@ea.com<mailto:jofritz@ea.com>> wrote: Upon adding the following to my pom.xml: <dependency> <groupId>org.logback-extensions</groupId> <artifactId>logback-ext-loggly</artifactId> <version>version</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-json-classic</artifactId> <version>version</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-jackson</artifactId> <version>version</version> <scope>runtime</scope> </dependency> I got this error while running mvn clean install: Failed to execute goal on project webapp: Could not resolve dependencies for project webapp:webapp:war:0.1-SNAPSHOT: The following artifacts could not be resolved: org.logback-extensions:logback-ext-loggly:jar:version, ch.qos.logback.contrib:logback-json-classic:jar:version, ch.qos.logback.contrib:logback-jackson:jar:version: Could not find artifact org.logback-extensions:logback-ext-loggly:jar:version in labs-consol-release (http://labs.consol.de/maven/repository) -> [Help 1] Seems like there might be a problem with the maven repository. Has anybody seen similar issues? _______________________________________________ Logback-user mailing list Logback-user@qos.ch<mailto:Logback-user@qos.ch> http://mailman.qos.ch/mailman/listinfo/logback-user

While I'm bothering everybody, there was a pull request merged into the library about a year ago<https://github.com/qos-ch/logback-extensions/pull/5> that was supposed to have added burst mode support, but I can't find any docs on how to enable batch mode. When I run the library as configured in the existing docs, I see what appear to be individual requests sent to Loggly for each log message. On a related note, is there any way to toggle SSL for debugging purposes? From: <Fritz>, Jonathan Fritz <jofritz@ea.com<mailto:jofritz@ea.com>> Reply-To: logback users list <logback-user@qos.ch<mailto:logback-user@qos.ch>> Date: Tuesday, February 25, 2014 at 3:07 PM To: logback users list <logback-user@qos.ch<mailto:logback-user@qos.ch>> Subject: Re: [logback-user] Maven Repository cannot resolve logback extensions Oh man, talk about selective illiteracy. That worked perfectly, thanks. May I suggest a clarification to the docs page that lists the current stable version so dumb people like me don't blindly copy and paste in the future? From: Chris Pratt <thechrispratt@gmail.com<mailto:thechrispratt@gmail.com>> Reply-To: logback users list <logback-user@qos.ch<mailto:logback-user@qos.ch>> Date: Tuesday, February 25, 2014 at 2:53 PM To: logback users list <logback-user@qos.ch<mailto:logback-user@qos.ch>> Subject: Re: [logback-user] Maven Repository cannot resolve logback extensions I'm no maven expert, but it looks like your version definitions are incorrect, I think you want something more like: (*Chris*) <dependency> <groupId>org.logback-extensions</groupId> <artifactId>logback-ext-loggly</artifactId> <version>0.1.1</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-json-classic</artifactId> <version>0.1.2</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-jackson</artifactId> <version>0.1.2</version> <scope>runtime</scope> </dependency> On Tue, Feb 25, 2014 at 11:47 AM, Fritz, Jonathan <jofritz@ea.com<mailto:jofritz@ea.com>> wrote: Upon adding the following to my pom.xml: <dependency> <groupId>org.logback-extensions</groupId> <artifactId>logback-ext-loggly</artifactId> <version>version</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-json-classic</artifactId> <version>version</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-jackson</artifactId> <version>version</version> <scope>runtime</scope> </dependency> I got this error while running mvn clean install: Failed to execute goal on project webapp: Could not resolve dependencies for project webapp:webapp:war:0.1-SNAPSHOT: The following artifacts could not be resolved: org.logback-extensions:logback-ext-loggly:jar:version, ch.qos.logback.contrib:logback-json-classic:jar:version, ch.qos.logback.contrib:logback-jackson:jar:version: Could not find artifact org.logback-extensions:logback-ext-loggly:jar:version in labs-consol-release (http://labs.consol.de/maven/repository) -> [Help 1] Seems like there might be a problem with the maven repository. Has anybody seen similar issues? _______________________________________________ Logback-user mailing list Logback-user@qos.ch<mailto:Logback-user@qos.ch> http://mailman.qos.ch/mailman/listinfo/logback-user

I found configuration options for batch mode in the Javadoc of the pull request and added the documentation to the appropriate wiki page. Everything worked as expected, but I've encountered a problem with the way that Loggly interprets the batch data. It appears to treat all log events sent in a batch request as a single event. I've created a bug for this on the github page: https://github.com/qos-ch/logback-extensions/issues/17 From: <Fritz>, Jonathan Fritz <jofritz@ea.com<mailto:jofritz@ea.com>> Reply-To: logback users list <logback-user@qos.ch<mailto:logback-user@qos.ch>> Date: Tuesday, February 25, 2014 at 3:27 PM To: logback users list <logback-user@qos.ch<mailto:logback-user@qos.ch>> Subject: Re: [logback-user] Maven Repository cannot resolve logback extensions While I'm bothering everybody, there was a pull request merged into the library about a year ago<https://github.com/qos-ch/logback-extensions/pull/5> that was supposed to have added burst mode support, but I can't find any docs on how to enable batch mode. When I run the library as configured in the existing docs, I see what appear to be individual requests sent to Loggly for each log message. On a related note, is there any way to toggle SSL for debugging purposes? From: <Fritz>, Jonathan Fritz <jofritz@ea.com<mailto:jofritz@ea.com>> Reply-To: logback users list <logback-user@qos.ch<mailto:logback-user@qos.ch>> Date: Tuesday, February 25, 2014 at 3:07 PM To: logback users list <logback-user@qos.ch<mailto:logback-user@qos.ch>> Subject: Re: [logback-user] Maven Repository cannot resolve logback extensions Oh man, talk about selective illiteracy. That worked perfectly, thanks. May I suggest a clarification to the docs page that lists the current stable version so dumb people like me don't blindly copy and paste in the future? From: Chris Pratt <thechrispratt@gmail.com<mailto:thechrispratt@gmail.com>> Reply-To: logback users list <logback-user@qos.ch<mailto:logback-user@qos.ch>> Date: Tuesday, February 25, 2014 at 2:53 PM To: logback users list <logback-user@qos.ch<mailto:logback-user@qos.ch>> Subject: Re: [logback-user] Maven Repository cannot resolve logback extensions I'm no maven expert, but it looks like your version definitions are incorrect, I think you want something more like: (*Chris*) <dependency> <groupId>org.logback-extensions</groupId> <artifactId>logback-ext-loggly</artifactId> <version>0.1.1</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-json-classic</artifactId> <version>0.1.2</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-jackson</artifactId> <version>0.1.2</version> <scope>runtime</scope> </dependency> On Tue, Feb 25, 2014 at 11:47 AM, Fritz, Jonathan <jofritz@ea.com<mailto:jofritz@ea.com>> wrote: Upon adding the following to my pom.xml: <dependency> <groupId>org.logback-extensions</groupId> <artifactId>logback-ext-loggly</artifactId> <version>version</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-json-classic</artifactId> <version>version</version> <scope>runtime</scope> </dependency> <dependency> <groupId>ch.qos.logback.contrib</groupId> <artifactId>logback-jackson</artifactId> <version>version</version> <scope>runtime</scope> </dependency> I got this error while running mvn clean install: Failed to execute goal on project webapp: Could not resolve dependencies for project webapp:webapp:war:0.1-SNAPSHOT: The following artifacts could not be resolved: org.logback-extensions:logback-ext-loggly:jar:version, ch.qos.logback.contrib:logback-json-classic:jar:version, ch.qos.logback.contrib:logback-jackson:jar:version: Could not find artifact org.logback-extensions:logback-ext-loggly:jar:version in labs-consol-release (http://labs.consol.de/maven/repository) -> [Help 1] Seems like there might be a problem with the maven repository. Has anybody seen similar issues? _______________________________________________ Logback-user mailing list Logback-user@qos.ch<mailto:Logback-user@qos.ch> http://mailman.qos.ch/mailman/listinfo/logback-user
participants (2)
-
Chris Pratt
-
Fritz, Jonathan