Re: Same dependency different classifier

2010-10-21 Thread Jon Paynter
On Thu, Oct 21, 2010 at 12:35 PM, Phillip Hellewell wrote: > On Thu, Oct 21, 2010 at 12:32 PM, Wayne Fay wrote: > >> And to make it more manageable capture the version in a property and > >> use that in the different places. > > > > Or compose all 3 artifacts into a single "all" dependency and de

Re: Same dependency different classifier

2010-10-21 Thread Phillip Hellewell
On Thu, Oct 21, 2010 at 12:32 PM, Wayne Fay wrote: >> And to make it more manageable capture the version in a property and >> use that in the different places. > > Or compose all 3 artifacts into a single "all" dependency and depend on it. Thanks. Given the issues surrounding classifiers, I'm th

Re: Same dependency different classifier

2010-10-21 Thread Phillip Hellewell
On Thu, Oct 21, 2010 at 11:57 AM, Yanko, Curtis wrote: > > Perhaps the enforcer plugin could help > > http://maven.apache.org/enforcer/enforcer-api/writing-a-custom-rule.html Thanks. It seems like a lot of work to prevent something that IMO should be treated as an error by the dependency resolut

Re: Same dependency different classifier

2010-10-21 Thread Wayne Fay
> And to make it more manageable capture the version in a property and > use that in the different places. Or compose all 3 artifacts into a single "all" dependency and depend on it. Wayne - To unsubscribe, e-mail: users-unsubsc

Re: Same dependency different classifier

2010-10-21 Thread Nick Stolwijk
inal Message- > From: Phillip Hellewell [mailto:ssh...@gmail.com] > Sent: Thursday, October 21, 2010 1:53 PM > To: Maven Users List > Subject: Same dependency different classifier > > Can I make it an error if someone tries to use two different versions of > the same dependency w

RE: Same dependency different classifier

2010-10-21 Thread Yanko, Curtis
: Phillip Hellewell [mailto:ssh...@gmail.com] Sent: Thursday, October 21, 2010 1:53 PM To: Maven Users List Subject: Same dependency different classifier Can I make it an error if someone tries to use two different versions of the same dependency with different classifiers? For example, this works, but I

Same dependency different classifier

2010-10-21 Thread Phillip Hellewell
Can I make it an error if someone tries to use two different versions of the same dependency with different classifiers? For example, this works, but I want it to cause an error: ad.3rdparty zlib [1.2.5] zip dlls ad.3rdparty zlib [1.2