Hi,
to update jboss-6.0.0.M2 i neded to add in weld-1.0.1-Final/jboss-as/pom.xml the jboss repository:
<repositories> <repository> <id>jboss</id> <url>http://repository.jboss.com/maven2</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories>
Without this script update,this is my log error:
[INFO] Unable to find resource 'org.jboss.interceptor:jboss-interceptor:jar:1.0.0-CR11' in repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.jboss.interceptor:jboss-interceptor-api:jar:1.1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.jboss.interceptor -DartifactId=jboss-interceptor-api -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.jboss.interceptor -DartifactId=jboss-interceptor-api -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
bye
Fiorenzo
Yep, another option would be the user maven settings.xml