Interesting weblog Carlos, thank you for that. You should add that info to
the maven docs if it is not already there.

regards,

Wim

2006/5/22, Carlos Sanchez <[EMAIL PROTECTED]>:

It's possible right now, although not a good idea
See http://jroller.com/page/carlossg?entry=optional_dependencies_in_maven

On 5/22/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
> At the moment, it's not doable out of the box but there have been
> countless discussions about some sort of features like this on this
> list. So expect some improvements in this area to make it in Maven
> 2.1. On the other hand, you can always use some profiles or a super
> pom to manage more cleanly big dependencies (with a lot of optionnal
> transitives dependencies). This is how I do for Spring and Hibernate.
>
> On 5/22/06, Wim Deblauwe <[EMAIL PROTECTED]> wrote:
> > I know it does, but it does not support "configurations" of
dependencies
> > like I believe Ivy does. If you have a project X that can either
depend on Y
> > or Z depending on what you like, you would need to declare both
dependencies
> > optional in Maven altough it will not work if you omit both. You need
to
> > choose between Y or Z. This cannot be easily expressed with Maven2.
> >
> > regards,
> >
> > Wim
> >
> > 2006/5/22, Geoffrey De Smet <[EMAIL PROTECTED]>:
> > >
> > > Maven 2 supports optional dependencies.
> > >
> > > You can even exclude non-optional transitive dependencies.
> > >
> > > Wim Deblauwe wrote:
> > > > Interesting, thanks for the link.
> > > >
> > > > The only thing that is really helpful in Ivy when looking at this
page
> > > is
> > > > the fact that you can choose between optional dependencies. I
think
> > > Maven
> > > > could use such a concept too.
> > > >
> > > > regards,
> > > >
> > > > Wim
> > > >
> > > > 2006/5/22, Jeff Mutonho <[EMAIL PROTECTED]>:
> > > >>
> > > >> On 5/22/06, Wim Deblauwe <[EMAIL PROTECTED]> wrote:
> > > >> > Hi,
> > > >> >
> > > >> > I really love Maven, but people in my organisation seem to have
> > > noticed
> > > >> Ivy.
> > > >> > I have not used Ivy, but I really like those nice screenshots.
Are
> > > >> there
> > > >> any
> > > >> > things Ivy does that Maven2 currently can't do? One thing I see
is
> > > the
> > > >> nice
> > > >> > depencency graph (but hopefully someone will code that during
the
> > > >> Google
> > > >> > Summer of Code:)).
> > > >> >
> > > >> > Any more thoughts on this?
> > > >> >
> > > >> > regards,
> > > >> >
> > > >> > Wim
> > > >> >
> > > >> >
> > > >>
> > > >> Could http://jayasoft.org/ivy/doc/m2comparison  be of any help ?
> > > >>
> > > >> --
> > > >>
> > > >>
> > > >> Jeff  Mutonho
> > > >>
> > > >> GoogleTalk : ejbengine
> > > >> Skype        : ejbengine
> > > >> Registered Linux user number 366042
> > > >>
> > > >>
---------------------------------------------------------------------
> > > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > >> For additional commands, e-mail: [EMAIL PROTECTED]
> > > >>
> > > >>
> > > >
> > >
> > > --
> > > With kind regards,
> > > Geoffrey De Smet
> > >
> > >
> > >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                             -- The Princess Bride

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to