users@jersey.java.net

Re: [Jersey] Link to maven source code regarding version ranges

From: Jakub Podlesak <Jakub.Podlesak_at_Sun.COM>
Date: Thu, 19 Jun 2008 14:32:32 +0200

On Wed, Jun 18, 2008 at 05:02:15PM +0200, Martin Grotzke wrote:
> Hi Chris,
>
> On Wed, 2008-06-18 at 05:23 -0700, Chris Wilkes wrote:
> > Martin asked for some documentation on the use of [2.5.2,) version
> > ranges in maven here:
> > https://jersey.dev.java.net/servlets/ReadMsg?list=users&msgNo=1615
> > (I've deleted the email and so can't easily respond to it, it would be
> > nice if the web interface for the mailing list allowed replies).
> >
> > After spending quite a bit of time on the maven site I couldn't find
> > anything about it so I went to the source:
> > http://svn.apache.org/viewvc/maven/components/tags/maven-2.0.9/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java?view=markup
> >
> > and it describes how <version/> is parsed:
> >
> > 1.0 Version 1.0
> > [1.0,2.0 Versions 1.0 (included) to 2.0 (not included)
> > [1.0,2.0] Versions 1.0 to 2.0 (both included)
> > [1.5,) Versions 1.5 and higher
> > (,1.0],[1.2,) Versions up to 1.0 (included) and 1.2 or higher
> Great research!
>
> IMHO we can change the spring25-release-version in the jersey-spring
> pom.xml to [2.5.2,).
>
> Has anybody concerns regarding this?

No concerns at all. As long as tests pass ;-)

>
> I'm off for holiday until monday, so I could change this on tuesday, so
> that it's in the maven repo next wednseday - or somebody else is going
> to change this...

I can do it after the 0.8 release tomorow. I do not want change things
at the last moment right before the release (just in case something gets wrong).

~Jakub

>
> >
> > I also noticed the the large spring.jar is included in jersey-spring's
> > pom ("<artifactId>spring</artifactId>") which is a little weird as the
> > spring-core and spring-webmvc artifacts are explicitly called out.
> Hum, you say it's enough to have a dependency on spring-core and
> spring-webmvc? (Right now unfortunately I have not the time to test this
> by myself, sorry)
>
> Cheers,
> Martin
>
>
> >
> > Chris
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> > For additional commands, e-mail: users-help_at_jersey.dev.java.net
>



-- 
http://blogs.sun.com/japod