Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change 
notification.

The following page has been changed by WendySmoak:
http://wiki.apache.org/struts/StrutsMaintenanceWebsite

------------------------------------------------------------------------------
- After the subproject reorganization:
+ === Edit ===
+  * Edit the src/site/site.xml and src/site/xdoc/*.xml files. 
+  * Execute 'mvn site' from the top level of the project, for example: 
'struts/current/action'
  
-  * Edit the xdocs/*.xml files. 
-  * Run 'maven multiproject:site' from the 'site' subproject (NOT from 'build')
+ === Preview ===
+  * To preview the site locally: 'mvn site:run'  (?? Might not work yet, or 
might require a snapshot of maven-site-plugin)
+  * Or point your browser at target/site/index.html (but be aware that 
relative links to modules won't work)
+ 
+ === Deploy ===
+ 
+  * To deploy: mvn site:deploy  (See the Suggested Settings section on 
StrutsMaintenanceMaven to avoid repeated password prompts)
+ 
+ Or
+ 
-  * From the command line, change to the site/target/docs directory 
+  * From the command line, change to the site/target/site directory 
   * scp the website files to people.apache.org. 
    * Using PuTTY, the command is: pscp -r *.* [EMAIL 
PROTECTED]:/www/struts.apache.org
    * Using Cygwin, the command is: scp -r * [EMAIL 
PROTECTED]:/www/struts.apache.org
-  * After an hour, the copy on people will propogate to the main website. (So 
test your local copy first!) 
  
   * You can update the site for a single sub-project by using the correct 
destination path.  For example:
    {{{
- /svn/struts/current/tiles
+ /svn/struts/current/action/tiles
  $ maven clean site
  ...
- $ scp -r target/docs/* [EMAIL PROTECTED]:/www/struts.apache.org/struts-tiles
+ $ scp -r target/site/* [EMAIL PROTECTED]:/www/struts.apache.org/struts-tiles
    }}}
  
+ After you deploy the site, check the permissions!
  
+ === Permissions ===
- (See also:  'maven site:deploy' on 
http://maven.apache.org/maven-1.x/reference/plugins/site/)
- 
- Note: 
  
   * Everyone should ssh to people.apache.org and set your umask to 002 ($ 
umask 002). This will mark the files so that other people in the Struts group 
can update them. 
   * If the permissions are not set correctly, you can fix it with: $ chmod -R 
g+w .

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

Reply via email to