Details
-
Bug
-
Resolution: Done
-
Trivial
-
4.2.0.ALPHA1
-
None
-
None
Description
It seems like JBoss.org Maven repository doesn't have 'spy:memcached:jar:2.5' (the original repo is: http://bleu.west.spy.net/~dustin/m2repo/ )
[INFO] ------------------------------------------------------------------------
[INFO] Building Infinispan Server Memcached Module
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
Downloading: https://repository.jboss.org/nexus/content/groups/developer//spy/memcached/2.5/memcached-2.5.pom
[INFO] Unable to find resource 'spy:memcached:pom:2.5' in repository central (http://central)
Downloading: https://repository.jboss.org/nexus/content/groups/developer//spy/memcached/2.5/memcached-2.5.pom
[INFO] Unable to find resource 'spy:memcached:pom:2.5' in repository spy (http://bleu.west.spy.net/~dustin/m2repo/)
Downloading: https://repository.jboss.org/nexus/content/groups/developer//spy/memcached/2.5/memcached-2.5.pom
[INFO] Unable to find resource 'spy:memcached:pom:2.5' in repository scala-tools.org (http://scala-tools.org/repo-releases)
Downloading: https://repository.jboss.org/nexus/content/groups/developer//spy/memcached/2.5/memcached-2.5.jar
[INFO] Unable to find resource 'spy:memcached:jar:2.5' in repository central (http://central)
Downloading: https://repository.jboss.org/nexus/content/groups/developer//spy/memcached/2.5/memcached-2.5.jar
[INFO] Unable to find resource 'spy:memcached:jar:2.5' in repository spy (http://bleu.west.spy.net/~dustin/m2repo/)
Downloading: https://repository.jboss.org/nexus/content/groups/developer//spy/memcached/2.5/memcached-2.5.jar
[INFO] Unable to find resource 'spy:memcached:jar:2.5' in repository scala-tools.org (http://scala-tools.org/repo-releases)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) spy:memcached:jar:2.5
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=spy -DartifactId=memcached -Dversion=2.5 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=spy -DartifactId=memcached -Dversion=2.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.infinispan:infinispan-server-memcached:jar:4.2.0-SNAPSHOT
2) spy:memcached:jar:2.5
----------
1 required artifact is missing.
for artifact:
org.infinispan:infinispan-server-memcached:jar:4.2.0-SNAPSHOT
This error occurs when a user/developer configured one's ~/.m2/settings.xml as advised here, especially when the optional mirror settings were applied:
http://community.jboss.org/wiki/MavenGettingStarted-Developers
The workaround is to disable the mirror settings in the ~/.m2/settings.xml until JBBUILD-648 is resolved.