Results 1 to 2 of 2
  1. #1
    farshad's Avatar
    farshad is offline Member
    Join Date
    Dec 2011
    Posts
    19
    Rep Power
    0

    Default Error in maven (Could not resolve dependencies for project )

    hi dears

    I using Spring DM for create web bundle with maven
    when I compile project with maven , write " BUILD FAILURE " and error is :

    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1:02.367s
    [INFO] Finished at: Tue Apr 23 07:39:48 PDT 2013
    [INFO] Final Memory: 3M/6M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal on project springdm-web-sample: Could not resolve dependencies for project com.manning.sdmia:springdm-web-sample:bundle:1.0.0: Failed to collect dependencies for [org.springframework.osgi:spring-osgi-core:jar:2.0.0.M1 (test), org.springframework.osgi:spring-osgi-annotation:jar:2.0.0.M1 (test), org.springframework.osgi:spring-osgi-extender:jar:2.0.0.M1 (test), org.springframework.osgi:spring-osgi-test:jar:2.0.0.M1 (test), org.eclipse.osgi:org.eclipse.osgi:jar:3.5.1.R35x_v 20090827 (test), org.springframework:org.springframework.core:jar:3 .0.2.RELEASE (test), org.springframework:org.springframework.beans:jar: 3.0.2.RELEASE (test), org.springframework:org.springframework.context:ja r:3.0.2.RELEASE (test), org.springframework:org.springframework.aop:jar:3. 0.2.RELEASE (test), org.springframework:org.springframework.test:jar:3 .0.2.RELEASE (test), org.aopalliance:com.springsource.org.aopalliance:j ar:1.0.0 (test), net.sourceforge.cglib:com.springsource.net.sf.cgli b:
    jar:2.1.3 (test), org.slf4j:com.springsource.slf4j.api:jar:1.5.6 (test), org.slf4j:com.springsource.slf4j.log4j:jar:1.5.6 (test), org.slf4j:com.springsource.slf4j.org.apache.common s.logging:jar:1.5.6 (test), org.apache.log4j:com.springsource.org.apache.log4j :jar:1.2.15 (test), junit:junit:jar:3.8.1 (test), org.springframework.osgi:spring-osgi-web:jar:2.0.0.M1 (test), org.springframework.osgi:spring-osgi-web-extender:jar:2.0.0.M1 (test), org.springframework.osgi:catalina.osgi:jar:5.5.23-SNAPSHOT (test), org.springframework.osgi:catalina.start.osgi:jar:1 .0.0 (test), org.springframework.osgi:jsp-api.osgi:jar:2.0-SNAPSHOT (test), org.springframework.osgi:jasper.osgi:jar:5.5.23-SNAPSHOT (test), org.springframework.osgi:commons-el.osgi:jar:1.0-SNAPSHOT (test), org.springframework.osgi:jstl.osgi:jar:1.1.2-SNAPSHOT (test)]: Failed to read artifact descriptor for org.springframework.osgi:spring-osgi-core:jar:2.0.0.M1: Could not transfer artifact org.springframework.osgi:spring-osgi-core:pom:2.0
    .0.M1 from/to spring-maven-milestone (http://s3.amazonaws.com/maven.spring...rg/milestone): Access denied to: http://s3.amazonaws.com/maven.spring...e-2.0.0.M1.pom , ReasonPhrase:Forbidden. -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/d...utionException
    C:\Users\Farshad\Desktop\springdm-web-sample>


    please help
    thanks.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,450
    Rep Power
    18

    Default Re: Error in maven (Could not resolve dependencies for project )

    Can you get to that pom in a browser?
    http://s3.amazonaws.com/maven.spring...e-2.0.0.M1.pom
    Please do not ask for code as refusal often offends.

Similar Threads

  1. How to convert from Ant project to maven project?
    By jiapei100 in forum New To Java
    Replies: 0
    Last Post: 06-08-2011, 10:01 AM
  2. Replies: 0
    Last Post: 04-20-2009, 06:26 PM

Posting Permissions

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