On Sat, 2008-01-05 at 22:36 +0000, [EMAIL PROTECTED] wrote: > Author: wsmoak > Date: Sat Jan 5 14:36:31 2008 > <!-- > - Whenever the full website is generated, the command > - - mvn -Pgenerate-site site:site > + - mvn -Pgenerate-site site > - should be used. This will create the "tlddoc" directory containing > - nicely-formatted versions of the docs in the jsp taglib file, ie > - docs on all the available tags and their properties. > >
Why would this be better? In order to deploy the site, "mvn site:deploy" is needed. So isn't using "site:site" for generating the site more consistent? I guess "site-deploy" could be used instead of "site:deploy", but then the link between "site" and "site-deploy" isn't as obvious to me as "site:site" and "site:deploy". And using "site:" makes it clear that the results are affected by the config of the "site" plugin; using "site-deploy" that isn't so obvious. Is the advantage of "site" that other things can be bound to a phase, but not bound to a goal, ie "site" can trigger multiple actions to occur? Regards, Simon
