Or you can tell buildr that the artifact is available locally,

some_library =
artifact('com.example:some-library:jar:1.0').from(path_to_jar)

And use it anywhere artifacts are accepted.

alex



On Sat, Jan 23, 2010 at 3:35 PM, Antoine Toulme <[email protected]>wrote:

> compile.with file_path would do.
>
> On Sat, Jan 23, 2010 at 15:20, Nicholas Andrews <[email protected]> wrote:
>
> > Hi!
> >
> > I probably missed this in the documentation, but I'm trying to build a
> > project that depends on a jar file not in the maven2 repository.  I
> > think the compile.with command assumes the dependency is in the maven
> > repository, but in this case it is built manually and I'd just like to
> > include it without putting it in .m2/repository.  I'm guessing there's
> > a straightforward way to do this?
> >
> > Cheers,
> > Nick
> >
>

Reply via email to