mvn surefire:report

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

mvn surefire:report

Jeremy Hughes
I'd like to get html junit results instead of just xml. Should this
work? I can see the surefire plugin is being used, but the target
can't be found?! Is there a configuration of the surefire plugin that
we're missing? This is the error:

$ mvn surefire:report
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Aries :: Top Parent POM
[INFO]   Aries :: Default Parent POM
[INFO]   Aries :: Java 5 Parent POM
[INFO]   Apache Aries Test Support
[INFO]   Apache Aries Unit Test Support
[INFO]   Apache Aries Blueprint
[INFO]   Apache Aries Blueprint API
[INFO]   Apache Aries Blueprint Core
[INFO]   Apache Aries Blueprint CM
[INFO]   Apache Aries Blueprint Bundle
[INFO]   Apache Aries Blueprint Sample
[INFO]   Apache Aries Blueprint iTests
[INFO]   Apache Aries JNDI
[INFO]   Apache Aries JNDI Core
[INFO]   Apache Aries JNDI URL Handler
[INFO]   Apache Aries JNDI Bundle
[INFO]   Apache Aries Transaction
[INFO]   Apache Aries
[INFO] Searching repository for plugin with prefix: 'surefire'.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Required goal not found: surefire:report in
org.apache.maven.plugins:maven-surefire-plugin:2.4.3
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Fri Oct 16 17:53:47 BST 2009
[INFO] Final Memory: 5M/12M
[INFO] ------------------------------------------------------------------------

Cheers,
Jeremy
Reply | Threaded
Open this post in threaded view
|

Re: mvn surefire:report

Stuart McCulloch
2009/10/17 Jeremy Hughes <[hidden email]>

> I'd like to get html junit results instead of just xml. Should this
> work? I can see the surefire plugin is being used, but the target
> can't be found?! Is there a configuration of the surefire plugin that
> we're missing? This is the error:
>

shouldn't that be:

   mvn surefire-report:report

http://maven.apache.org/plugins/maven-surefire-report-plugin


> $ mvn surefire:report
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Aries :: Top Parent POM
> [INFO]   Aries :: Default Parent POM
> [INFO]   Aries :: Java 5 Parent POM
> [INFO]   Apache Aries Test Support
> [INFO]   Apache Aries Unit Test Support
> [INFO]   Apache Aries Blueprint
> [INFO]   Apache Aries Blueprint API
> [INFO]   Apache Aries Blueprint Core
> [INFO]   Apache Aries Blueprint CM
> [INFO]   Apache Aries Blueprint Bundle
> [INFO]   Apache Aries Blueprint Sample
> [INFO]   Apache Aries Blueprint iTests
> [INFO]   Apache Aries JNDI
> [INFO]   Apache Aries JNDI Core
> [INFO]   Apache Aries JNDI URL Handler
> [INFO]   Apache Aries JNDI Bundle
> [INFO]   Apache Aries Transaction
> [INFO]   Apache Aries
> [INFO] Searching repository for plugin with prefix: 'surefire'.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Required goal not found: surefire:report in
> org.apache.maven.plugins:maven-surefire-plugin:2.4.3
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 9 seconds
> [INFO] Finished at: Fri Oct 16 17:53:47 BST 2009
> [INFO] Final Memory: 5M/12M
> [INFO]
> ------------------------------------------------------------------------
>
> Cheers,
> Jeremy
>



--
Cheers, Stuart
Reply | Threaded
Open this post in threaded view
|

Re: mvn surefire:report

Jeremy Hughes
2009/10/16 Stuart McCulloch <[hidden email]>:

> 2009/10/17 Jeremy Hughes <[hidden email]>
>
>> I'd like to get html junit results instead of just xml. Should this
>> work? I can see the surefire plugin is being used, but the target
>> can't be found?! Is there a configuration of the surefire plugin that
>> we're missing? This is the error:
>>
>
> shouldn't that be:
>
>   mvn surefire-report:report
>
> http://maven.apache.org/plugins/maven-surefire-report-plugin
>

:-) thanks. Getting back into maven after some time away!

Cheers,
Jeremy