Im migrating my projects from maven1 to m2.
I added tthe surefire-report-maven-plugin to the pom;

[pom.xml]
<reporting>
        <plugins>                       
        <plugin>
                   <groupId>org.codehaus.mojo</groupId>
               <artifactId>surefire-report-maven-plugin</artifactId>
            </plugin>
        </plugins>
</reporting>

>mvn site

Maven2 now compiles and runs te junti tests:

[INFO] Preparing surefire-report:report
[WARNING]
....
[INFO] [surefire:test]
...
Results :
[surefire] Tests run: 248, Failures: 3, Errors: 21

[INFO] 
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] There are some test failure.

Because of some failed junit-tests the whole maven build fails, withour 
generating any 
Site or report as should be!?
Only if there are no junit-errors/failures the site and report is generated.

I guess that i´am doing something definitly wrong????
Help needed.

Thanks
Jens Zastrow

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

Reply via email to