To include javadocs, jxr, and surefire (testing) reports to your site,
as examples, add the following to your POM:

        <reporting>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-javadoc-plugin</artifactId>
                        </plugin>
                        
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>jxr-maven-plugin</artifactId>
                        </plugin>

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

-Stephen

On 3/7/06, Oleg Kalnichevski <[EMAIL PROTECTED]> wrote:
> Folks,
>
> I am currently in the process of migrating Jakarta HttpComponents
> project (formerly known as Commons HttpClient) from Maven1 to Maven2. I
> got the most of the fundamental stuff already in place. However, I am
> having difficulties with some of the reports that used to be quite easy
> with Maven1.
>
> Is there a way to get Maven2 generate a javadocs report along with all
> the standard reports when generating and deploying the web site? I know
> there is a Javadocs plugin, which pretty much does the job. However,
> having to run it separately and then manually coping the resultant
> javadocs from <PROJECT_HOME>/target to <PROJECT_HOME>/target/site is
> quite a bit of a nuisance
>
> Javadoc Plugin documentation was of no help to me. I hope I am missing
> something obvious
>
> Cheers,
>
> Oleg
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Stephen Duncan Jr
www.stephenduncanjr.com

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

Reply via email to