You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by U Gopalakrishnan <ug...@in.ibm.com> on 2009/06/10 10:03:52 UTC
Is there a way to specify a particular SNAPSHOT version?
Hello,
I have a maven project A which is dependent on another maven project B.
Both project are under active development, so project A is depending on
the SNAPSHOT version of project B. But I don't really want project A to
pickup every new snapshot version of B, but pick up a new snapshot version
only once in every 2 weeks or so. Is there a way in maven to specify a
particular version (or build) of the snapshot version of project B to be
used in project A build? . E.g. We could say use the version built on a
particular date or some thing like that.
Thanks
Gopal
Re: Is there a way to specify a particular SNAPSHOT version?
Posted by Trevor Harmon <tr...@vocaro.com>.
On Jun 10, 2009, at 4:03 AM, U Gopalakrishnan wrote:
> pick up a new snapshot version
> only once in every 2 weeks or so.
You might be able to do this by setting the snapshots updatePolicy of
your settings.xml to "interval:XXX" (XXX in minutes).
Trevor
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Is there a way to specify a particular SNAPSHOT version?
Posted by nicolas de loof <ni...@gmail.com>.
You can use the snapshot timestamp as version, i.e.
<version>123455645365.1123-4</version>
2009/6/10 U Gopalakrishnan <ug...@in.ibm.com>
> Hello,
>
> I have a maven project A which is dependent on another maven project B.
> Both project are under active development, so project A is depending on
> the SNAPSHOT version of project B. But I don't really want project A to
> pickup every new snapshot version of B, but pick up a new snapshot version
> only once in every 2 weeks or so. Is there a way in maven to specify a
> particular version (or build) of the snapshot version of project B to be
> used in project A build? . E.g. We could say use the version built on a
> particular date or some thing like that.
>
> Thanks
> Gopal