Hello Carlos,
On May 17, 2007, at 0:49 , Richard S. Hall wrote:
On May 16, 2007, at 6:00 PM, Carlos Sanchez wrote:
Right now if I try to build the maven site from a subproject it fails
due to references to a template
Template file '...felix\tools\maven2\maven-bundle-plugin\src\site
\maven-site.vm'
does not exist
Any interest if I refactor it to use site.xml to add the links (will
work in any subproject as it's deployed to the repo) and maven skins
for the css (do you realy need a custom css?)
I don't know anything about our site, but it sounds good to
me...perhaps you should wait to see what Marcel has to say...
Currently, the whole Felix website is generated from the Confluence
wiki. Confluence has an "auto export" plugin that takes care of this.
We are using the wiki for our site, instead of generating it from
maven, because the wiki makes it easier for people to comment or
contribute. So at the moment, we don't really use the site.xml which
is probably why it's broken right now. I did setup a template once to
make sure that the maven site would generate the same header and main
menu (on the left) but that's a long time ago and I did not keep it
up to date because we've never used it.
To be honest, I do think we eventually need to include some generated
artifacts on the website. Ideally, I would like to have a build
server (preferably Bamboo from Atlassian, which is very nice if you
ask me) to do continuous (and nightly) builds. Bamboo can then also
generate artifacts like JavaDoc, (JUnit) test reports, etc. Probably
we could use maven in this setup (I'm no maven expert, but it can
probably generate all such artifacts).
In short, if you can fix the site.xml to do this kind of stuff, yes
please! :)
One question I have, btw, is do we create a site for each subproject,
or one big site with all of them? Since probably each subproject will
do a separate release, it might make sense to have a site per
subproject (with subproject not necessarily mapping to one individual
bundle, some subprojects have multiple bundles).
Greetings, Marcel