You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Wille Faler <wi...@gmail.com> on 2009/04/10 01:21:48 UTC

Defining transivite dependencies for installed POM

Hi,
I'm quite new to Buildr -
What I want to achieve is to install a Maven compatible artifact in my local
repo (or remote) that has all the transitive dependencies defined in it.

Is there any way of defining the maven libraries/artifacts that are
transitive dependencies of a project in the buildfile?
So far the result of "buildr install" always only seems to install a very
basic POM file with none of the dependencies defined in it.

Regards
Wille Faler

Re: Defining transivite dependencies for installed POM

Posted by Alex Boisvert <bo...@intalio.com>.
Yes, we plan to support transitive dependencies in future versions (1.4) and
it will hopefully translate in publishing better poms.

alex


On Thu, Apr 9, 2009 at 5:17 PM, Wille Faler <wi...@gmail.com> wrote:

> Are there any plans for this in future versions?
>
> I don't really want a pom.xml in the sense of building myself, but more in
> terms of being able to upload .pom-files so that Maven users can interact
> seamlessly with my built artifacts.
> (on a side note, I think Maven interoperability is a big, big potential
> selling point for adoption, as Maven for better and for worse is the most
> widely used build system for Java/Scala).
>
> / Wille
>
> 2009/4/10 Alex Boisvert <bo...@intalio.com>
>
> > Buildr doesn't currently support this;  what you could do is write a
> > pom.xml
> > template and have it dynamically updated with dependencies you use in
> your
> > Buildfile... It would require a little bit of code.
> >
> > alex
> >
> >
> > On Thu, Apr 9, 2009 at 4:21 PM, Wille Faler <wi...@gmail.com>
> wrote:
> >
> > > Hi,
> > > I'm quite new to Buildr -
> > > What I want to achieve is to install a Maven compatible artifact in my
> > > local
> > > repo (or remote) that has all the transitive dependencies defined in
> it.
> > >
> > > Is there any way of defining the maven libraries/artifacts that are
> > > transitive dependencies of a project in the buildfile?
> > > So far the result of "buildr install" always only seems to install a
> very
> > > basic POM file with none of the dependencies defined in it.
> > >
> > > Regards
> > > Wille Faler
> > >
> >
>

Re: Defining transivite dependencies for installed POM

Posted by Wille Faler <wi...@gmail.com>.
Are there any plans for this in future versions?

I don't really want a pom.xml in the sense of building myself, but more in
terms of being able to upload .pom-files so that Maven users can interact
seamlessly with my built artifacts.
(on a side note, I think Maven interoperability is a big, big potential
selling point for adoption, as Maven for better and for worse is the most
widely used build system for Java/Scala).

/ Wille

2009/4/10 Alex Boisvert <bo...@intalio.com>

> Buildr doesn't currently support this;  what you could do is write a
> pom.xml
> template and have it dynamically updated with dependencies you use in your
> Buildfile... It would require a little bit of code.
>
> alex
>
>
> On Thu, Apr 9, 2009 at 4:21 PM, Wille Faler <wi...@gmail.com> wrote:
>
> > Hi,
> > I'm quite new to Buildr -
> > What I want to achieve is to install a Maven compatible artifact in my
> > local
> > repo (or remote) that has all the transitive dependencies defined in it.
> >
> > Is there any way of defining the maven libraries/artifacts that are
> > transitive dependencies of a project in the buildfile?
> > So far the result of "buildr install" always only seems to install a very
> > basic POM file with none of the dependencies defined in it.
> >
> > Regards
> > Wille Faler
> >
>

Re: Defining transivite dependencies for installed POM

Posted by Alex Boisvert <bo...@intalio.com>.
Buildr doesn't currently support this;  what you could do is write a pom.xml
template and have it dynamically updated with dependencies you use in your
Buildfile... It would require a little bit of code.

alex


On Thu, Apr 9, 2009 at 4:21 PM, Wille Faler <wi...@gmail.com> wrote:

> Hi,
> I'm quite new to Buildr -
> What I want to achieve is to install a Maven compatible artifact in my
> local
> repo (or remote) that has all the transitive dependencies defined in it.
>
> Is there any way of defining the maven libraries/artifacts that are
> transitive dependencies of a project in the buildfile?
> So far the result of "buildr install" always only seems to install a very
> basic POM file with none of the dependencies defined in it.
>
> Regards
> Wille Faler
>