Author: wsmoak
Date: Mon Nov 21 18:10:31 2005
New Revision: 348065

URL: http://svn.apache.org/viewcvs?rev=348065&view=rev
Log:
Set up site address and directory to publish the site using Maven, and note how 
to build just the top-level site.
Added scopes to dependencies for Maven 2.

Modified:
    struts/shale/trunk/build/README.txt
    struts/shale/trunk/build/project.xml

Modified: struts/shale/trunk/build/README.txt
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/build/README.txt?rev=348065&r1=348064&r2=348065&view=diff
==============================================================================
--- struts/shale/trunk/build/README.txt (original)
+++ struts/shale/trunk/build/README.txt Mon Nov 21 18:10:31 2005
@@ -32,6 +32,13 @@
 
    $ maven multiproject:site
 
+To build the top-level site without the sub-projects, or the site for
+one of the sub-projects individually:
+
+   $ maven site
+
+   (The generated site will be in target/docs.)
+
 Choosing a JSF Implementation
 -----------------------------
 

Modified: struts/shale/trunk/build/project.xml
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/build/project.xml?rev=348065&r1=348064&r2=348065&view=diff
==============================================================================
--- struts/shale/trunk/build/project.xml (original)
+++ struts/shale/trunk/build/project.xml Mon Nov 21 18:10:31 2005
@@ -46,10 +46,8 @@
 
   <url>http://struts.apache.org/</url>
   <issueTrackingUrl>http://issues.apache.org/bugzilla/</issueTrackingUrl>
-  <siteAddress>struts.apache.org</siteAddress>
-  <siteDirectory>
-    /www/struts.apache.org/
-  </siteDirectory>
+  <siteAddress>people.apache.org</siteAddress>
+  <siteDirectory>/www/struts.apache.org/shale/</siteDirectory>
   <distributionDirectory>
     /www/svn.apache.org/builds/struts
   </distributionDirectory>
@@ -152,6 +150,9 @@
       <artifactId>servlet-api</artifactId>
       <version>2.4</version>
       <url>http://java.sun.com/products/servlet/</url>
+      <properties>
+          <scope>provided</scope>
+      </properties>
     </dependency>
     
     <dependency>
@@ -159,6 +160,9 @@
       <artifactId>jsp-api</artifactId>
       <version>2.0</version>
       <url>http://java.sun.com/products/jsp/</url>
+      <properties>
+          <scope>provided</scope>
+      </properties>
     </dependency>
 
     <dependency>
@@ -226,6 +230,9 @@
       <artifactId>junit</artifactId>
       <version>3.8.1</version>
       <url>http://www.junit.org/</url> 
+      <properties>
+          <scope>test</scope>
+      </properties>
     </dependency>
     
     <dependency>



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

Reply via email to