I've had a second look at this issue and I've come to the conclusion that the most solid solution is in fact adding a custom property. Only the site.xml has to be changed, so we can do a site-deploy with the original versions of the doxia-site-renderer and the maven-site-plugin. -RobertFrom: rfscho...@codehaus.org To: dev@mojo.codehaus.org Date: Sun, 4 Dec 2011 11:47:27 +0000 Subject: RE: [mojo-dev] Using the new maven-fluido-skin for mojos
Right now the skin is using currentDate from the velocityContext.[1][2] The model has no option for a specific (re)publish-date. This sounds like an improvement for Doxia. The fastest hack is to add a custom property which could be picked up by the fluidoskin, although I'd prefer a more solid solution. I'll ask Simone and Lukas for their opinion. -Robert [1] http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm?view=markup#l383 [2] http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java?view=markup#l428 > Date: Sun, 4 Dec 2011 12:20:15 +0100 > From: and...@hammar.net > To: dev@mojo.codehaus.org > Subject: Re: [mojo-dev] Using the new maven-fluido-skin for mojos > > Yes, as we're just changing the skin I think we could keep the > original date. If we were to change the content it might make sense to > change the publish date. > > /Anders > > On Sun, Dec 4, 2011 at 12:17, Robert Scholte <rfscho...@codehaus.org> wrote: > > Good point, it would be nice if could restore this date (by default). > > I'll have a look at it. > > > > -Robert > >> Date: Sun, 4 Dec 2011 11:55:09 +0100 > > > >> From: and...@hammar.net > >> To: dev@mojo.codehaus.org > >> Subject: Re: [mojo-dev] Using the new maven-fluido-skin for mojos > >> > >> One thing I was thinking of is the last published date of the sites > >> (upper right corner). I use that date to see how long it was since the > >> last version of a plugin was released. If we re-publish that date will > >> be new and break my use-case. However, I fully understand that I might > >> be using that info incorrectly but it might be a normal way of using > >> it? Do anyone else do this? > >> > >> /Anders > >> On Sun, Dec 4, 2011 at 11:50, Robert Scholte <rfscho...@codehaus.org> > >> wrote: > >> > Multimodule support available. > >> > I think we want MSKINS-14 too. I'd prefer to search through the whole > >> > mojo-site by default, not just the plugin-site because that's rather > >> > small. > >> > > >> > -Robert > >> > > >> > [1] https://jira.codehaus.org/browse/MSKINS-14 > >> > ________________________________ > >> > From: rfscho...@codehaus.org > >> > To: dev@mojo.codehaus.org > >> > Date: Sat, 3 Dec 2011 21:29:14 +0000 > >> > > >> > Subject: RE: [mojo-dev] Using the new maven-fluido-skin for mojos > >> > > >> > http://jira.codehaus.org/browse/HAUS-2169 seems to be the reason why > >> > commit > >> > notifications fail. > >> > > >> > I've managed to merge the custom-tags of the site.xml; It's a complete > >> > merge > >> > of this section, not just fluidoSkin props for instance. > >> > For now that should be good enough, only in very very very rare cases > >> > this > >> > could add unwanted stuff. > >> > And yes: now we have a Google Search on these reskinned pages :D > >> > > >> > Tomorrow I'll have a look at multi module projects. > >> > > >> > -Robert > >> >> Date: Sat, 3 Dec 2011 20:37:18 +0100 > >> >> From: and...@hammar.net > >> >> To: dev@mojo.codehaus.org > >> >> Subject: Re: [mojo-dev] Using the new maven-fluido-skin for mojos > >> >> > >> >> I'll add Google Search to the mojo-parent and deploy a new snapshot. > >> >> We then need to wait for a new release of the skin with the external > >> >> links fix. > >> >> > >> >> /Anders > >> >> > >> >> On Sat, Dec 3, 2011 at 20:29, Robert Scholte <rfscho...@codehaus.org> > >> >> wrote: > >> >> > @Anders Sounds good to me. I'll have figure out a simple way to merge > >> >> > those > >> >> > custom properties for skins. > >> >> > @Olamy No I haven't. I'd expected a HAUS issue, but I can't find > >> >> > it. I > >> >> > can > >> >> > pick this up tomorrow (I'll have to leave soon) > >> >> > > >> >> > Simone has confirmed the issue with external links for top-bar and > >> >> > side-bar > >> >> > and will fix this tomorrow. > >> >> > > >> >> > -Robert > >> >> > > >> >> > ________________________________ > >> >> > Date: Sat, 3 Dec 2011 20:22:08 +0100 > >> >> > From: ol...@apache.org > >> >> > To: dev@mojo.codehaus.org > >> >> > Subject: RE: [mojo-dev] Using the new maven-fluido-skin for mojos > >> >> > > >> >> > > >> >> > Super !!! > >> >> > Did you load any issue regarding missing commit email notif ? > >> >> > -- > >> >> > Olivier > >> >> > Le 3 déc. 2011 19:56, "Robert Scholte" <rfscho...@codehaus.org> a > >> >> > écrit : > >> >> > > >> >> > As we all know: If you run a site-deploy on a project, all > >> >> > mojo-versions > >> >> > in > >> >> > the sitedocs will use the current snapshot. > >> >> > In the meantime I've created a new project called > >> >> > skinner-maven-plugin[1] to > >> >> > avoid this problem. > >> >> > With this plugin it should be possible to update our mojo-sites quite > >> >> > fast. > >> >> > It works like this: > >> >> > From the root of your mojo-project you can execute mvn skinner:skin > >> >> > This will check out the most recent version of the plugin. > >> >> > Next it will add/replace the skin of the site.xml with the one of the > >> >> > current project. > >> >> > So if you use mojo-parent-30-SNAPSHOT it will get the fluido-skin. > >> >> > Finally it will run a mvn site on this project so you can verify the > >> >> > result. > >> >> > > >> >> > Once we've picked a date to move to the fluido-skin we can do so. > >> >> > > >> >> > The plugin should already support multiple Locales. > >> >> > I haven't looked at multi-modules projects yet, neither have I > >> >> > included > >> >> > support for skin-specific custom properties. > >> >> > > >> >> > -Robert > >> >> > > >> >> > ps. Anyone knows a graphical designer who can refresh our mojo-logo? > >> >> > > >> >> > (I noticed we don't recieve scm-notifications anymore, so I had to > >> >> > spread > >> >> > the word this way) > >> >> > > >> >> > [1] http://svn.codehaus.org/mojo/trunk/sandbox/skinner-maven-plugin/ > >> >> > > >> >> > ---------------------------------------- > >> >> >> Date: Thu, 1 Dec 2011 14:57:49 +0100 > >> >> >> From: and...@hammar.net > >> >> >> To: dev@mojo.codehaus.org > >> >> >> Subject: Re: [mojo-dev] Using the new maven-fluido-skin for mojos > >> >> >> > >> >> >> > I tried the topbar menu, as looking at > >> >> >> > > >> >> >> > > >> >> >> > > >> >> >> > http://svn.apache.org/viewvc/maven/skins/tags/maven-fluido-skin-1.0/src/main/resources/META-INF/maven/site.vm?view=markup > >> >> >> > it seems, that external links are only rendered when using this > >> >> >> > one. > >> >> >> > >> >> >> That seems weird. It must be possible to have external links with > >> >> >> just > >> >> >> the sidebar menu. If not, would you mind submitting a ticket > >> >> >> regarding > >> >> >> this on the skin so it can be fixed? > >> >> >> https://jira.codehaus.org/browse/MSKINS/ > >> >> >> > >> >> >> /Anders > >> >> >> > >> >> >> > The position change of version and release date were accidentally > >> >> >> > as > >> >> >> > I > >> >> >> > did overwrite the tags without specifying the position. I like to > >> >> >> > have > >> >> >> > the time as well, so I see *when* I deployed the site :-). > >> >> >> > > >> >> >> > Personally I think the topbar is confusing and support sticking > >> >> >> > with > >> >> >> > the sidebar menu, however that external links are missing is a > >> >> >> > pity. > >> >> >> > > >> >> >> > I now just copy the dav.codehaus.org/images folder to > >> >> >> > dav.codehaus.org/fluido-preview/images, so your preview should > >> >> >> > include > >> >> >> > images :-). > >> >> >> > > >> >> >> > I render the ckjm-maven-plugin with and without topbar and sidebar > >> >> >> > beneath http://mojo.codehaus.org/fluido-preview/ so everyone might > >> >> >> > take a look :-) > >> >> >> > > >> >> >> > Regards Mirko > >> >> >> > -- > >> >> >> > http://illegalstateexception.blogspot.com/ > >> >> >> > https://github.com/mfriedenhagen/ > >> >> >> > https://bitbucket.org/mfriedenhagen/ > >> >> >> > > >> >> >> > > >> >> >> > > >> >> >> > On Wed, Nov 30, 2011 at 21:57, Anders Hammar <and...@hammar.net> > >> >> >> > wrote: > >> >> >> >> Regarding the topbar menu and the sidebar menu, I think we should > >> >> >> >> stick with the old layout of a left sidebar menu and no topbar > >> >> >> >> menu. > >> >> >> >> We could include the Google Search feature by default. > >> >> >> >> What do others think? > >> >> >> >> > >> >> >> >> Also, what do people think about the current logos in the fluido > >> >> >> >> skin? > >> >> >> >> I think that the Codehaus logo is fine and the Mojo one is ok, > >> >> >> >> but > >> >> >> >> could possibly be improved (maybe just switch color). WDYT? > >> >> >> >> > >> >> >> >> /Anders > >> >> >> >> > >> >> >> >> On Wed, Nov 30, 2011 at 21:47, Anders Hammar <and...@hammar.net> > >> >> >> >> wrote: > >> >> >> >>> Right, I should have known that. I've been bit by that before. > >> >> >> >>> > >> >> >> >>> You've done some additional fluido skin config for the ckjm > >> >> >> >>> site, > >> >> >> >>> right? Added top bar menu and Google search? Also changed where > >> >> >> >>> publish date and version is displayed. > >> >> >> >>> > >> >> >> >>> /Anders > >> >> >> >>> > >> >> >> >>> On Wed, Nov 30, 2011 at 21:27, Mirko Friedenhagen > >> >> >> >>> <mfriedenha...@gmail.com> wrote: > >> >> >> >>>> Hello Anders, > >> >> >> >>>> > >> >> >> >>>> as all other sites (even for SNAPSHOTs of sandbox plugins) > >> >> >> >>>> reside > >> >> >> >>>> directly beneath mojo.codehaus.org and the site plugin replaces > >> >> >> >>>> http://mojo.codehaus.org in links, you get: > >> >> >> >>>> > >> >> >> >>>> <img src="../images/mojo_logo.png" alt="Mojo"> > >> >> >> >>>> > >> >> >> >>>> which should probably be ../../images/mojo_logo.png or > >> >> >> >>>> /images/mojo_logo.png > >> >> >> >>>> > >> >> >> >>>> I just site-deployed the site for the sandboxed > >> >> >> >>>> ckjm-maven-plugin, > >> >> >> >>>> see: > >> >> >> >>>> http://mojo.codehaus.org/ckjm-maven-plugin/index.html > >> >> >> >>>> > >> >> >> >>>> One thing which seems not to work correctly are external links: > >> >> >> >>>> I > >> >> >> >>>> wanted to link to Spirellis' CKJM homepage (see > >> >> >> >>>> > >> >> >> >>>> > >> >> >> >>>> > >> >> >> >>>> https://fisheye.codehaus.org/browse/~raw,r=15434/mojo/trunk/sandbox/ckjm-maven-plugin/src/site/site.xml) > >> >> >> >>>> but the link is not rendered at all. > >> >> >> >>>> > >> >> >> >>>> I am all for replacing the antique standard skin with the > >> >> >> >>>> fluido > >> >> >> >>>> one > >> >> >> >>>> :-) > >> >> >> >>>> > >> >> >> >>>> Regards Mirko > >> >> >> >>>> -- > >> >> >> >>>> http://illegalstateexception.blogspot.com/ > >> >> >> >>>> https://github.com/mfriedenhagen/ > >> >> >> >>>> https://bitbucket.org/mfriedenhagen/ > >> >> >> >>>> > >> >> >> >>>> > >> >> >> >>>> > >> >> >> >>>> On Wed, Nov 30, 2011 at 20:58, Anders Hammar > >> >> >> >>>> <and...@hammar.net> > >> >> >> >>>> wrote: > >> >> >> >>>>> As part of MOJO-1786, I've changed to the maven-fluido-skin in > >> >> >> >>>>> mojo-parent and deployed a new snapshot. Also, I've published > >> >> >> >>>>> an > >> >> >> >>>>> example mojo's site to: > >> >> >> >>>>> > >> >> >> >>>>> > >> >> >> >>>>> > >> >> >> >>>>> http://mojo.codehaus.org/fluido-preview/jboss-packaging-maven-plugin/ > >> >> >> >>>>> > >> >> >> >>>>> I have absolutely no clue why the logos have been > >> >> >> >>>>> removed...:-) > >> >> >> >>>>> > >> >> >> >>>>> /Anders > >> >> >> >>>>> > >> >> >> >>>>> On Wed, Nov 30, 2011 at 18:41, Robert Scholte > >> >> >> >>>>> <rfscho...@codehaus.org> wrote: > >> >> >> >>>>>> I agree, it shouldn't look like a collection of homepages ;) > >> >> >> >>>>>> The only thing I can think of is replacing one of the banner > >> >> >> >>>>>> images. > >> >> >> >>>>>> @Christopher, do you have concrete examples of you > >> >> >> >>>>>> suggestion? > >> >> >> >>>>>> > >> >> >> >>>>>> -Robert > >> >> >> >>>>>>> Date: Wed, 30 Nov 2011 09:31:32 +0100 > >> >> >> >>>>>>> From: and...@hammar.net > >> >> >> >>>>>> > >> >> >> >>>>>>> To: dev@mojo.codehaus.org > >> >> >> >>>>>>> Subject: Re: [mojo-dev] Using the new maven-fluido-skin for > >> >> >> >>>>>>> mojos > >> >> >> >>>>>>> > >> >> >> >>>>>>> Regarding allowing each mojo to have their own skin, I'm not > >> >> >> >>>>>>> in > >> >> >> >>>>>>> favor > >> >> >> >>>>>>> of that. I think that all our mojos should have the same > >> >> >> >>>>>>> documentation > >> >> >> >>>>>>> look 'n' feel. > >> >> >> >>>>>>> > >> >> >> >>>>>>> /Anders > >> >> >> >>>>>>> On Tue, Nov 29, 2011 at 22:26, Christopher Hunt > >> >> >> >>>>>>> <hu...@internode.on.net> > >> >> >> >>>>>>> wrote: > >> >> >> >>>>>>> > +1 to upgrade the MOJO to use this as a default set of > >> >> >> >>>>>>> > skins. > >> >> >> >>>>>>> > They look > >> >> >> >>>>>>> > great. > >> >> >> >>>>>>> > > >> >> >> >>>>>>> > In addition I feel that it would be nice to let plugin > >> >> >> >>>>>>> > authors > >> >> >> >>>>>>> > skin > >> >> >> >>>>>>> > their pages in different ways; perhaps via a vote. > >> >> >> >>>>>>> > > >> >> >> >>>>>>> > On 29/11/2011, at 7:48 PM, Anders Hammar wrote: > >> >> >> >>>>>>> > > >> >> >> >>>>>>> >> An new skin, maven-fluido-skin [1], was recently released > >> >> >> >>>>>>> >> by > >> >> >> >>>>>>> >> the > >> >> >> >>>>>>> >> Apache Maven project. For the JAXB mojo, a patch > >> >> >> >>>>>>> >> submitter > >> >> >> >>>>>>> >> requested > >> >> >> >>>>>>> >> us to use that as he needs it for the documentation part. > >> >> >> >>>>>>> >> > >> >> >> >>>>>>> >> Should we use that for our mojos? Should we use a > >> >> >> >>>>>>> >> consistent > >> >> >> >>>>>>> >> skin for > >> >> >> >>>>>>> >> all mojos? > >> >> >> >>>>>>> >> > >> >> >> >>>>>>> >> Here's an example of using the new skin for a plugin: > >> >> >> >>>>>>> >> http://mybatis.org/maven-migration-plugin/ > >> >> >> >>>>>>> >> > >> >> >> >>>>>>> >> /Anders > >> >> >> >>>>>>> >> > >> >> >> >>>>>>> >> [1] http://maven.apache.org/skins/maven-fluido-skin/ > >> >> >> >>>>>>> >> > >> >> >> >>>>>>> >> > >> >> >> >>>>>>> >> > >> >> >> >>>>>>> >> > >> >> >> >>>>>>> >> --------------------------------------------------------------------- > >> >> >> >>>>>>> >> To unsubscribe from this list, please visit: > >> >> >> >>>>>>> >> > >> >> >> >>>>>>> >> http://xircles.codehaus.org/manage_email > >> >> >> >>>>>>> >> > >> >> >> >>>>>>> >> > >> >> >> >>>>>>> > > >> >> >> >>>>>>> > > >> >> >> >>>>>>> > > >> >> >> >>>>>>> > > >> >> >> >>>>>>> > > >> >> >> >>>>>>> > --------------------------------------------------------------------- > >> >> >> >>>>>>> > To unsubscribe from this list, please visit: > >> >> >> >>>>>>> > > >> >> >> >>>>>>> > http://xircles.codehaus.org/manage_email > >> >> >> >>>>>>> > > >> >> >> >>>>>>> > > >> >> >> >>>>>>> > > >> >> >> >>>>>>> > >> >> >> >>>>>>> > >> >> >> >>>>>>> > >> >> >> >>>>>>> > >> >> >> >>>>>>> --------------------------------------------------------------------- > >> >> >> >>>>>>> To unsubscribe from this list, please visit: > >> >> >> >>>>>>> > >> >> >> >>>>>>> http://xircles.codehaus.org/manage_email > >> >> >> >>>>>>> > >> >> >> >>>>>>> > >> >> >> >>>>> > >> >> >> >>>>> > >> >> >> >>>>> > >> >> >> >>>>> > >> >> >> >>>>> --------------------------------------------------------------------- > >> >> >> >>>>> To unsubscribe from this list, please visit: > >> >> >> >>>>> > >> >> >> >>>>> http://xircles.codehaus.org/manage_email > >> >> >> >>>>> > >> >> >> >>>>> > >> >> >> >>>>> > >> >> >> >>>> > >> >> >> >>>> > >> >> >> >>>> > >> >> >> >>>> --------------------------------------------------------------------- > >> >> >> >>>> To unsubscribe from this list, please visit: > >> >> >> >>>> > >> >> >> >>>> http://xircles.codehaus.org/manage_email > >> >> >> >>>> > >> >> >> >>>> > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> --------------------------------------------------------------------- > >> >> >> >> To unsubscribe from this list, please visit: > >> >> >> >> > >> >> >> >> http://xircles.codehaus.org/manage_email > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> > > >> >> >> > > >> >> >> > --------------------------------------------------------------------- > >> >> >> > To unsubscribe from this list, please visit: > >> >> >> > > >> >> >> > http://xircles.codehaus.org/manage_email > >> >> >> > > >> >> >> > > >> >> >> > >> >> >> > >> >> >> --------------------------------------------------------------------- > >> >> >> To unsubscribe from this list, please visit: > >> >> >> > >> >> >> http://xircles.codehaus.org/manage_email > >> >> >> > >> >> >> > >> >> > >> >> --------------------------------------------------------------------- > >> >> To unsubscribe from this list, please visit: > >> >> > >> >> http://xircles.codehaus.org/manage_email > >> >> > >> >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe from this list, please visit: > >> > >> http://xircles.codehaus.org/manage_email > >> > >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > >