You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Martin Höller (JIRA)" <ji...@apache.org> on 2012/10/10 16:55:02 UTC
[jira] [Created] (RAVE-817) dependencies missing in maven central
repository
Martin Höller created RAVE-817:
----------------------------------
Summary: 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
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
[jira] [Commented] (RAVE-817) dependencies missing in maven central
repository
Posted by "Martin Höller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAVE-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473928#comment-13473928 ]
Martin Höller commented on RAVE-817:
------------------------------------
I'm ideed behind a proxy that blocks requests to unkown repos. Adding the repos to the proxy wouldn't be a problem, once I found out what I was missing. And that's exactly what I was asking for: document this somewhere. But it's documented in JIRA now, so others having the same issue might at least find it here. Thanks anyways.
> 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
[jira] [Reopened] (RAVE-817) dependencies missing in maven central
repository
Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAVE-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jasha Joachimsthal reopened RAVE-817:
-------------------------------------
> 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
>
> Attachments: source.mdtext.patch
>
>
> 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
[jira] [Resolved] (RAVE-817) dependencies missing in maven central
repository
Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (RAVE-817) dependencies missing in maven central
repository
Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAVE-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jasha Joachimsthal resolved RAVE-817.
-------------------------------------
Resolution: Fixed
Applied your patch, thanks!
> 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
> Assignee: Jasha Joachimsthal
> Priority: Minor
> Fix For: 0.17
>
> Attachments: source.mdtext.patch
>
>
> 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
[jira] [Assigned] (RAVE-817) dependencies missing in maven central
repository
Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAVE-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jasha Joachimsthal reassigned RAVE-817:
---------------------------------------
Assignee: Jasha Joachimsthal
> 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
> Assignee: Jasha Joachimsthal
> Priority: Minor
> Fix For: 0.17
>
> Attachments: source.mdtext.patch
>
>
> 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
[jira] [Commented] (RAVE-817) dependencies missing in maven central
repository
Posted by "Matt Franklin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAVE-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474113#comment-13474113 ]
Matt Franklin commented on RAVE-817:
------------------------------------
I agree that this should be documented on the site. If you have time Martin, would you be willing to submit a patch to for the site with the appropriate documentation? Otherwise, someone will need to pick it up when they have free time.
> 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
[jira] [Comment Edited] (RAVE-817) dependencies missing in maven
central repository
Posted by "Martin Höller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAVE-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474144#comment-13474144 ]
Martin Höller edited comment on RAVE-817 at 10/12/12 7:56 AM:
--------------------------------------------------------------
I've attached a small patch against http://svn.apache.org/repos/asf/rave/site/trunk/content/source.mdtext. I'm not very familar with mdt, so hopefully I got it right.
was (Author: matinh):
I've attached a small patch against http://svn.apache.org/repos/asf/rave/site/trunk/content/source.mdt. I'm not very familar with mdt, so hopefully I got it right.
> 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
> Assignee: Jasha Joachimsthal
> Priority: Minor
> Fix For: 0.17
>
> Attachments: source.mdtext.patch
>
>
> 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
[jira] [Updated] (RAVE-817) dependencies missing in maven central
repository
Posted by "Martin Höller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAVE-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Höller updated RAVE-817:
-------------------------------
Attachment: source.mdtext.patch
I've attached a small patch against http://svn.apache.org/repos/asf/rave/site/trunk/content/source.mdt. I'm not very familar with mdt, so hopefully I got it right.
> 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
>
> Attachments: source.mdtext.patch
>
>
> 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