You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ju...@bnpparibas.com on 2004/06/29 10:53:16 UTC
Réf. : WAR file versioning (Maven RC4)
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
sverre@explicit.dk - 29/06/2004 10:48
Veuillez répondre à users@maven.apache.org
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Réf. : WAR file versioning (Maven RC4)
Posted by sv...@explicit.dk.
Will do - thnx.
BTW, it's really, really nice to be able to use the artifact:deploy method now -
so much easier to deploy where and how you want it.
br,
/Sverre
Citat julien.kirch@bnpparibas.com:
>
> 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
> sverre@explicit.dk - 29/06/2004 10:48
>
>
> Veuillez répondre à users@maven.apache.org
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
>
>
>
>
>
>
> 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: 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