There are various rules, but here's the general idea: <version>[2,)</version> == Anything v2 or higher is OK.
<version>[1,2)</version> == I want version 1 (inclusive) to 2 (exclusive), so anything that starts with version 1 is valid (ie 1.0.1, 1.3, 1.9). <version>[1.0.1]</version> == Only version 1.0.1 is acceptable. If you have a specific case that is not handled above, reply back. Wayne On 10/4/07, Joshua ChaitinPollak <[EMAIL PROTECTED]> wrote: > We have this same problem. How do you specify a version range in a > dependancy? > > On Oct 4, 2007, at 7:39 AM, Gisbert Amm wrote: > > > The Maven way is to use snapshots or version ranges for that. > > > > -Gisbert > > > > NiranjanG wrote: > >> Hi, Can anyone let me know, How I can load a property file in > >> pom.xml. > >> For eg., in my pom.xml, I have to update the version of a > >> dependency jar . > >> dynamically, which will be available in a global property file. > >> This is needed because, the component I work depends on 15 otehr > >> componets, > >> and I do not have any automated way to know the latest versions of > >> the > >> binaries published by them. > >> I decided to have a global property file, which contains all the > >> component's > >> latest versions( which will be updated dynamically ,when they > >> publish their > >> binary, and I want update my pom automatically with the values in > >> that file, > >> so that I will not need to modify my pom everyday. > >> Your suggestions will be invaluable to me. > >> Thanks, > >> Niranjan > > > > -- > > Gisbert Amm > > Softwareentwickler Infrastruktur > > Telefon: (0721) 91374 - 4224 > > Telefax: (0721) 91374 - 2740 > > E-Mail: [EMAIL PROTECTED] > > Internet: www.1und1.de > > > > 1&1 Internet AG > > Elgendorfer Strasse 57 > > 56410 Montabaur > > > > Amtsgericht Montabaur HRB 6484 > > > > Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, > > Andreas Gauger, Thomas Gottschlich, Matthias Greve, Robert > > Hoffmann, Norbert Lang, Achim Weiss > > Aufsichtsratsvorsitzender: Michael Scheeren > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- > Joshua ChaitinPollak > Software Engineer > Kiva Systems > > > > --------------------------------------------------------------------- > 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]