Results 1 to 4 of 4

Thread: Missing artifact error in Sparklr2/Tonr2 Sample Applications

  1. #1
    Join Date
    May 2012
    Posts
    8

    Default Missing artifact error in Sparklr2/Tonr2 Sample Applications

    I'm a newbie getting started with OAuth (2) and am trying to run the sparklr2 and tonr2 examples.

    I'm getting a 'missing artifact' message in both project's pom.xml for 'org.springframework.security.oauth:spring-security-oauth2:jar:1.0.0.M6b'.

    I downloaded the samples from here: https://github.com/SpringSource/spri...ity-oauth/tags . Is this the correct location?

    I'm trying to implement a client credentials configuration. I have a RESTful API that I am creating and want to write my own client to talk to it.

    Thanks!

  2. #2
    Join Date
    Jun 2005
    Posts
    4,241

    Default

    The repository meta data for milestone releases is in the poms so the dependencies should be downloaded by Maven. How are you building the projects? Did you try just using Maven on the command line?

  3. #3
    Join Date
    May 2012
    Posts
    8

    Default

    Quote Originally Posted by Dave Syer View Post
    The repository meta data for milestone releases is in the poms so the dependencies should be downloaded by Maven. How are you building the projects? Did you try just using Maven on the command line?
    I imported the projects into Eclipse IDE.

    I have tried with the project POMs as is, and also tried adding the Spring repositories to my Nexus mirror and referencing those from the POMs. When I tried to add the Spring repositories into Nexus, they are not displaying any files - is this a standard Maven 2 repository? I've never had issues with this in the past.

  4. #4
    Join Date
    May 2012
    Posts
    8

    Default

    I've narrowed this down to possibly being an issue with Nexus not being able to retrieve artifacts from the Spring repositories:

    http://forum.springsource.org/showth...Repository-URL

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •