Hi,

when I install an artifact  with different profiles (prod, test ...) I 
would like that the artifact name contains the environment name. 

my profile definition:

<profile>
        <id>env-prod</id>
        <activation>
                <property>
                        <name>env</name>
                        <value>prod</value>
                </property>
        </activation>
        <build>
                <resources>
                        ....
                </resources>
                <finalName>${artifactId}-prod-${version}</finalName>

        </build>

</profile>



Does anybody knows a solution for my problem?


TIA

Martin



++++++++++++++++++++++++++++++++++++++++++++++
Diese Nachricht ist vertraulich und ausschließlich für den/die Adressaten 
bestimmt. Sollten Sie nicht der beabsichtigte Adressat, einer seiner 
Mitarbeiter oder sein Empfangsbevollmächtigter sein, ist jede Form der 
Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts 
dieser Nachricht unzulässig. In diesem Fall bitten wir, den Absender umgehend 
zu benachrichtigen und die Nachricht zu vernichten. Elektronisch versandte 
Nachrichten können durch Unberechtigte manipuliert und/oder gelesen werden, 
weshalb jegliche Haftung hierfür ausgeschlossen wird.
++++++++++++++++++++++++++++++++++++++++++++++
This communication is confidential and is intended solely for the addressee(s). 
If you are not the intended recipient(s), his/her assistant, or authorized 
recipient, any form of disclosure, reproduction, distribution or any use of 
this communication or the information in it, is strictly prohibited and may be 
unlawful. In this case, please notify the sender immediately and destroy the 
e-mail. Electronic communication via the Internet by e-mail may be manipulated 
and/or read by third parties, thus we exclude any liability whatsoever for this 
e-mail.
++++++++++++++++++++++++++++++++++++++++++++++

Reply via email to