Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Artifacts Could Not Be Resolved #16

Closed
MusikPolice opened this issue Feb 25, 2014 · 2 comments
Closed

Artifacts Could Not Be Resolved #16

MusikPolice opened this issue Feb 25, 2014 · 2 comments

Comments

@MusikPolice
Copy link

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.

@tony19
Copy link
Contributor

tony19 commented Feb 25, 2014

logback-jackson has been moved to logback-contrib.

http://search.maven.org/#artifactdetails%7Cch.qos.logback.contrib%7Clogback-json-classic%7C0.1.2%7Cjar

Unless the provided POM config is an example, you need to replace:

<version>version</version>

with

<version>0.1.2</version>

@tony19 tony19 closed this as completed Feb 25, 2014
@MusikPolice
Copy link
Author

Yup, I screwed that one up. Thanks for the quick response.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants