OK, found the problem:
[INFO] Using default encoding to copy filtered
resources.
Downloading:
file:///.../drools/src/drools-core/../m2_repo/org/mvel/mvel14/1.2rc1/mvel14-1.2rc1.pom
1K downloaded
[WARNING] *** CHECKSUM FAILED - Error retrieving
checksum file for
org/mvel/mvel14/1.2rc1/mvel14-1.2rc1.pom - IGNORING
Downloading:
file:///.../drools/src/drools-core/../m2_repo/org/mvel/mvel14/1.2rc1/mvel14-1.2rc1.jar
386K downloaded
[WARNING] *** CHECKSUM FAILED - Error retrieving
checksum file for
org/mvel/mvel14/1.2rc1/mvel14-1.2rc1.jar - IGNORING
It's not the checksum fail, it's that the mvel and jdt
libraries are stored locally. From the drools source
base pom.xml:
<repository>
<id>basedir</id>
<url>file://${basedir}/m2_repo</url>
</repository>
Doesn't bode well for deploying to a remote repo. Any
way these libs can be made available on a public
repository, like repository.jboss.com? It's no
problem for me because my company already has a
private repository and I'll just deploy them up there
for our own purposes, but not everyone has that
option.
Cheers!
GreG
--- Greg Barton <greg_barton(a)yahoo.com> wrote:
I'm getting the following error now when building a
project dependent on drools 4.0.0. (Wasn't
happening
yesterday, and it happens even after deleting
~/.m2/repository/org/drools)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.mvel:mvel14:jar:1.2rc1
Try downloading the file manually from the project
website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.mvel
-DartifactId=mvel14 \
-Dversion=1.2rc1 -Dpackaging=jar
-Dfile=/path/to/file
Path to dependency:
1) <theArtifactImBuilding>
2) org.drools:drools-core:jar:4.0.0
3) org.mvel:mvel14:jar:1.2rc1
2) org.eclipse.jdt:core:jar:3.2.3.v_686_R32x
Try downloading the file manually from the project
website.
Then, install it using the command:
mvn install:install-file
-DgroupId=org.eclipse.jdt -DartifactId=core \
-Dversion=3.2.3.v_686_R32x -Dpackaging=jar
-Dfile=/path/to/file
Path to dependency:
1) <theArtifactImBuilding>
2) org.drools:drools-compiler:jar:4.0.0
3) org.eclipse.jdt:core:jar:3.2.3.v_686_R32x
----------
2 required artifacts are missing.
for artifact:
<theArtifactImBuilding>
from the specified remote repositories:
central (
http://repo1.maven.org/maven2),
codehaus (
http://repository.codehaus.org),
<ourLocalRepo>,
jboss (
http://repository.jboss.com/maven2)
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here
and Now (it's updated for today's economy) at Yahoo!
Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
____________________________________________________________________________________
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php