Dave Hoffer wrote:
Dennis,

Yes the book is for Maven1, I didn't know that when I bought it.  I am
now trying to learn and use Maven2 given this book and the web site and
I am not having an easy time of it.

The link you provided does say to add the following to my pom, which I
did.  (I do not think this changed the results of the generated site but
I am not sure.)

<reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
      </plugin>
    </plugins>
  </reporting>

The section "How do I use plug-ins?" on the same page explains how to add plugins (and thereby their reports).

It does not say how to add junit test results and if I was doing Clover
test coverage testing, how to add that.

For unit-testing you want to add the maven-surefire-plugin:
  http://maven.apache.org/plugins/maven-surefire-plugin/

To see what plugins are available:
  http://maven.apache.org/plugins/

Now it does discuss the site.xml file which is disused in the Creating a
Site Descriptor section.  However, I don't know if I need this.  When I
ran the site goal it already made the site with default layouts, which
is fine with me at this point.
At this point, I have no idea if I need the site.xml, how to make one,
where it goes, etc.

I you don't know - then you don't need it.

I really need a book on Maven2 but I don't think this is available yet.
Given the web-site information, I have a hard time knowing what I need
to do.

There is a book on Maven 2 coming out:
  http://www.mavenbook.org/

Any help is surely appreciated.

-dh

-----Original Message-----
From: Dennis Lundberg [mailto:[EMAIL PROTECTED] Sent: Sunday, January 22, 2006 2:41 PM
To: Maven Users List
Subject: Re: m202 lack of documentation

Dave,

I believe that the book you are referring to is for Maven 1. Have a look

at the section called "Configuring Reports" in this document:
   http://maven.apache.org/guides/getting-started/index.html



--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to