You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by RobJac <ro...@caritor.com> on 2006/04/25 11:48:36 UTC

Use System Environment Variable for JUNIT

I have Maven project which also runs Junit when i execute install command.
The class files which runs Junit has references to few System environment
variable. I would like to know if there is any way I can declare System
Environment variable in my pom xml so that the Junit can use this when it
runs my project
--
View this message in context: http://www.nabble.com/Use-System-Environment-Variable-for-JUNIT-t1504491.html#a4079453
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Use System Environment Variable for JUNIT

Posted by Emmanuel Venisse <em...@venisse.net>.
http://maven.apache.org/plugins/maven-surefire-plugin/howto.html

Emmanuel

RobJac a écrit :
> I have Maven project which also runs Junit when i execute install command.
> The class files which runs Junit has references to few System environment
> variable. I would like to know if there is any way I can declare System
> Environment variable in my pom xml so that the Junit can use this when it
> runs my project. I am using Maven2
> --
> View this message in context: http://www.nabble.com/Use-System-Environment-Variable-for-JUNIT-t1504491.html#a4079453
> Sent from the Maven - Users forum at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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


RE : Use System Environment Variable for JUNIT

Posted by Olivier Lamy <ol...@accor.com>.
Read : http://maven.apache.org/plugins/maven-surefire-plugin/howto.html

Section called Using System Properties

-Olivier

-----Message d'origine-----
De : RobJac [mailto:robin.jacob@caritor.com] 
Envoyé : mardi 25 avril 2006 11:49
À : users@maven.apache.org
Objet : Use System Environment Variable for JUNIT



I have Maven project which also runs Junit when i execute install
command. The class files which runs Junit has references to few System
environment variable. I would like to know if there is any way I can
declare System Environment variable in my pom xml so that the Junit can
use this when it runs my project. I am using Maven2
--
View this message in context:
http://www.nabble.com/Use-System-Environment-Variable-for-JUNIT-t1504491
.html#a4079453
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
--------------------------------------------------------------------------------------------------------------
Ce message électronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
-------------------------------------------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org