[ http://jira.codehaus.org/browse/MNG-298?page=all ]
     
Brett Porter closed MNG-298:
----------------------------

    Resolution: Fixed

> [surefire] Add support for passing system properties to JUnit tests
> -------------------------------------------------------------------
>
>          Key: MNG-298
>          URL: http://jira.codehaus.org/browse/MNG-298
>      Project: m2
>         Type: New Feature
>   Components: maven-plugins
>     Versions: 2.0-alpha-1
>     Reporter: Vincent Massol
>      Fix For: 2.0-alpha-2
>  Attachments: maven-surefire-plugin_systemproperties.patch, 
> maven-surefire-plugin_systemproperties2.patch
>
>
> Some tests require to get some properties to work. This patch adds support 
> for passing system properties to JUnit tests. To use it:
>   <build>
>     <plugins>
>       <plugin>
>         <artifactId>maven-surefire-plugin</artifactId>
>         <version>1.0-alpha-1</version>
>         <configuration>
>           <systemProperties>
>             <property>
>               <name>myproperty</name>
>               <value>myvalue</value>
>             </property>
>           </systemProperties>
>         </configuration>
>       </plugin>
>     </plugins>
>   </build>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to