You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Peter Lauri <pe...@gmail.com> on 2010/12/06 12:20:31 UTC

Dependency version range and snapshots

H,

We have a release repo and snapshot repo.

For the moment for artifact A we only have a snapshot. In the dependency for artifact B I added [0,) for the version of A. And then running "mvn clean test" it complains that it cannot find anything in the repo that satisfies [0,) version. If I put the 0.1.0-SNAPSHOT explicitly it works fine.

In version ranges, are not snapshots included?

With regards,
Peter Lauri

* Sent on the road from my iPad
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Dependency version range and snapshots

Posted by Anders Hammar <an...@hammar.net>.
I believe no. But there's some discuss regarding changing this or adding
some configuration to enable it. See
http://jira.codehaus.org/browse/MNG-3092

/Anders

On Mon, Dec 6, 2010 at 12:20, Peter Lauri <pe...@gmail.com> wrote:

> H,
>
> We have a release repo and snapshot repo.
>
> For the moment for artifact A we only have a snapshot. In the dependency
> for artifact B I added [0,) for the version of A. And then running "mvn
> clean test" it complains that it cannot find anything in the repo that
> satisfies [0,) version. If I put the 0.1.0-SNAPSHOT explicitly it works
> fine.
>
> In version ranges, are not snapshots included?
>
> With regards,
> Peter Lauri
>
> * Sent on the road from my iPad
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>