Matthias Dorfner schrieb: > Hi, > > I can now answer the question myself. If you want to create an skeleton with > site structure for a already existing project, you have to run e.g. the > archetype quickstart plugin first, second the e.g. > maven-archetype-site-simple plugin. Of course both with same group and > artifact Id. > > But the "out-of-the-box" linking for project information, project reports > html files which is generated automatically by running the mvn site command > is now on your own, as far as I know. > > Is there a "blank" index.apt somewhere which includes all these standard > links? >
See http://maven.apache.org/guides/mini/guide-site.html. What you need to create a navigation of your site with the links mentioned is a site.xml file and not the index.apt. "<menu ref="reports"/>" in the site.xml will create links for all your configured reports in poms reporting section. HTH Felix > Thank you! > > Regards, > Matthias > > -----Ursprüngliche Nachricht----- > Von: Matthias Dorfner [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 29. September 2008 15:56 > An: [email protected] > Betreff: creating a project > > Hi guys, > > > > I use this command from the archetype plugin: > > > > Mvn archetype:create -DarchetpeGroupId=org.apache.maven.archetypes \ > > -DarchetypeArtifactId=maven-archetype-site \ > > -DgroupId=com.mycompany \ > > -DartifactId=my-site > > > > It creates a dedicated site project where I can customize the layout and the > html (via apt, faq files etc.) output stuff. How can I integrate my java > sources and reports for that sources (e.g. from javadoc, checkstyle, pmd, > xref...) to this site? > > > > Regards, > > Matthias > > > > > > --------------------------------------------------------------------- > 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]
