Hi, I thought that was the old way of doing it, without the skinning.
In the create a skin part of the documentation [1] , there is a section which says to use the default template from the doxia-siterenderer jar file. - Micke [1]http://maven.apache.org/plugins/maven-site-plugin/creating-a-skin.html On 19/05/06, Vance Karimi <[EMAIL PROTECTED]> wrote:
You are right to add the configuration to your pom. Have a look at http://maven.apache.org/plugins/maven-site-plugin/howto.html section "How to change the site template". > -----Original Message----- > From: Mikael Andersson [mailto:[EMAIL PROTECTED] > Sent: Friday, 19 May 2006 9:36 PM > To: Maven Users List > Subject: Re: [m2][site] Skin developmetn advice wanted > > Hi, > just tried modifying the default-site.vm template, but the changes didn't > come across! > > I tried putting the modified template in these folders of my skin maven > project: > resources/ > resources/org/apache/maven/doxia/siterenderer/resources > > Anyone know where to put it, or do I have to specify in the POM that I > want > to override the template? > > - Micke > > On 04/05/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > > > It's seems to have been moved to the doxia project (make more sense) : > > > > http://svn.apache.org/repos/asf/maven/doxia/trunk/doxia-site- > renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/ > default-site.vm > > > > On 5/4/06, Mikael Andersson <[EMAIL PROTECTED]> wrote: > > > Hi, I can't find a velocity template in the plugin jar file? > > > > > > The content of my site plugin jar file: > > > > > > [EMAIL PROTECTED] tmp2]$ jar -tf > > > > > ~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0- > SNAPSHOT/maven- > > > site-plugin-2.0- SNAPSHOT.jar | grep vm > > > [EMAIL PROTECTED] tmp2]$ jar -tf > > > > > ~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0- > SNAPSHOT/maven- > > > site-plugin-2.0-SNAPSHOT.jar META-INF/ > > > META-INF/MANIFEST.MF > > > META-INF/maven/ > > > org/ > > > org/apache/ > > > org/apache/maven/ > > > org/apache/maven/plugins/ > > > org/apache/maven/plugins/site/ > > > org/apache/maven/plugins/site/webapp/ > > > webapp/ > > > default-site.xml > > > META-INF/maven/plugin.xml > > > org/apache/maven/plugins/site/AbstractSiteMojo.class > > > org/apache/maven/plugins/site/AbstractSiteRenderingMojo.class > > > org/apache/maven/plugins/site/CategorySummaryDocumentRenderer.class > > > org/apache/maven/plugins/site/ReportComparator.class > > > org/apache/maven/plugins/site/ReportDocumentRenderer.class > > > org/apache/maven/plugins/site/SiteDeployMojo.class > > > org/apache/maven/plugins/site/SiteDescriptorArtifactMetadata.class > > > org/apache/maven/plugins/site/SiteDescriptorAttachMojo.class > > > org/apache/maven/plugins/site/SiteMojo.class > > > org/apache/maven/plugins/site/SiteRunMojo.class > > > org/apache/maven/plugins/site/SiteStageMojo.class > > > org/apache/maven/plugins/site/webapp/DoxiaFilter.class > > > site-plugin.properties > > > site-plugin_de.properties > > > site-plugin_es.properties > > > site-plugin_fr.properties > > > site-plugin_it.properties > > > site-plugin_ja.properties > > > site-plugin_nl.properties > > > site-plugin_pl.properties > > > site-plugin_pt_BR.properties > > > site-plugin_zh_CN.properties > > > webapp/web.xml > > > META-INF/maven/org.apache.maven.plugins/ > > > META-INF/maven/org.apache.maven.plugins/maven-site-plugin/ > > > META-INF/maven/org.apache.maven.plugins/maven-site-plugin/pom.xml > > > META-INF/maven/org.apache.maven.plugins/maven-site- > plugin/pom.properties > > > > > > Content of the default skin jar file: > > > > > > [EMAIL PROTECTED] tmp2]$ jar -tf > > > > > ~/.m2/repository/org/apache/maven/skins/maven-default-skin/1.0- > SNAPSHOT/maven- > > > default-skin-1.0-SNAPSHOT.jar > > > META-INF/ > > > META-INF/MANIFEST.MF > > > css/ > > > images/ > > > css/maven-theme.css > > > images/external.png > > > images/icon_error_sml.gif > > > images/icon_info_sml.gif > > > images/icon_success_sml.gif > > > images/icon_warning_sml.gif > > > images/newwindow.png > > > META-INF/maven/ > > > META-INF/maven/org.apache.maven.skins/ > > > META-INF/maven/org.apache.maven.skins/maven-default-skin/ > > > META-INF/maven/org.apache.maven.skins/maven-default-skin/pom.xml > > > > > > - Micke > > > > > > On 04/05/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > > > > > > > You should put the velocity template under /meta-inf/maven/site.vm. > > > > Start from the one you found in the site plugin sources. Work #1 in > my > > > > case. > > > > > > > > On 5/3/06, Mikael Andersson <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > I have the 2.0-SNAPSHOT of the site plugin running with the skins > > stuff > > > > > working. > > > > > > > > > > I downloaded a the default skins jar file and had a look. I > > suspected it > > > > to > > > > > contain a velocity template or something but it didn't; just css, > > images > > > > and > > > > > some other stuff. > > > > > > > > > > I am about to ask one of the web guys about help with creating a > > skin > > > > which > > > > > fits our layout requirements, before I do this I tought I should > ask > > > > about > > > > > how to go about this. What do I need to download in order to be > able > > to > > > > > setup the web developer with all the things needed? > > > > > > > > > > Are there any online documentation which I have missed? > > > > > > > > > > Cheers, > > > > > Micke > > > > > > > > > > > > > > > > > > -------------------------------------------------------------------- > - > > > > 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] > > > > Send instant messages to your online friends http://au.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]