There seems to be an inconsistency when following the instructions at http://seamframework.org/Documentation/CDIQuickstartForMavenUsers.
First, lets delete the ~/.m2/repository directory to avoid Maven cache issues on this example.
mvn archetype:generate -DarchetypeArtifactId=jboss-javaee6-webapp -DarchetypeGroupId=org.jboss.weld.archetypes -DarchetypeVersion=1.0.1.CR1 -DarchetypeRepository=central
cd <project directory>
mvn -U clean test -Parq-jbossas-remote
The process fails with this message:
Access denied to: http://repository.jboss.org/maven2/trove/trove/2.1.1/trove-2.1.1.pom
It only succeeds if we add the repository https://repository.jboss.org/nexus/content/repositories/deprecated/ to pom.xml.
Would that be the appropriate fix? Should it be in the archetype?
This probably doesn't happen in JBoss' internal network, but for outsiders the repository.jboss.org/maven2 repository is verbotten.