Hello,
I'm in front of a pretty strange situation.
I have some jars that are on the central repo, meaning that I can see them on the
appropriate pages [1] and [2].
But when I include them in a project, and launch some goals (actuelly jetty:run),
they are not downloaded and maven 2.0.4 returns the error message that is included
below. I've tried to run the goal several times, always with the same result. I've
check the dependency declarations in my pom.xml, and they seem correct.
Does anybody knows if anything's not working?
Thanks,
Sébastien
[INFO] Failed to resolve artifact.
Missing:
----------
1) ch.qos.logback:logback-access:jar:0.9
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=ch.qos.logback
-DartifactId=logback-access \
-Dversion=0.9 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) ch.qos.logback:logback-demo:war:1.0
2) ch.qos.logback:logback-access:jar:0.9
2) ch.qos.logback:logback-classic:jar:0.9
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=ch.qos.logback
-DartifactId=logback-classic \
-Dversion=0.9 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) ch.qos.logback:logback-demo:war:1.0
2) ch.qos.logback:logback-classic:jar:0.9
----------
2 required artifacts are missing.
for artifact:
ch.qos.logback:logback-demo:war:1.0
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
[1] http://repo1.maven.org/maven2/ch/qos/logback/logback-classic/0.9/
[2] http://repo1.maven.org/maven2/ch/qos/logback/logback-access/0.9/
--
Sébastien Pennec
[EMAIL PROTECTED]
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]