Several things:

1) This page:
http://mojo.codehaus.org/surefire-report-maven-plugin/howto.html has an
example of using the surefire report. Their example gives the version number
with SNAPSHOT on the end. That doesn't work. Your example, without a version
number, works to generate the junit report

2) There only seems to be a JUnit report on the parent project. I just put
the reporting stuff in the parent project's POM. The children don't have it.
The children generate reports with all the default text but the children
don't seem to generate the JUnit report. Does the one thing inherit and the
other not?

3) Your example has the <plugins> tag duplicated. It should look like this:

<reporting>
       <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-checkstyle-plugin</artifactId>
            </plugin>
       </plugins>
</reporting>

4) How do I tell it my checkstyle xml configuration file's name so it checks
the right stuff.

5) Finally, and its really my fault for asking several questions at once,
how do I get it to fill in interesting values for.

Document Description
Continuous Integration
Dependencies
Issue Tracking
Mailing Lists
Project License
Project Team
Source Repository

There are currently only defaults in the generated reports.

thanks.

-- Lee Meador


On 12/22/05, Allan Ramirez <[EMAIL PROTECTED]> wrote:
>
> Hi Lee,
>
> Have a look in
>
> http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIconvertmy%3Creports%3EfromMaven1toMaven2%3F
>
> just replace the value in <artifactId> element to the report plugin you
> want to generate
> i.e.
>
> <reporting>
>        <plugins>
>             <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-javadoc-plugin</artifactId>
>             </plugin>
>        </plugins>
>        <plugins>
>             <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-checkstyle-plugin</artifactId>
>             </plugin>
>        </plugins>
> </reporting>
>
> junit test report was renamed to surefire report plugin and currently
> hosted at mojo codehaus
>
>        <plugins>
>             <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>surefire-report-maven-plugin</artifactId>
>             </plugin>
>        </plugins>
>
> You may also refer to this page for more plugins at codehaus
>
> http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-Whereistheotherplugin%3F
>
> -allan
>
> Lee Meador wrote:
>
> >I want to generate interesting reports.
> >
> >All I have been able to find says that you can get some reports by adding
> >this
> >
> ><reporting>
> >        <plugins>
> >            <plugin>
> >                <groupId>org.apache.maven.plugins</groupId>
>
> >                <artifactId>maven-project-info-reports-plugin</artifactId>
> >            </plugin>
> >       </plugins>
> ></reporting>
> >
> >to the POM.
> >
> >I did that and got a dummy report with nothing interesting in it.
> >
> >Here are the main topics that look like you put some info somewhere to
> make
> >it appear in the site docs. Maybe someone will fill in some doc links or
> >mention where they go.
> >
> >Document Description
> >Continuous Integration
> >Dependencies
> >Issue Tracking
> >Mailing Lists
> >Project License
> >Project Team
> >Source Repository
> >
> >How do I get things (that I remember from a previous project with Maven
> 1)
> >like:
> >
> >javadoc
> >checkstyle report
> >junit test results
> >lists of recent changes in the source repository
> >
> >Finally, I am generating an EAR with a WAR (or two) and some EJBs and
> some
> >other JAR files in it. All told there are about 10 "parts" each with its
> own
> >POM and a parent pom for building the whole thing. It builds and the
> report
> >stuff seems to get built for each of the subprojects.
> >
> >Is the parent going to have stuff consolidated from the children or are
> >there going to be links in there somewhere? I'm not sure what I'm going
> to
> >end up with.
> >
> >Really, I have searched the archives of this list and almost all I can
> find
> >is folks complaining about the surefire report plugin not working. But I
> >can't even get it to find that plugin in the central repository.
> >
> >And the docs seem to be missing something that I can't seem to see. I
> have
> >site docs but nothing is in them.
> >
> >-- Lee Meador
> >Sent from gmail. My real email address is [EMAIL PROTECTED]
> >
> >
> >
> >------------------------------------------------------------------------
> >
> >No virus found in this incoming message.
> >Checked by AVG Free Edition.
> >Version: 7.1.371 / Virus Database: 267.14.3/209 - Release Date:
> 12/21/2005
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]

Reply via email to