This is correct behavior. When snapshots are deployed, the SNAPSHOT part
is resolved to a timestamp-build number. This can be changed if you set
useUnique=false in the distributionManagement section of your pom.

-----Original Message-----
From: Baeriswyl Kuno - Extern (IT-BA-MV) [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 20, 2008 6:28 AM
To: 'Maven Users List'
Subject: Wrong name mapping : myartifact--5.0.0.1.1-SNAPSHOT ->
myartifact--5.0.0.1.1-20081120.104740-3.jar

Hello,

I've got a bizare behavior.
 - Maven 2.0.9
 - Archiva 1.1.2

I'm package a WAR archive using maven-war-plugin 2.1-alpha-1 . If it
downloads the myartifact--5.0.0.1.1-SNAPSHOT.jar from Archiva, the
filename of that artifact in my WAR archive will be
myartifact--5.0.0.1.1-20081120.104740-3.jar. The manifest is generated
correctly (classpath /lib/myartifact--5.0.0.1.1-SNAPSHOT.jar ).

I've tried to clean the Archiva repository and redeploy the artifact,
but nothing helped. Only if I build and install
myartifact--5.0.0.1.1-SNAPSHOT locally it seams to work.

Does anybody have a hint?

Thanks

Kuno


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to