We use Nexus as our repository manager and publish all artifacts (snapshot and 
release) through one url. This was a suggested setup to solve a Maven 2.2.1 
resolve behavior (I can't remember what exactly, so off the top of my head).

We have switched to Maven 3 and the following behavior occurs: a new snapshot 
of an entity is uploaded to Maven, but the using project keeps downloading the 
old version.

It turned out that in Nexus there were two snapshots:
- one with a date-time in the name (put there by Maven 3)
- one without a date-time in the name (put there previously by Maven 2)

Maven 3 seems to keep resolving to the old version. So I deleted the whole 
folder and rebuild it, now there only is a snapshot with date-time in the name:

/[ERROR] Failed to execute goal on project CheyenneWebProject: Could not 
resolve dependencies for project 
nl.innovationinvestments:CheyenneWebProject:pom:1.0-SNAPSHOT: Could not find 
artifact nl.innovationinvestments:CheyenneServlet:jar:1.11-SNAPSHOT in kp 
(http://alaya.applicationplaza.com:8081/nexus/content/groups/pub
lic) -> [Help 1]
/
The artifact
    nl.innovationinvestments:CheyenneServlet:jar:1.11-SNAPSHOT

indeed is not in the repository, it's called
    nl.innovationinvestments:CheyenneServlet:jar:1.11-20101027.120857.4

and Maven 3 does not find it?

Switching back to Maven 2.2.1 for now.

Tom

Reply via email to