You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ia...@jpmchase.com on 2006/04/07 17:45:10 UTC

Fw: 404 on Surefire-Report Plugin

I suppose it would help if I actually sent this to the right address... :\

It's better to be hated for who you are
than loved for who you are not

Ian D. Stewart
Appl Dev Analyst-Advisory, DCS Automation
JPMorganChase Global Technology Infrastructure
Phone: (614) 244-2564
Pager: (888) 260-0078
----- Forwarded by Ian D Stewart/OH/ONE on 04/07/2006 11:44 AM -----
                                                                                                                                       
                                                                                                                                       
                      Ian D Stewart            To:       user@maven.apache.org                                                         
                                               cc:                                                                                     
                      04/07/2006 11:42         Subject:  404 on Surefire-Report Plugin                                                 
                      AM                                                                                                               
                                                                                                                                       



Dear List,

I'm at the point now where I'm ready to start generating reports to go with
all of my spiffy code :)

The logical starting point seemed to me to be the Surefire report, so I
went to maven.apache.org, clicked on "Available Plugins", and then
"surefire-report".  Unfortunately, this link gets redirected to
http://maven.apache.org/plugins/maven-surefire-report-plugin, which
displays a nice shiny "Page Not Found" error.

I have opened an issue in JIRA (http://jira.codehaus.org/browse/MNG-2212).
In the meantime, can anyone point me to the real documentation for
maven-surefire-report-plugin?


Thanks,
Ian


It's better to be hated for who you are
than loved for who you are not

Ian D. Stewart
Appl Dev Analyst-Advisory, DCS Automation
JPMorganChase Global Technology Infrastructure
Phone: (614) 244-2564
Pager: (888) 260-0078


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Fw: 404 on Surefire-Report Plugin

Posted by John Sanda <jo...@gmail.com>.
I am new to Maven (2) and to TestNG. I decided to take both for a
spin, and I ran into the same situation. I had no problem running my
unit tests, but I was not able to generate the report. I had trouble
finding any documentation. I actually posted my questions on the
TestNG mailing list at
http://forums.opensymphony.com/thread.jspa?threadID=24959&tstart=0. I
guess I should have posted here. In any event, I was able to generate
my report, but there is something that I didn't expect to see. I have
one test class, com.foo.MessageProviderTest with one test,
testGetMessageOfTheDay().  On the report under the Test Cases section,
what shows up under MessageProviderTest is class
org.apache.maven.surefire.battery.JUnitBattery.testGetMessageOfTheDay.
It appears that at runtime, a class is dynamically generated. I am
just surprised to see that show up in the report.

On 4/7/06, Wayne Fay <wa...@gmail.com> wrote:
> I'm not sure where the documentation "lives" but this is all I did to
> get Surefire reports added to my site. ;-)
>
> <reporting>
>   <plugins>
>     <plugin>
>       <groupId>org.codehaus.mojo</groupId>
>       <artifactId>surefire-report-maven-plugin</artifactId>
>     </plugin>
>   </plugins>
> </reporting>
>
> Since its just a report of your test results, I'm not sure what if
> anything can be configured in the plugin. You might just find it
> easiest to pull the plugin code from Subversion and build the site
> yourself?
>
> HTH.
> Wayne
>
> On 4/7/06, ian.d.stewart@jpmchase.com <ia...@jpmchase.com> wrote:
> > I suppose it would help if I actually sent this to the right address... :\
> >
> > It's better to be hated for who you are
> > than loved for who you are not
> >
> > Ian D. Stewart
> > Appl Dev Analyst-Advisory, DCS Automation
> > JPMorganChase Global Technology Infrastructure
> > Phone: (614) 244-2564
> > Pager: (888) 260-0078
> > ----- Forwarded by Ian D Stewart/OH/ONE on 04/07/2006 11:44 AM -----
> >
> >
> >                      Ian D Stewart            To:       user@maven.apache.org
> >                                               cc:
> >                      04/07/2006 11:42         Subject:  404 on Surefire-Report Plugin
> >                      AM
> >
> >
> >
> >
> > Dear List,
> >
> > I'm at the point now where I'm ready to start generating reports to go with
> > all of my spiffy code :)
> >
> > The logical starting point seemed to me to be the Surefire report, so I
> > went to maven.apache.org, clicked on "Available Plugins", and then
> > "surefire-report".  Unfortunately, this link gets redirected to
> > http://maven.apache.org/plugins/maven-surefire-report-plugin, which
> > displays a nice shiny "Page Not Found" error.
> >
> > I have opened an issue in JIRA (http://jira.codehaus.org/browse/MNG-2212).
> > In the meantime, can anyone point me to the real documentation for
> > maven-surefire-report-plugin?
> >
> >
> > Thanks,
> > Ian
> >
> >
> > It's better to be hated for who you are
> > than loved for who you are not
> >
> > Ian D. Stewart
> > Appl Dev Analyst-Advisory, DCS Automation
> > JPMorganChase Global Technology Infrastructure
> > Phone: (614) 244-2564
> > Pager: (888) 260-0078
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>


--

- John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Fw: 404 on Surefire-Report Plugin

Posted by ia...@jpmchase.com.
Thanks, Wayne.

Hopefully with an issue on record, we'll get honest-to-goodness
documentation sooner rather than later.

I've got mvn site running right now (after a few false starts to download
all of the dependencies), so we'll see how that goes.


Ian

It's better to be hated for who you are
than loved for who you are not

Ian D. Stewart
Appl Dev Analyst-Advisory, DCS Automation
JPMorganChase Global Technology Infrastructure
Phone: (614) 244-2564
Pager: (888) 260-0078


                                                                                                                                       
                      "Wayne Fay"                                                                                                      
                      <waynefay@gmail.c        To:       "Maven Users List" <us...@maven.apache.org>                                   
                      om>                      cc:                                                                                     
                                               Subject:  Re: Fw: 404 on Surefire-Report Plugin                                         
                      04/07/2006 11:52                                                                                                 
                      AM                                                                                                               
                      Please respond to                                                                                                
                      "Maven Users                                                                                                     
                      List"                                                                                                            
                                                                                                                                       




I'm not sure where the documentation "lives" but this is all I did to
get Surefire reports added to my site. ;-)

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

Since its just a report of your test results, I'm not sure what if
anything can be configured in the plugin. You might just find it
easiest to pull the plugin code from Subversion and build the site
yourself?

HTH.
Wayne

On 4/7/06, ian.d.stewart@jpmchase.com <ia...@jpmchase.com> wrote:
> I suppose it would help if I actually sent this to the right address...
:\
>
> It's better to be hated for who you are
> than loved for who you are not
>
> Ian D. Stewart
> Appl Dev Analyst-Advisory, DCS Automation
> JPMorganChase Global Technology Infrastructure
> Phone: (614) 244-2564
> Pager: (888) 260-0078
> ----- Forwarded by Ian D Stewart/OH/ONE on 04/07/2006 11:44 AM -----
>
>
>                      Ian D Stewart            To:
user@maven.apache.org
>                                               cc:
>                      04/07/2006 11:42         Subject:  404 on
Surefire-Report Plugin
>                      AM
>
>
>
>
> Dear List,
>
> I'm at the point now where I'm ready to start generating reports to go
with
> all of my spiffy code :)
>
> The logical starting point seemed to me to be the Surefire report, so I
> went to maven.apache.org, clicked on "Available Plugins", and then
> "surefire-report".  Unfortunately, this link gets redirected to
> http://maven.apache.org/plugins/maven-surefire-report-plugin, which
> displays a nice shiny "Page Not Found" error.
>
> I have opened an issue in JIRA (http://jira.codehaus.org/browse/MNG-2212
).
> In the meantime, can anyone point me to the real documentation for
> maven-surefire-report-plugin?
>
>
> Thanks,
> Ian
>
>
> It's better to be hated for who you are
> than loved for who you are not
>
> Ian D. Stewart
> Appl Dev Analyst-Advisory, DCS Automation
> JPMorganChase Global Technology Infrastructure
> Phone: (614) 244-2564
> Pager: (888) 260-0078
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Fw: 404 on Surefire-Report Plugin

Posted by Wayne Fay <wa...@gmail.com>.
I'm not sure where the documentation "lives" but this is all I did to
get Surefire reports added to my site. ;-)

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

Since its just a report of your test results, I'm not sure what if
anything can be configured in the plugin. You might just find it
easiest to pull the plugin code from Subversion and build the site
yourself?

HTH.
Wayne

On 4/7/06, ian.d.stewart@jpmchase.com <ia...@jpmchase.com> wrote:
> I suppose it would help if I actually sent this to the right address... :\
>
> It's better to be hated for who you are
> than loved for who you are not
>
> Ian D. Stewart
> Appl Dev Analyst-Advisory, DCS Automation
> JPMorganChase Global Technology Infrastructure
> Phone: (614) 244-2564
> Pager: (888) 260-0078
> ----- Forwarded by Ian D Stewart/OH/ONE on 04/07/2006 11:44 AM -----
>
>
>                      Ian D Stewart            To:       user@maven.apache.org
>                                               cc:
>                      04/07/2006 11:42         Subject:  404 on Surefire-Report Plugin
>                      AM
>
>
>
>
> Dear List,
>
> I'm at the point now where I'm ready to start generating reports to go with
> all of my spiffy code :)
>
> The logical starting point seemed to me to be the Surefire report, so I
> went to maven.apache.org, clicked on "Available Plugins", and then
> "surefire-report".  Unfortunately, this link gets redirected to
> http://maven.apache.org/plugins/maven-surefire-report-plugin, which
> displays a nice shiny "Page Not Found" error.
>
> I have opened an issue in JIRA (http://jira.codehaus.org/browse/MNG-2212).
> In the meantime, can anyone point me to the real documentation for
> maven-surefire-report-plugin?
>
>
> Thanks,
> Ian
>
>
> It's better to be hated for who you are
> than loved for who you are not
>
> Ian D. Stewart
> Appl Dev Analyst-Advisory, DCS Automation
> JPMorganChase Global Technology Infrastructure
> Phone: (614) 244-2564
> Pager: (888) 260-0078
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>