Good Afternoon Martin i presume maven is called from a cmd/bash/cshell/kshell (shell environment) so one would need to reach back and change the configuration of the invoking parent environment (which i dont how to accomplish from any child shell)
there are workarounds such as modifying the system registry to update and or insert new environment variables but one would need to reach back and refresh the configuration variables from the updated configuration.. interested in looking for a cleaner solution any takers? Martin ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Subject: how to set environment variables > Date: Mon, 19 Oct 2009 17:12:27 +0200 > From: [email protected] > To: [email protected] > > hi, > > I've already read a lot about this > seems, that it's not possible to set env-vars in a pom.xml or > profiles.xml file in maven 2 > is that correct? > > does anyone know a workaround or a mini-plugin that allows to set those > env vars? > > TIA, martin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > _________________________________________________________________ Hotmail: Powerful Free email with security by Microsoft. http://clk.atdmt.com/GBL/go/171222986/direct/01/
