Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.16
-
None
-
Maven 3.0.4 ond OpenSUSE Linux
Description
After downloading maven rave 0.16 I tried buiding with "mvn install" but got the following error:
[ERROR] Failed to execute goal on project rave-opensocial-core: Could not resolve dependencies for project org.apache.rave:rave-opensocial-core:jar:0.16: The following artifacts could not be resolved: net.oauth.core:oauth-httpclient4:jar:20090913, caja:caja:jar:r4884, caja:htmlparser:jar:r4209: Failure to find net.oauth.core:oauth-httpclient4:jar:20090913 in http://nexus.intern.xss.co.at:8081/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus-repo has elapsed or updates are forced -> [Help 1]
The reason are the oauth-httclient4 and caja dependencies, that are not available from maven central. I had to add the following repositories in my settings.xml to make it work:
<repository>
<id>oauth-repo</id>
<url>http://oauth.googlecode.com/svn/code/maven/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>caja-repo</id>
<url>http://google-caja.googlecode.com/svn/maven/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
I couldn't find this documented anywhere.
In a perfect world the dependencies would be in maven central. If this is out of your scope, it should at least be documented where those can be found.