You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Baeriswyl Kuno - Extern (IT-BA-MV)" <ku...@sbb.ch> on 2008/11/20 15:48:33 UTC

AW: maven-war-plugin: Wrong name mapping : myartifact--5.0.0.1.1-SNAPSHOT -> myartifact--5.0.0.1.1-20081120.104740-3.jar

Hello,

thanks for your hint. I've tried set the the uniqueVersion Option in the distribution section. Though, Archiva behaves still on the same way. Further more, other artifacts names are mapped correctly. They are build on the same time and I don't see any technical difference between them.

Any other hints?

Thanks a lot.
Kuno

-----Urspr?ngliche Nachricht-----
Von: Brian E. Fox [mailto:brianf@reply.infinity.nu]
Gesendet: Donnerstag, 20. November 2008 14:44
An: Maven Users List
Betreff: RE: Wrong name mapping : myartifact--5.0.0.1.1-SNAPSHOT -> myartifact--5.0.0.1.1-20081120.104740-3.jar


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:kuno.baeriswyl@sbb.ch]
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


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