0 Replies Latest reply on Oct 25, 2012 8:30 AM by nicolas duminil

    Can't use jbossall-client - Access forbiden to http://repository.jboss.org/maven2

    nicolas duminil Master

      Greetings,

       

      I a Java standalone client calling EJB 3 deployed on JBoss 5.1.0 GA I have the following dependency:

       

      <dependency>
      <groupId>org.jboss.jbossas</groupId>
      <artifactId>jboss-as-client</artifactId>
      <version>5.1.0.GA</version>
      <type>pom</type>
      </dependency>

       

      Running the POM raises the following exception:

       

      [INFO] Scanning for projects...

      [INFO]                                                                        

      [INFO] ------------------------------------------------------------------------

      [INFO] Building EDIIhm :: Unit tests 0.0.1-SNAPSHOT

      [INFO] ------------------------------------------------------------------------

      Downloading: http://repository.jboss.org/maven2/trove/trove/2.1.1/trove-2.1.1.pom

      Downloading: http://repository.jboss.org/maven2/cglib/cglib/2.1.3/cglib-2.1.3.pom

      Downloading: http://repository.jboss.org/maven2/apache-log4j/log4j/1.2.14/log4j-1.2.14.pom

      Downloading: http://repository.jboss.org/maven2/quartz/quartz/1.6.0/quartz-1.6.0.pom

      Downloading: http://repository.jboss.org/maven2/sun-jaxws/jaxws-api/2.1.1/jaxws-api-2.1.1.pom

      Downloading: http://repository.jboss.org/maven2/sun-jaxws/jsr181-api/2.1.1/jsr181-api-2.1.1.pom

      Downloading: http://repository.jboss.org/maven2/jpl-pattern/jpl-pattern/1.0/jpl-pattern-1.0.pom

      Downloading: http://repository.jboss.org/maven2/jpl-util/jpl-util/1.0/jpl-util-1.0.pom

      Downloading: http://repository.jboss.org/maven2/apache-xerces/xml-apis/2.7.1/xml-apis-2.7.1.pom

      Downloading: http://repository.jboss.org/maven2/apache-httpclient/commons-httpclient/2.0.2/commons-httpclient-2.0.2.pom

      Downloading: http://repository.jboss.org/maven2/apache-slide/webdavlib/2.0/webdavlib-2.0.pom

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 9.382s

      [INFO] Finished at: Thu Oct 25 14:27:15 CEST 2012

      [INFO] Final Memory: 15M/221M

      [INFO] ------------------------------------------------------------------------

      [ERROR] Failed to execute goal on project EDIIhm-service-tests: Could not resolve dependencies for project fr.si2m.edigroup:EDIIhm-service-tests:jar:0.0.1-SNAPSHOT: Failed to collect dependencies for [fr.si2m.edigroup:EDIIhm-service:jar:0.0.1-SNAPSHOT (compile), org.jboss.jbossas:jboss-as-client:pom:5.1.0.GA (compile), junit:junit:jar:4.10 (test), log4j:log4j:jar:1.2.14 (provided)]: Failed to read artifact descriptor for trove:trove:jar:2.1.1: Could not transfer artifact trove:trove:pom:2.1.1 from/to repository.jboss.org (http://repository.jboss.org/maven2): Access denied to: http://repository.jboss.org/maven2/trove/trove/2.1.1/trove-2.1.1.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/display/MAVEN/DependencyResolutionException

       

      Obviously, for some reason, the access to http://repository.jboss.org/maven2 is forbiden. Did the repository URL change or move or something ?

       

      Many thanks in advance for any help.

       

      Kind regards,

       

      Nicolas DUMINIL