You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Next »

MyFaces uses maven to deploy its website. To build and deploy a site for a project just run.

mvn site
mvn site:deploy

The site is initially deployed to minotaur.apache.org (aka people.apache.org). From there a periodic task transfers it to the main apache site and mirrors, so it can take a few hours for a new site to be visible to the public.

If your local username is not the same as your account on minotaur.apache.org, then you can add an entry in your maven settings.xml file to specify logon details. See the release procedures page on this wiki for details.

Other alternative is setup your local environment and your apache account so it can log people.apache.org without ask for a manual password.

You will also need to be in the "myfaces" unix group in order to be able to write to the necessary directories.

Testing Site Modifications

Running "mvn clean site" will build the site for the current module and all its submodules. However the generated html pages for each submodule are placed into the target directory for that module. As a result, none of the inter-module links work.

To test a multi-module site, use this instead:

  mvn site:stage -DstagingDirectory=/tmp/stage

which will assemble a complete site from the partial pieces present in the different modules.

  • No labels