the only way *I know* is to use versions-maven-plugin in conjuction with versions locked down completely with properties

I would think that 1.0.1-SNAPSHOT is in the range [1.0,1.1-!)

but there may be some rules that make this less of an issue (like maven favouring the highest version avail in the range and non snapshots should always be higher than snapshots)

Sent from my [rhymes with myPod] ;-)

On 8 Mar 2009, at 15:54, "Markus KARG" <[email protected]> wrote:

Will that prevent usage of 1.0.1-SNAPSHOT but allow 1.0.1-alpha-1 through 1.0.9999-zzz-99 ?

how about [1.0,1.1-SNAPSHOT) ?

So this means that there is no *real* solution to get alphas but not
SNAPSHOTs?

[1.0,1.1-!)
1.0-SNAPSHOT < 1.0 < 1.1-SNAPSHOT < 1.1
But in ASCII ! is < A
therefore
1.1-! < 1.1-SNAPSHOT < 1.1
1.1-! is also < 1.1-alpha-1
My project is dependent of some library. I want to always use the
latest
bugfix but not any new features. So I added
<version>[1.0,1.1)</version>
which allows me to use all bugfixes of the 1.0 release. But when
I
check
the
actually used version, I see that 1.1-SNAPSHOT is getting used!
How
can I
prevent this? Is there a way to say "anything between 1.0 smaller
than 1.1,
but NOT SNAPSHOTS"?



--- ------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




--
- juven


---------------------------------------------------------------------
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]

Reply via email to