maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: Failsafe (aggregate?) reports???
Date Mon, 04 Oct 2010 14:41:47 GMT
You might have to add the "defaults" for surefire reports as the maven3
changes might mean that you are no-longer inheriting the defaults when
within the site plugin configuration section :-(

-Stephen

On 4 October 2010 08:27, David Jencks <david_jencks@yahoo.com> wrote:

> Thanks,
>
> I can get that to work with maven 2.2.1 but modifying the configuration to
> work with maven 3 RC3 like this
>
>                <plugins>
>                    <plugin>
>                        <groupId>org.apache.maven.plugins</groupId>
>                        <artifactId>maven-site-plugin</artifactId>
>                        <configuration>
>                            <reportPlugins>
>                                <plugin>
>
>  <groupId>org.apache.maven.plugins</groupId>
>
>  <artifactId>maven-surefire-report-plugin</artifactId>
>                                    <version>2.6</version>
>                                    <reportSets>
>                                        <reportSet>
>                                            <id>integration-tests</id>
>                                            <reports>
>                                                <report>report-only</report>
>                                            </reports>
>                                            <configuration>
>                                                <aggregate>true</aggregate>
>
>  <outputName>failsafe-report</outputName>
>                                                <reportsDirectories>
>
>  <reportsDirectory>${project.basedir}/target/failsafe-reports</reportsDirectory>
>                                                </reportsDirectories>
>                                            </configuration>
>                                        </reportSet>
>                                    </reportSets>
>                                </plugin>
>                            </reportPlugins>
>                        </configuration>
>                    </plugin>
>                </plugins>
>
>
> I can't get any output related to failsafe reports although I think the
> plugin is running ( I get a surefire-reports.html page that shows 0 tests).
>
> Has anyone gotten this to work with maven  3?
>
> thanks
> david jencks
>
> On Oct 2, 2010, at 11:37 PM, Stephen Connolly wrote:
>
> > The
> >
> > Reporting integration test results
> >
> > Section on
> http://maven.apache.org/plugins/maven-failsafe-plugin/usage.html
> >
> > -Stephen
> >
> > On 3 October 2010 02:42, David Jencks <david_jencks@yahoo.com> wrote:
> >>
> >> The maven-failsafe-plugin claims it's possible to produce failsafe
> reports using the maven-surefire-report-plugin but neither plugin has
> documentation I can find on how to do it.  Ideally I'd like to aggregate all
> the reports into one top-level report.
> >>
> >> Does anyone know if this is documented anywhere or know of a working
> example?
> >>
> >> thanks
> >> david jencks
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message