Hi. I have a configuration to set certain properties in the pom file to be
used during my TestNG tests. It doesn't work. Here is what I do:
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <systemPropertyVariables>
                        <property>value</property>
                    </systemPropertyVariables>
                </configuration>
            </plugin>

and in the test file I simply call System.getProperty("property") and it is
null. When called from the command line it works.
How can I make it work in eclipse too?

Regards,
wujek
-- 
View this message in context: 
http://old.nabble.com/m2eclipse%2C-surefire-and-systepPropertyVariables-tp27782691p27782691.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to