You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Jasha Joachimsthal (JIRA)" <ji...@apache.org> on 2012/10/10 18:01:03 UTC
[jira] [Resolved] (RAVE-817) dependencies missing in maven central
repository
[ https://issues.apache.org/jira/browse/RAVE-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jasha Joachimsthal resolved RAVE-817.
-------------------------------------
Resolution: Won't Fix
Fix Version/s: 0.17
These dependencies are indeed missing in Maven central. That's why Shindig (the project that included them) added the oauth-repo and caja-repo explicitly to their pom's. I am able to build 0.16 against an empty local repository, but you seem to be behind a Maven proxy. I assume your proxy doesn't download artifacts from these repositories. Either your proxy should allow these repositories as well, or you need the workaround you described.
> dependencies missing in maven central repository
> ------------------------------------------------
>
> Key: RAVE-817
> URL: https://issues.apache.org/jira/browse/RAVE-817
> Project: Rave
> Issue Type: Bug
> Components: build & development
> Affects Versions: 0.16
> Environment: Maven 3.0.4 ond OpenSUSE Linux
> Reporter: Martin Höller
> Priority: Minor
> Fix For: 0.17
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira