Thanks ! It works like a charm.

Le 04/11/2014 10:05, Peter Donald a écrit :
> Hi,
>
> On Mon, Nov 3, 2014 at 8:51 PM, Jean-Philippe Caruana <j...@target2sell.com>
> wrote:
>
>> But it still doesn't work:
>> Expected ./target/querySimulator-1.0.0-SNAPSHOT.tgz to not contain
>> 'lib/scala-compiler-2.10.4.jar'
>> Buildr aborted!
>> RuntimeError : Checks failed for project querySimulator (see errors above).
>>
> Ok - so now I see what the problem is. The dependencies list includes a
> string dependency that identifies a file and it is this one you want to
> exclude. If so you could probably replace "compile.dependencies" with
> "compile.dependencies.select
> {|a| !(a.to_s =~/scala-compiler-2.10.4.jar$/)}".  That would remove the one
> dependency that when converted to a string matched the filename.
>
> Hope that helps.
>

-- 
Jean-Philippe Caruana 
http://www.barreverte.fr

Reply via email to