Re: optional scope for dependencies

2005-09-23 Thread Brett Porter
Stephen Duncan wrote: >Sorry, I don't think I was clear in what I want. I'm not talking >about inclusions INSTEAD of optional scope. > I see. So an inclusion would override the optional setting. This makes sense - though for the benefit (just selecting the same version), it seems a bit too much

Re: optional scope for dependencies

2005-09-23 Thread Stephen Duncan
> >4) Create "optional" scope. Rely on repository POM to set this > >proeprly. Add "inclusions" for optionally-scoped jars that mirrors > >exclusions for currently passed along jars. > > > > > Inclusions is really just a less agressive version of (2). It is more > verbose than (1) in the case whe

Re: optional scope for dependencies

2005-09-23 Thread Brett Porter
Our plan with bad metadata is to identify the most popular libraries and clean them up before 2.0. This includes things like Spring, Hibernate, Dom4J, and commons-*. On 9/21/05, Stephen Duncan <[EMAIL PROTECTED]> wrote: >Possible solutions: > >1) Manually specify exclusions on everything but op

[jira] Updated: (MNG-947) add optional scope for dependencies

2005-09-22 Thread Brett Porter (JIRA)
[ http://jira.codehaus.org/browse/MNG-947?page=all ] Brett Porter updated MNG-947: - Component: maven-artifact > add optional scope for dependencies > --- > > Key: MNG-947 > URL: http://ji

[jira] Updated: (MNG-947) add optional scope for dependencies

2005-09-21 Thread Brett Porter (JIRA)
[ http://jira.codehaus.org/browse/MNG-947?page=all ] Brett Porter updated MNG-947: - Remaining Estimate: 4 hours Original Estimate: 14400 > add optional scope for dependencies > --- > >

Re: optional scope for dependencies

2005-09-21 Thread Stephen Duncan
ompile and test phases > > >and prevent the dependency from being passed transitively. How would a > > >developer know which scope to use, other than some verbiage in a > > >(probably unread) README somewhere? > > > > > >-Original Message- >

Re: optional scope for dependencies

2005-09-21 Thread Stephen Duncan
t; > > >-Original Message- > >From: Brett Porter [mailto:[EMAIL PROTECTED] > >Sent: Sunday, September 18, 2005 20:27 > >To: Maven Developers List > >Subject: Re: optional scope for dependencies > > > > > >Kenney Westerhof wrote: > > &g

[jira] Created: (MNG-947) add optional scope for dependencies

2005-09-21 Thread Brett Porter (JIRA)
add optional scope for dependencies --- Key: MNG-947 URL: http://jira.codehaus.org/browse/MNG-947 Project: Maven 2 Type: Improvement Reporter: Brett Porter Assigned to: Brett Porter Fix For: 2.0-beta-2 "optional"

Re: optional scope for dependencies

2005-09-19 Thread Brett Porter
d prevent the dependency from being passed transitively. How would a >developer know which scope to use, other than some verbiage in a >(probably unread) README somewhere? > >-Original Message- >From: Brett Porter [mailto:[EMAIL PROTECTED] >Sent: Sunday, September 18, 2005 20:27

RE: optional scope for dependencies

2005-09-19 Thread Allison, Bob
know which scope to use, other than some verbiage in a (probably unread) README somewhere? -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Sunday, September 18, 2005 20:27 To: Maven Developers List Subject: Re: optional scope for dependencies Kenney Westerhof wrote: &

Re: optional scope for dependencies

2005-09-18 Thread Brett Porter
Kenney Westerhof wrote: >scope=provided currently does not do this (but I like it to :)) > > > I thought that was the point - provided doesn't pass along the dependency, hence can be abused as an optional scope. I'm porposing we actually have an optional scope that does that. This would effectiv

Re: optional scope for dependencies

2005-09-18 Thread Kenney Westerhof
On Mon, 19 Sep 2005, Brett Porter wrote: Hi, > Hi, > > I'd like to add an optional scope to dependencies as a way to not pass > them on to projects depending on your library. This would allow fixing > things like dom4j that pull in extra dependencies. > > If we don't do this, I believe scope=prov

optional scope for dependencies

2005-09-18 Thread Brett Porter
Hi, I'd like to add an optional scope to dependencies as a way to not pass them on to projects depending on your library. This would allow fixing things like dom4j that pull in extra dependencies. If we don't do this, I believe scope=provided will be abused as using that will do it, and prevent u