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>
It does not say how to add junit test results and if I was doing Clover
test coverage testing, how to add that.
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 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.
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
Dave Hoffer wrote:
> Dennis,
>
> I find some documentation here but not what I am looking for. Let me
> give an example: To get started with Maven I bought a book titled
> "Maven - A Developer's Notebook'. In the book they discuss adding to
> the basic reporting structure given with the site goal. For example
to
> add junit test results you add the following to your pom.
>
> <reports>
> <report>maven-junit-report-plugin</report>
> </reports>
>
> In the doc links mentioned I don't find anything that explains how to
do
> this in m2.
>
> When I try ways of doing this by guessing I end up with errors.
>
> -dh
>
>
> -----Original Message-----
> From: Dennis Lundberg [mailto:[EMAIL PROTECTED]
> Sent: Sunday, January 22, 2006 8:25 AM
> To: Maven Users List
> Subject: Re: m202 lack of documentation
>
> Dave Hoffer wrote:
>> I had used m201 to create a basic pom using the archetype mechanism.
>> All the basic functionality worked fine such as compiling, packaging
>> jar, etc. I have since upgraded to m202 and the same functionality
>> works fine. Now however I am trying to add functionality such as add
>> JUnit test results to the site goal.
>>
>> I cannot find documentation on how definitively to do this with m2.
>> When I do try something, I get either pos parse errors or
>> NullPointerExceptions.
>>
>> Is there some documentation available that would help newbie with
>> maven2? Even if it is draft documents?
>>
>> -dh
>
> General documentation is here:
> http://maven.apache.org/guides/index.html
>
> A reference that is useful when you get parse errors in your pom is
> here:
> http://maven.apache.org/maven-model/maven.html
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]