It wasn't failing, technically. The problem happened
when I tried to build my project, which was dependent
on drools-core and drools-compiler. It tried
downloading the dependencies to jdt and mvel and
failed because they weren't present on any of the
remote repositories, including the one drools came
from. So I thought, "These must be coming from
somewhere during the drools build" and that's how I
found the jars so I could upload them to my own
private remote repo.
--- Mark Proctor <mproctor(a)codehaus.org> wrote:
Why was the local path to m2_repo failing? Anyway
typically thats only
used during R&D, on a release we should upload the
contents of m2_repo
to the remote repo and wipe m2_repo.
Mark
Fernando Meyer wrote:
> Hi Greg
>
> Now you can find in jboss repository both mvel
and jdt
> dependencies. thanks for your feedback :)
>
> Regards
>
> Fernando Meyer
http://fmeyer.org
> fmcamargo(a)gmail.com
> PGP: 0xD804DDFB
>
>
>
> On Jul 27, 2007, at 6:42 PM, Greg Barton wrote:
>
>> 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
>> _______________________________________________
>> rules-dev mailing list
>> rules-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-dev
>
> _______________________________________________
> rules-dev mailing list
> rules-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-dev
>
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
____________________________________________________________________________________
Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for...