There seems to be a mistake in the documentation - MAVEN SUREFIRE PLUGIN

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

There seems to be a mistake in the documentation - MAVEN SUREFIRE PLUGIN

Moina Farheen
Hi,

I am a beginner and just started to learn maven for my project. I was
reading about surefire plugin on the site and found this -

image.png

As I see here, there are 3 goals in this plugin but why does it say there
"Surefire Report Plugin only has one goal"
Have I misunderstood?

Appreciate response.

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: There seems to be a mistake in the documentation - MAVEN SUREFIRE PLUGIN

Tibor Digana
btw, you did not attach the image.

You mean this?
(You can open a Jira ticket and fix in PR on
github.com/apache/maven-surefire)

The Surefire Report Plugin only has one goal (the other is a workaround):

   - surefire-report:failsafe-report-only
   <https://maven.apache.org/surefire/maven-surefire-report-plugin/failsafe-report-only-mojo.html>
   This goal does not run the tests, it only builds the IT reports. See
   SUREFIRE-257 <https://issues.apache.org/jira/browse/SUREFIRE-257>
   - surefire-report:report
   <https://maven.apache.org/surefire/maven-surefire-report-plugin/report-mojo.html>
   Generates the test results report into HTML format.
   - surefire-report:report-only
   <https://maven.apache.org/surefire/maven-surefire-report-plugin/report-only-mojo.html>
   This goal does not run the tests, it only builds the reports. It is
   provided as a work around for SUREFIRE-2
   <https://issues.apache.org/jira/browse/SUREFIRE-257>


On Fri, Jul 19, 2019 at 2:26 PM Moina Farheen <[hidden email]>
wrote:

> Hi,
>
> I am a beginner and just started to learn maven for my project. I was
> reading about surefire plugin on the site and found this -
>
> image.png
>
> As I see here, there are 3 goals in this plugin but why does it say there
> "Surefire Report Plugin only has one goal"
> Have I misunderstood?
>
> Appreciate response.
>
> Thanks
>
Reply | Threaded
Open this post in threaded view
|

Re: There seems to be a mistake in the documentation - MAVEN SUREFIRE PLUGIN

Moina Farheen
yes, thats the one.

On Fri, Jul 19, 2019 at 1:49 PM Tibor Digana <[hidden email]> wrote:

> btw, you did not attach the image.
>
> You mean this?
> (You can open a Jira ticket and fix in PR on
> github.com/apache/maven-surefire)
>
> The Surefire Report Plugin only has one goal (the other is a workaround):
>
>    - surefire-report:failsafe-report-only
>    <
> https://maven.apache.org/surefire/maven-surefire-report-plugin/failsafe-report-only-mojo.html
> >
>    This goal does not run the tests, it only builds the IT reports. See
>    SUREFIRE-257 <https://issues.apache.org/jira/browse/SUREFIRE-257>
>    - surefire-report:report
>    <
> https://maven.apache.org/surefire/maven-surefire-report-plugin/report-mojo.html
> >
>    Generates the test results report into HTML format.
>    - surefire-report:report-only
>    <
> https://maven.apache.org/surefire/maven-surefire-report-plugin/report-only-mojo.html
> >
>    This goal does not run the tests, it only builds the reports. It is
>    provided as a work around for SUREFIRE-2
>    <https://issues.apache.org/jira/browse/SUREFIRE-257>
>
>
> On Fri, Jul 19, 2019 at 2:26 PM Moina Farheen <[hidden email]>
> wrote:
>
> > Hi,
> >
> > I am a beginner and just started to learn maven for my project. I was
> > reading about surefire plugin on the site and found this -
> >
> > image.png
> >
> > As I see here, there are 3 goals in this plugin but why does it say there
> > "Surefire Report Plugin only has one goal"
> > Have I misunderstood?
> >
> > Appreciate response.
> >
> > Thanks
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: There seems to be a mistake in the documentation - MAVEN SUREFIRE PLUGIN

Tibor Digana
In reply to this post by Moina Farheen
Hello Moina,

I have reported this issue in JIRA
https://issues.apache.org/jira/browse/SUREFIRE-1684

Cheers
Tibor17

On Fri, Jul 19, 2019 at 2:26 PM Moina Farheen <[hidden email]>
wrote:

> Hi,
>
> I am a beginner and just started to learn maven for my project. I was
> reading about surefire plugin on the site and found this -
>
> image.png
>
> As I see here, there are 3 goals in this plugin but why does it say there
> "Surefire Report Plugin only has one goal"
> Have I misunderstood?
>
> Appreciate response.
>
> Thanks
>
Reply | Threaded
Open this post in threaded view
|

Re: There seems to be a mistake in the documentation - MAVEN SUREFIRE PLUGIN

Moina Farheen
Thank you

On Fri, Jul 26, 2019 at 1:47 PM Tibor Digana <[hidden email]> wrote:

> Hello Moina,
>
> I have reported this issue in JIRA
> https://issues.apache.org/jira/browse/SUREFIRE-1684
>
> Cheers
> Tibor17
>
> On Fri, Jul 19, 2019 at 2:26 PM Moina Farheen <[hidden email]>
> wrote:
>
> > Hi,
> >
> > I am a beginner and just started to learn maven for my project. I was
> > reading about surefire plugin on the site and found this -
> >
> > image.png
> >
> > As I see here, there are 3 goals in this plugin but why does it say there
> > "Surefire Report Plugin only has one goal"
> > Have I misunderstood?
> >
> > Appreciate response.
> >
> > Thanks
> >
>