]
Trustin Lee commented on ISPN-652:
----------------------------------
Galder: yeah, that was the configuration problem. I added the mirror settings as guided
in
(it was optional though,
and that was why you weren't affected.)
<mirror>
<id>jboss-public-repository-group</id>
<mirrorOf>*,!jboss-deprecated,!jboss-maven2-brew</mirrorOf>
<
Build fails due to a missing artifact - spy:memcached:jar:2.5
-------------------------------------------------------------
Key: ISPN-652
URL:
https://jira.jboss.org/browse/ISPN-652
Project: Infinispan
Issue Type: Bug
Affects Versions: 4.2.0.ALPHA1
Reporter: Trustin Lee
Assignee: Trustin Lee
Priority: Trivial
Fix For: 4.2.0.BETA1
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/memcache...
[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/memcache...
[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/memcache...
[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/memcache...
[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/memcache...
[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/memcache...
[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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: