3 Replies Latest reply: Sep 7, 2011 1:36 PM by Andrew Waterman RSS

Access denied to: http://repository.jboss.org/maven2/trove/trove/2.1.1/trove-2.1.1.pom

Rob Anderson Newbie

I am pointing to the jboss maven repo and have the following dependency in my pom.xml...

 

<dependency>

  <groupId>org.jboss.jbossas</groupId>

  <artifactId>jboss-as-system-jmx</artifactId>

  <version>5.1.0.GA</version>

  <scope>provided</scope>

</dependency>

 

I get the following error when running mvn package...

 

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

[INFO] BUILD FAILURE

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

[INFO] Total time: 16.384s

[INFO] Finished at: Thu Jun 30 08:24:37 GMT-08:00 2011

[INFO] Final Memory: 5M/15M

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

[ERROR] Failed to execute goal on project mySar: Could not resolve dependencies for project com.pdxc

ode:mySar:jboss-sar:1.0-SNAPSHOT: Failed to collect dependencies for [javax.xml.bind:jaxb-api:jar:2.

2 (provided), sun-jaxb:jaxb-impl:jar:2.2 (provided), org.jboss.jbossas:jboss-as-system-jmx:jar:5.1.0

.CR1 (provided)]: Failed to read artifact descriptor for trove:trove:jar:2.1.1: Could not transfer a

rtifact trove:trove:pom:2.1.1 from/to repository.jboss.org (http://repository.jboss.org/maven2): Acc

ess denied to: http://repository.jboss.org/maven2/trove/trove/2.1.1/trove-2.1.1.pom -> [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 arti

cles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

C:\Users\rande4\maven_projects\mySar>

 

It looks like the maven repo is broken. Can someone please fix it?

Thanks,

-Rob Anderson