I think SNAPSHOTs are only updated once a day or so, not for every
build. You can force it through "mvn -U" or by settings updatePolicy
in your settings.xml:
http://maven.apache.org/ref/2.0.8/maven-settings/settings.html#class_releases

Here's a blog about this:
http://jlorenzen.blogspot.com/2008/07/maven-not-downloading-latest-snapshots.html

/Anders

On Fri, May 15, 2009 at 12:14, Bocalinda <bocali...@gmail.com> wrote:
> Hi List,
>
> According to the documentation, when specifying a version as -SNAPSHOT,
> Maven downloads the artifact on each build.
>
> I specify:
>
>  <parent>
>    <groupId>config</groupId>
>    <artifactId>seta-general-configuration</artifactId>
>    <version>1.0-SNAPSHOT</version>
>  </parent>
>
> and expected Maven to download the parent pom again from the repository,
> however, this doesn't seem to be the case.
> Is this a bug, or is it not supported?
>
> I manage the parent pom, which is used in many different projects. The
> problem is that I am not the developer of all those projects, so if I would
> change something in the parent pom, then I have no control over whether
> people are updating the parant pom version in order to fetch te latest
> version. It would be much easier if I could leave it as SNAPSHOT, and have
> Maven download it each time a build is executed.
>
> I'm using Maven 2.1.0.
>
> Thanks.
>

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

Reply via email to