Specifying the name via <finalName> effects only the jar file in target
directory. In the repository the file has not the "finalName".
Also the file name doesn't include version information.
Mark Hobson <[EMAIL PROTECTED]>
15.09.2005 13:22
Bitte antworten an "Maven Users List"
An: Maven Users List <users@maven.apache.org>
Kopie:
Thema: Re: Re: Build process for different environments
On 15/09/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Thanks, it the meantime I had the same idea.
>
> Do you have an advice to achieve the right naming for the jar file? (for
> example domain-prod.jar, domain-test.jar and so on.)
You can use the <finalName> element in profile/build to customise the
final jar name - although not too sure how this would work if the jar
was a dependency of another maven project.
I use profile resources in the same way for one of my projects,
although to avoid duplicates of all resources between profiles I keep
common resources in src/main/resources, and then profile-specific
resources in src/profile/xxx/resources. This does have the drawback
of having respecify the two resource dirs (common and profile) in all
profiles, which led me to raise
http://jira.codehaus.org/browse/MNG-895.
Does anyone have any suggestions to allow inheritence of resource dirs
from within a profile for these scenarios?
Cheers,
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
++++++++++++++++++++++++++++++++++++++++++++++
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.
++++++++++++++++++++++++++++++++++++++++++++++