Hallo,

for my test I need forkMode pertest.

if I use forkMode = pertest
I got no surfire-reports in my target directory.
If skip the entry I got my reports, but my test fails :-(

If I use the Version 2.1.3-SNAPSHOT I got a NullPointerException during
setProperty.

Missed I something in my configuration?

florian

    <plugin>
      <artifactId>maven-surefire-plugin</artifactId>
          <configuration>
            <forkMode>pertest</forkMode> 
             <testFailureIgnore>true</testFailureIgnore>
             <useFile>true</useFile>
             <systemProperties>
                <property>
                        <name>cams.schema</name>
                        <value>FLORIAN</value>
                </property>
                <property>
                        <name>cams.user</name>
                        <value>florian</value>
                </property>
                <property>
                        <name>cams.password</name>
                        <value>florian</value>
                </property>
                <property>
                        <name>com.sun.management.jmxremote</name>
                        <value></value>
                </property>
                <property>
                        <name>cams.driver</name>
                        <value>oracle.jdbc.driver.OracleDriver</value>
                </property>
                <property>
                        <name>cams.database</name>
                        <value>jdbc:oracle:thin:@db01-pdvcms:1522:pdvcms</value>
                </property>
             </systemProperties>
             <argList>-Xmx512M -Xms512M</argList>
          </configuration> 
                  <executions>
          <execution>
            <goals>
              <goal>test</goal>
            </goals>
          </execution>
        </executions>
 </plugin>

--
View this message in context: 
http://www.nabble.com/m2%3A-no-surfire-test-report-in-forkmode-pertest-t1337427.html#a3574547
Sent from the Maven - Users forum at Nabble.com.


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

Reply via email to