On 2 Mar 07, at 10:36 AM 2 Mar 07, John J. Franey wrote:
Wayne Fay wrote:
Did you use the [...] notation in your versions?
The question I asked myself was "Why is the '[...]' notation
important?".
So I went to Better Builds with Maven (pdf) and found this in
section 3.6:
When a version is declared as 1.1, as shown above for plexus-
utils, this
indicates that the
preferred version of the dependency is 1.1, but that other
versions may be
acceptable.
Combiningg Wayne's helpful contribution with the above, I
understand why.
Without the [...] notation, maven is free to choose whatever
version. With
the [...] notation, maven is bound to that version (or versions, if
the
[...] specifies a range).
Before reading that what did you think something like:
<version>1.0</version>
meant?
I'm actually interested in what general user opinion is here.
Jason.
Thanks,
John
--
View this message in context: http://www.nabble.com/Transitive-
Dependency-resolution-is-degrading-the-versions-of-my-dependencies-%
28i.e.-commons-collections-3.2-down-to-2.1%29-
tf3331410s177.html#a9271647
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
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]