hello,
not an answer for you sorry, but an advice for xwiki nexus config: you
should set "File content Validation" option on all proxy repositories
in Nexus IMHO. Happened to me recently, and the result is not nice.
you could try adding the restlet repo before xwiki repo, and also
clear locally cached artifacts.
To solve that on nexus side would need to remove corrupted artifacts
and expire cache (or maybe only expire cache ?).
Br,
Jeremie
2012/8/22 Fernando Ferreira <nando.rf(a)gmail.com>om>:
Hi all!
I was trying to build XWiki from sources (xwiki-commons) with a fresh new
Maven installation (empty local repository) and found a problem with the *
org.restlet.ext.jaxrs* artifact (2.0.14).
This was the build error:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project xwiki-commons-extension-repository-xwiki:
Compilation failure: Compilation failure:
[ERROR]
/data/Repository/XWiki/xwiki-commons/xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-repositories/xwiki-commons-extension-repository-xwiki/src/main/java/org/xwiki/extension/repository/xwiki/internal/XWikiExtensionRepository.java:[38,23]
package org.restlet.data does not exist
[ERROR]
/data/Repository/XWiki/xwiki-commons/xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-repositories/xwiki-commons-extension-repository-xwiki/src/main/java/org/xwiki/extension/repository/xwiki/internal/XWikiExtensionRepository.java:[116,47]
package MediaType does not exist
A little above it i saw this:
Downloading:
http://nexus.xwiki.org/nexus/content/groups/public/org/restlet/jse/org.rest…
[WARNING] Checksum validation failed, expected <!DOCTYPE but is
97d021087f5852baf8cc9deca20825b1bf42bbaf for
http://nexus.xwiki.org/nexus/content/groups/public/org/restlet/jse/org.rest…
[WARNING] Checksum validation failed, expected <!DOCTYPE but is
97d021087f5852baf8cc9deca20825b1bf42bbaf for
http://nexus.xwiki.org/nexus/content/groups/public/org/restlet/jse/org.rest…
Downloaded:
http://nexus.xwiki.org/nexus/content/groups/public/org/restlet/jse/org.rest…
KB at 1.6 KB/sec)
[WARNING] The POM for org.restlet.jse:org.restlet.ext.jaxrs:jar:2.0.14 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
Downloading:
http://nexus.xwiki.org/nexus/content/groups/public/org/restlet/jse/org.rest…
Downloaded:
http://nexus.xwiki.org/nexus/content/groups/public/org/restlet/jse/org.rest…
KB at 47.0 KB/sec)
It seems the org.restlet's repository was down for maintenance at the time
Nexus fetched the files.
The POM (
http://nexus.xwiki.org/nexus/content/groups/public/org/restlet/jse/org.rest…)
has this inside:
You caught us doing a little maintenance. We're sorry that you can't
access your community right now.
...
With a problem like this, would something like adding the org.restlet's
repository to my settings.xml do the work?
I'm in no hurry anyway, i can wait for the repository... ;)
If there's anything else i can do, just drop me a message!
Thanks,
Fernando
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs