I updated the wiki page [1] but I want to call attention to a couple
of features of the Maven 2 site plugin.

First is the ability to start Jetty and regenerate pages on the fly as
you're editing them.  This works for a single module at a time.

  'mvn site:run'  then browse to http://localhost:8080

(If you get an error, delete
$M2_REPO/org/apache/maven/plugins/maven-site-plugin and try again.)

You can also "stage" the entire site locally with:

  'mvn site:stage'

It defaults to target/staging, or you can specify
-DstagingDirectory=/path/to/tempdir

When you're happy with it, 'mvn site site:deploy' will upload it to
the right place on people.apache.org, where it will sync to the active
webserver within an hour.

Other site plugin goals and their options can be found here:
  http://maven.apache.org/plugins/maven-site-plugin/plugin-info.html

[1] http://wiki.apache.org/struts/StrutsMaintenanceWebsite

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to