struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <wsm...@gmail.com>
Subject Maven 2 website documentation editing
Date Sun, 11 Jun 2006 02:01:07 GMT
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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message