maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Gudian <andreas.gud...@gmail.com>
Subject Re: Possible to have list of systemProperties in an external file?
Date Tue, 23 Apr 2013 06:44:19 GMT
Hi,

You can use the systemPropertyValues config element of the surefire plugin:

http://maven.apache.org/surefire/maven-surefire-plugin/examples/system-properties.html

Cheers,
Andreas

Am Dienstag, 23. April 2013 schrieb Wayne Fay :

> > My problem is that I am working on a test where I will need to pass in a
> lot
> > of arguments and would prefer if I could read them from a properties file
> > instead of having a massive command line argument.
>
> Seems smarter (to me) to adjust your test code to read from a
> properties file or similar than expect Maven to pass a bunch of system
> properties to it.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org <javascript:;>
> For additional commands, e-mail: users-help@maven.apache.org<javascript:;>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message