Hi Benson,
You can  do it like
<plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-surefire-plugin</artifactId>
               <configuration>
                   <systemProperties>
                       <property>
                           <name></name>
                           <value></value>
                       </property>
               </configuration>
           </plugin>
But it will affect all testcase, for a specific test, how about set system properties in the setUp method?
Freeman


Benson Margulies wrote:
Can one have multiple executions of the maven-surefire-plugin? I want to add
a test case that runs with a strange setting of file.encoding to the
systests.



--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com

Reply via email to