chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asrab...@apache.org
Subject svn commit: r1467160 - in /incubator/chukwa/site: README pom.xml src/site/xdoc/index.xml
Date Fri, 12 Apr 2013 03:36:32 GMT
Author: asrabkin
Date: Fri Apr 12 03:36:32 2013
New Revision: 1467160

URL: http://svn.apache.org/r1467160
Log:
CHUKWA-681, 682, and 683. All thanks to Luciano Resende

Modified:
    incubator/chukwa/site/README
    incubator/chukwa/site/pom.xml
    incubator/chukwa/site/src/site/xdoc/index.xml

Modified: incubator/chukwa/site/README
URL: http://svn.apache.org/viewvc/incubator/chukwa/site/README?rev=1467160&r1=1467159&r2=1467160&view=diff
==============================================================================
--- incubator/chukwa/site/README (original)
+++ incubator/chukwa/site/README Fri Apr 12 03:36:32 2013
@@ -3,20 +3,33 @@
 1. Check out the source:
 svn co https://svn.apache.org/repos/asf/incubator/chukwa/site
 
-Note: You'll need Java 5 and Apache Forrest. If you don't already have Forrest,
-download it from here and untar it:
-http://forrest.apache.org/mirrors.cgi
-
 2. Make any modification to the xml files under author/, then run:
-ant -Dforrest.home=/path/to/forrest_home -Djava5.home=/path/to/java5_home
+mvn site
 
-This generates the documents in publish/ directory. Do an svn stat to check on
+This generates the documents in target/site directory. Do an svn stat to check on
 what's changed, then commit those changes back to svn.
 
 3. Update the site:
-ssh people.apache.org
-cd /www/incubator.apache.org/chukwa
-svn update
+In order to deploy a site to Apache, follow the following steps:
+
+a. Make sure that you manage to create a local site.
+b. Check that distributionManagement.site.apache-website.url in the pom.xml points to "scp://people.apache.org/www/incubator.apache.org/content/chukwa"
+c. Put the following section to settings.xml:
+<settings>
+  ...
+  <servers>
+    <server>
+      <id>apache-website</id>
+      <username>your username in the remote system if different from local</username>
+      <privateKey>/path/to/your/private/key</privateKey>
+    </server>
+  </servers>
+  ...
+</settings>
+d. Refer to http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-external.html

+if you have additional problems.
+e. Commit all changes, the build will fail if there are local changes.
+f. Run "mvn clean site site-deploy"
 
 4. Wait for the site to update.
 

Modified: incubator/chukwa/site/pom.xml
URL: http://svn.apache.org/viewvc/incubator/chukwa/site/pom.xml?rev=1467160&r1=1467159&r2=1467160&view=diff
==============================================================================
--- incubator/chukwa/site/pom.xml (original)
+++ incubator/chukwa/site/pom.xml Fri Apr 12 03:36:32 2013
@@ -174,7 +174,7 @@
       <site>
         <id>apache-website</id>
         <name>Apache Website</name>
-        <url>scp://people.apache.org/www/incubator.apache.org/chukwa/</url>
+        <url>scp://people.apache.org/www/incubator.apache.org/content/chukwa/</url>
       </site>
     </distributionManagement>
 </project>

Modified: incubator/chukwa/site/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/incubator/chukwa/site/src/site/xdoc/index.xml?rev=1467160&r1=1467159&r2=1467160&view=diff
==============================================================================
--- incubator/chukwa/site/src/site/xdoc/index.xml (original)
+++ incubator/chukwa/site/src/site/xdoc/index.xml Fri Apr 12 03:36:32 2013
@@ -71,7 +71,7 @@ under the License.
     <section>
       <h3>Getting Started </h3>
       <p>
-      Releases are available on the <a href="releases.html"> release page</a>.
 For documentation, check <a href="docs/r0.4.0/">here</a> and on the <a href="http://wiki.apache.org/hadoop/Chukwa">Wiki</a>.
+      Releases are available on the <a href="releases.html"> release page</a>.
 For documentation, check <a href="docs/r0.5.0/">here</a> and on the <a href="http://wiki.apache.org/hadoop/Chukwa">Wiki</a>.
       </p>
     </section>
 



Mime
View raw message