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

Reply via email to