You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ian Rowlands <Ia...@sro.vic.gov.au> on 2007/05/07 02:45:30 UTC

Please help - why doesn't my index.html get generated when generating my site?




I'm using Maven 2.0.5.  My sites have no customisation (which I won't do
until I get this to work).  I am getting the following generated:
Apart from subdirectories, I get:
        checkstyle.html (plus checkstyle.rss)
        cpd.html and cpd.xml
        dependencies.html
        integration.html
        issue-tracking.html
        jdepend-report.html
        pmd.html and pmd.xml
        project-info.html
        project-reports.html
        surefire-report.html

I'm using version 2.0-beta-5 of the web site plugin.

I have been told that an index.html should be generated, and it is not.
This is an issue because it is a multi-module project, and links on the
"parent" project all link to the index.html of the sub-projects.  So
without the index.html nobody can navigate the site correctly.

Any suggestions?

Regards,

Ian Rowlands



Disclaimer: The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon, this information by persons
or entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the material
from your computer.
Privacy: If you are responding to this email or providing personal
information to the SRO for the purposes of one of the Acts it administers,
such information is used only for the purpose for which it was collected
( administration of SRO legislation ) and is protected by the Information
Privacy Act 2000 and secrecy provisions contained in legislation
administered by SRO. It is not disclosed otherwise than in accordance with
the law. If you would like a copy of the SRO Privacy Policy please refer to
SRO website (www.sro.vic.gov.au) or contact SRO on 9628 0556 and request a
copy.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Please help - why doesn't my index.html get generated when generating my site?

Posted by Steven Rowe <sa...@syr.edu>.
Hi Ian,

I think (though you haven't said anything about your setup) that you
don't have a site descriptor, the default location for which is
src/site/site.xml.

See <http://maven.apache.org/guides/mini/guide-site.html> for info about
what can go in there.

Here's a quick "vanilla" site descriptor that should get you started:

<?xml version="1.0"?>
<project name="My Project">
  <bannerLeft>
    <name>My Project</name>
  </bannerLeft>
  <body>
    <menu ref="reports"/>
  </body>
</project>

Hope it helps,
Steve

Ian Rowlands wrote:
> 
> 
> 
> I'm using Maven 2.0.5.  My sites have no customisation (which I won't do
> until I get this to work).  I am getting the following generated:
> Apart from subdirectories, I get:
>         checkstyle.html (plus checkstyle.rss)
>         cpd.html and cpd.xml
>         dependencies.html
>         integration.html
>         issue-tracking.html
>         jdepend-report.html
>         pmd.html and pmd.xml
>         project-info.html
>         project-reports.html
>         surefire-report.html
> 
> I'm using version 2.0-beta-5 of the web site plugin.
> 
> I have been told that an index.html should be generated, and it is not.
> This is an issue because it is a multi-module project, and links on the
> "parent" project all link to the index.html of the sub-projects.  So
> without the index.html nobody can navigate the site correctly.
> 
> Any suggestions?
> 
> Regards,
> 
> Ian Rowlands
> 
> 
> 
> Disclaimer: The information transmitted is intended only for the person or
> entity to which it is addressed and may contain confidential and/or
> privileged material. Any review, retransmission, dissemination or other use
> of, or taking of any action in reliance upon, this information by persons
> or entities other than the intended recipient is prohibited. If you
> received this in error, please contact the sender and delete the material
> from your computer.
> Privacy: If you are responding to this email or providing personal
> information to the SRO for the purposes of one of the Acts it administers,
> such information is used only for the purpose for which it was collected
> ( administration of SRO legislation ) and is protected by the Information
> Privacy Act 2000 and secrecy provisions contained in legislation
> administered by SRO. It is not disclosed otherwise than in accordance with
> the law. If you would like a copy of the SRO Privacy Policy please refer to
> SRO website (www.sro.vic.gov.au) or contact SRO on 9628 0556 and request a
> copy.
> 
> 
> ---------------------------------------------------------------------
> 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