This looks to be a maven issue.
The most likely cause is probably that your networks proxy hasn’t been configured properly in your maven settings.xml file, alternatively your proxy may be
blocking the downloads or you were just unlucky and the site was down!
Thomas
From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org]
On Behalf Of Agrawal, Swapnil
Sent: 05 January 2010 19:53
To: 'rules-users@lists.jboss.org'
Subject: [rules-users] compiling DROOLS 5
Hi
I downloaded the Drools 5 source code from the website.
I am trying to compile it and see following errors:
[WARNING] Unable to get resource 'org.apache.maven.wagon:wagon-webdav:pom:1.0-be
ta-2' from repository repository.jboss.org (http://repository.jboss.org/maven2):
Error transferring file: repository.jboss.org
.
.
(bunch of such warnings)
.
.
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.codehaus.plexus:plexus-utils:jar:1.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus
-utils -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.codehaus.plexus -DartifactId=plexus-u
tils -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepository
Id=[id]
Path to dependency:
1) org.drools:drools:pom:5.0.1
2) org.codehaus.plexus:plexus-utils:jar:1.1
2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.maven.wagon -DartifactId=wag
on-webdav -Dversion=1.0-beta-2 -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.apache.maven.wagon -DartifactId=wagon
-webdav -Dversion=1.0-beta-2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -D
repositoryId=[id]
Path to dependency:
1) org.drools:drools:pom:5.0.1
2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2
Thanks
Swapnil