[logback-user] Maven Repository cannot resolve logback extensions
Fritz, Jonathan
jofritz at ea.com
Tue Feb 25 21:07:01 CET 2014
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 at gmail.com<mailto:thechrispratt at gmail.com>>
Reply-To: logback users list <logback-user at qos.ch<mailto:logback-user at qos.ch>>
Date: Tuesday, February 25, 2014 at 2:53 PM
To: logback users list <logback-user at qos.ch<mailto:logback-user at 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 at ea.com<mailto:jofritz at 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 at qos.ch<mailto:Logback-user at qos.ch>
http://mailman.qos.ch/mailman/listinfo/logback-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20140225/a03fdd1a/attachment-0001.html>
More information about the Logback-user
mailing list