buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: scala build
Date Tue, 04 Nov 2014 09:05:40 GMT

On Mon, Nov 3, 2014 at 8:51 PM, Jean-Philippe Caruana <>

> 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
{|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.


Peter Donald

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message