2006/3/3, Henri Yandell <[EMAIL PROTECTED]>:

>   <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <property>
>             <name>java.security.auth.login.config</name>
>             <value>src/test-data/data/login.config</value>
>           </property>
>           <property>
>             <name>log4j.configuration</name>
>             <value>file:log4j.properties</value>
>           </property>
>         </systemProperties>
>       </configuration>
>     </plugin>
>
> but that fails to work, I get NPEs at the sys-prop setting level.

Could you give it a try again with environmentVariables instead of
systemProperties? It seems that systemProperties is not initialized
properly by the plugin and thus the exception.

> Hen

Jacek

--
Jacek Laskowski
http://www.laskowski.org.pl

Reply via email to