Problem solved. Maven site generates a default report called "About", which is placed into an index.html file. A just added to the pom.xml a <report> element with an empty <reportSet>, and everything went fine.
Thanks for helping! Fernando Colombo wrote: > > Ciramella, thanks for your prompt answer. > > I don't know if I'm overriding the index file. I just created an > apt/index.apt and would like this to be the main website page, with > banners and menus as defined in the site.xml file. > > But somehow Maven ignores completly the contents of just that file. Any > other .apt file in the apt/ directory is correctly transformed into a nice > .html file, with banners and menus as described in my site.xml. > > The only exception is with index.apt. The generated index.html is looking > more like an "about" page with unrelated menu, banners and so on. > > > EJ Ciramella-3 wrote: >> >> If you're overriding the index file, then you need (from what I can >> tell) to duplicate all the index info (so the reporting blocks etc). >> >> Do you need to replace the index file entirely or do you just need to >> change the look/feel and add content to the navigation? >> >> -----Original Message----- >> From: Fernando Colombo [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, October 22, 2008 9:47 PM >> To: [email protected] >> Subject: "mvn site" is ignoring index.apt >> >> Greetings (If this is not the right place for this, please tell me where >> it is). >> >> I'm running the "site" goal using "Maven Integration for Eclipse", but >> it simply ignores the src/site/apt/index.apt. >> Instead of generating my content, it generates an index.html file >> containing only the "About" content, using whatever is listed on the >> "description" and "name" elements of pom.xml. That index.html also does >> not respect the site.xml file. >> >> Also strange, all report files respect definitions of site.xml. Only the >> index.html (the most important file!) is being generating with "About" >> stuff, ignoring completely what is set on index.apt and site.xml. >> >> What did I miss? >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- View this message in context: http://www.nabble.com/%22mvn-site%22-is-ignoring-index.apt-tp20124296p20140379.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
