You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Moina Farheen <mo...@gmail.com> on 2019/07/19 12:26:27 UTC
There seems to be a mistake in the documentation - MAVEN SUREFIRE PLUGIN
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
Re: There seems to be a mistake in the documentation - MAVEN SUREFIRE PLUGIN
Posted by Moina Farheen <mo...@gmail.com>.
yes, thats the one.
On Fri, Jul 19, 2019 at 1:49 PM Tibor Digana <ti...@apache.org> 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 <mo...@gmail.com>
> 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
> >
>
Re: There seems to be a mistake in the documentation - MAVEN SUREFIRE PLUGIN
Posted by Tibor Digana <ti...@apache.org>.
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 <mo...@gmail.com>
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
>
Re: There seems to be a mistake in the documentation - MAVEN SUREFIRE PLUGIN
Posted by Moina Farheen <mo...@gmail.com>.
Thank you
On Fri, Jul 26, 2019 at 1:47 PM Tibor Digana <ti...@apache.org> 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 <mo...@gmail.com>
> 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
> >
>
Re: There seems to be a mistake in the documentation - MAVEN SUREFIRE PLUGIN
Posted by Tibor Digana <ti...@apache.org>.
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 <mo...@gmail.com>
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
>