This is not realted to MNG-913.

SNAPSHOT.version.txt is no longer used (its there for backwards 
compatibility).

Removing a reference to a repository will ensure a snapshot from that 
repository is no longer used. That is by design, it's not a bug.

- Brett

On 9/19/05, Kenney Westerhof <[EMAIL PROTECTED]> wrote:
> 
> On Sun, 18 Sep 2005, Adam Hardy wrote:
> 
> Hi,
> 
> i've already created a JIRA issue for this (MNG-913).
> 
> I think deleting
> ~/.m2/repository/org/apache/maven/plugins/maven-xdoclet-plugin, and your
> ~/.m2/plugin-registry.xml might solve this.
> 
> Otherwise try to overwrite the -SNAPSHOT.pom/jar with the newly downloaded
> version, until this is solved.
> 
> -- Kenney
> 
> > I just upgraded from the alpha-3 nightly from svn to the beta-1 release.
> >
> > I'm using maven-xdoclet-plugin and I have the following in my pom:
> >
> > <pluginRepositories>
> > <pluginRepository>
> > <id>Neonics</id>
> > <url>http://www.neonics.com/maven2/</url>
> > </pluginRepository>
> > </pluginRepositories>
> >
> > so that 'm2 -U package' resolved the latest snapshot of the xdoclet
> > plugin. Once maven had downloaded the latest snapshot (20050918), I took
> > out the reference to the repository.
> >
> > Now though m2 resolves the dependency to a previous snapshot
> >
> > [DEBUG] resolveMetaData:
> > org.apache.maven.plugins:maven-xdoclet-plugin:pom:1.0-SNAPSHOT: Skipping
> > disabled repository central (http://repo1.maven.org/maven2)
> > [DEBUG] resolveMetaData:
> > org.apache.maven.plugins:maven-xdoclet-plugin:pom:1.0-SNAPSHOT: Skipping
> > disabled repository central (http://repo1.maven.org/maven2)
> > [DEBUG] maven-xdoclet-plugin: resolved to version 1.0-20050813.152803-4
> > from local repository
> >
> >
> > For some reason maven didn't upgrade
> > maven-xdoclet-plugin-1.0-SNAPSHOT.version.txt which still names the old
> > snapshot.
> >
> > I changed this by hand but shouldn't this happen automatically?
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> --
> Kenney Westerhof
> http://www.neonics.com
> GPG public key: http://www.gods.nl/~forge/kenneyw.key
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to