Hi

by default, a generated war is named "${pom.artifactId}.war" so it uses no
version number

if you want to version it, just add

maven.war.final.name=${pom.artifactId}-${pom.currentVersion}.war

to your project.properties

br

Julien



Extranet
[EMAIL PROTECTED] - 29/06/2004 10:48


Veuillez r�pondre � [EMAIL PROTECTED]
Pour : users

cc :


Objet :     WAR file versioning (Maven RC4)


Hi,


I just used the war plugin, it seems that it does not attach a version to
the
generated war file. I am using Maven RC4.

I'd expect that a testapp-1.0.war would be generated in the target
directory, I
only get a testapp.war

I reproduced it quite easily:

1) generate a new application with maven genapp
2) invoke "maven war"

You get an unversioned war file.

Anyone else seen this ?

br,
  /Sverre



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










This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.


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

Reply via email to