-
1. Re: Cannot retrieve EJB dependencies from Jboss repo
sfcoy May 15, 2012 4:37 AM (in response to eildosa)Its likely that Maven has cached the fact that an earlier attempt to retrieve these artifacts has failed.
Try deleting the content of C:\usr\local\m2-repository\org\jboss\ejb3\jboss-ejb3-ext-api\1.0.0\ and trying again.
-
2. Re: Cannot retrieve EJB dependencies from Jboss repo
eildosa May 15, 2012 5:30 AM (in response to sfcoy)oops, forgot to post the awnser.
In fact I had the same problem with several artifacts from Jboss's repo.
Those artifacts were trying to retrieve transitive dependancy from an other Jboss's repo wich access was being denied.
Since it was downloading those other jar first it always failed before being able to retrieve the jar I wanted.
I found out by trying "mvn clean install" in cmd :
In the end I had to add all those exclusions to make it work :
[code]
<exclusions>
<exclusion>
<groupId>gnu-getopt</groupId>
<artifactId>getopt</artifactId>
</exclusion>
<exclusion>
<groupId>apache-xerces</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
<exclusion>
<groupId>apache-xerces</groupId>
<artifactId>xercesImpl</artifactId>
</exclusion>
<exclusion>
<groupId>wutka-dtdparser</groupId>
<artifactId>dtdparser121</artifactId>
</exclusion>
<exclusion>
<groupId>sun-jaxb</groupId>
<artifactId>jaxb-api</artifactId>
</exclusion>
</exclusions>
[/code]
Ce message a été modifié par: eildosa grammar corrections