Hi,

I don't know if it is related to Maven 3, but I'm not able to update to a newer 
SNAPSHOT that is available in my corporate repository, even by using the -U 
command line option. It seems Maven is not even asking the repository manager 
for a new version.

What's wrong?

> mvn compile -U -X
Apache Maven 3.0-alpha-3 (r834122; 2009-11-09 17:04:41+0100)

[INFO] Scanning for projects...
[DEBUG] Determining update check for snapshot 
com.mycompany:project-parent:1-SNAPSHOT 
(D:\.m2\repository\com\mycompany\project-parent\1-SNAPSHOT\maven-metadata-nexus.xml)
 from nexus (http://nexus.mycompany.fr/content/groups/all)
[DEBUG] Searching for: nexus.maven-metadata-nexus.xml.lastUpdated in touchfile.
[DEBUG] Reading resolution-state from: 
D:\.m2\repository\com\mycompany\project-parent\1-SNAPSHOT\resolver-status.properties
[DEBUG] project-parent: resolved to version 1-20091110.084931-1 from repository 
nexus


In the Nexus repository I have:

project-parent-1-20091110.084931-1.pom
project-parent-1-20091110.085551-2.pom

Removing 
D:\.m2\repository\com\mycompany\project-parent\1-SNAPSHOT\resolver-status.properties
 is a workaround, but I was expecting -U option to force SNAPSHOT update 
whatever is in the local repository...

Regards,

Julien




----- Message d'origine ----
> De : Benjamin Bentmann <benjamin.bentm...@udo.edu>
> À : Maven Developers List <dev@maven.apache.org>
> Envoyé le : Lun 9 Novembre 2009, 17 h 39 min 09 s
> Objet : [VOTE] Release Apache Maven 3.0-alpha-3
> 
> Hi,
> 
> OK, here we go, another alpha release of Maven, for all those brave guys that 
> want to take it for a test drive ;-)
> 
> We solved many issues:
> http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10500&version=14719
> 
> There are still a couple of issues left in JIRA:
> http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&pid=10500&status=1
> 
> Staging repo:
> https://repository.apache.org/content/repositories/maven-004/
> 
> Staged source and binary distros:
> https://repository.apache.org/content/repositories/maven-004/org/apache/maven/apache-maven/3.0-alpha-3/
> 
> Guide to testing staged releases:
> http://maven.apache.org/guides/development/guide-testing-releases.html
> 
> Vote open for 72 hours.
> 
> [ ] +1
> [ ] +0
> [ ] -1
> 
> +1 from me
> 
> 
> Benjamim
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org





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

Reply via email to