You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Thomas Will <to...@yahoo.com> on 2006/08/03 18:24:24 UTC

[m2] version ranges

I'd like to use a version range when specifying the
version of the parent pom.
  <parent>
    ...
    <version>[1.0.0,2.0.0)</version>
  </parent>
but get an error message that the artefact version
[1.0.0,2.0.0) cannot be resolved.

Is this not supported?

Thanks, Tom.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] version ranges

Posted by Wayne Fay <wa...@gmail.com>.
I believe the version ranges can only be used for dependencies. At
least, I've never seen it used anywhere else (in poms posted on this
list, in OSS code, in blogs, etc), and I've only used it in
dependencies myself.

Wayne

On 8/3/06, Thomas Will <to...@yahoo.com> wrote:
> I'd like to use a version range when specifying the
> version of the parent pom.
>  <parent>
>    ...
>    <version>[1.0.0,2.0.0)</version>
>  </parent>
> but get an error message that the artefact version
> [1.0.0,2.0.0) cannot be resolved.
>
> Is this not supported?
>
> Thanks, Tom.
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org