You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Roberto Castro <ro...@cetip.com.br> on 2005/01/03 19:56:02 UTC
Artifacts final names
Hi, all.
In my Maven project, 2 artifacts are generated, a "jar" and a "war" artifact. I use "maven.final.name" and "maven.war.final.name" to change both artifacts' names. Maven is able to change the name of jar artifact, but, the same thing doesn't occurs with war artifact.
Besides this, when multiproct install copies jar and war artifacts to my local repository, It changes artifacts names, thus, even generating jar artifact with "maven.final.name", "Install" changes its names to "$(ArtifactId}-${pom.currentVersion}.jar".
Besides this, when Maven genarates the 2 artifacts inside a "ear" artifact, it is not able to change artifacts names using tag "<ear.bundle.name>".
Is it a bug? Is there a work around to do this changes?
Thanks in advance for the help.
Roberto de Castro
Analista de Suporte
Cetip - Desus Rio de Janeiro
+55 21 2276-7439
mailto:robertoc@cetip.com.br
Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) acima
identificado(s), podendo conter informações e/ou documentos
confidencias/privilegiados e seu sigilo é protegido por lei.
Caso você tenha recebido por engano, por favor, informe o remetente e apague-a de
seu sistema.
Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, cópia ou
uso sem expressa autorização do remetente.
Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista da
CETIP, o qual é divulgado somente por pessoas autorizadas.
Attention: This message was sent for exclusive use of the addressees above
identified, being able to contain information and or privileged/confidential documents
and law protects its secrecies.
In case that you it has received for deceit, please, it informs the shipper and erases it
of your system.
We notify that law forbids its retention, dissemination, distribution, copy or use without
express authorization.
Personal opinions of the shipper do not reflect, necessarily, the point of view of the
CETIP, which is only divulged by authorized people.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Artifacts final names
Posted by Brett Porter <br...@gmail.com>.
> Maven is able to change the name of jar artifact, but, the same thing doesn't occurs with war artifact.
What version of Maven? As far as I know it should work.
> Besides this, when multiproct install copies jar and war artifacts to my local repository, It changes artifacts names, thus, even generating jar artifact with "maven.final.name", "Install" changes its names to "$(ArtifactId}-${pom.currentVersion}.jar".
This is correct. The repository has a set format you can't change.
> Besides this, when Maven genarates the 2 artifacts inside a "ear" artifact, it is not able to change artifacts names using tag "<ear.bundle.name>".
> Is it a bug? Is there a work around to do this changes?
Sorry, someone else will have to help with EAR.
- Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org