continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1415505 - in /continuum/site: ./ pom.xml setup-checkout.sh src/site/resources/css/site.css src/site/resources/js/site.js src/site/xdoc/index.xml
Date Fri, 30 Nov 2012 06:12:26 GMT
Author: brett
Date: Fri Nov 30 06:12:25 2012
New Revision: 1415505

URL: http://svn.apache.org/viewvc?rev=1415505&view=rev
Log:
update to use new site plugin and scm-publish goal

Added:
    continuum/site/setup-checkout.sh   (with props)
    continuum/site/src/site/resources/js/site.js   (with props)
Modified:
    continuum/site/   (props changed)
    continuum/site/pom.xml
    continuum/site/src/site/resources/css/site.css
    continuum/site/src/site/xdoc/index.xml

Propchange: continuum/site/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Fri Nov 30 06:12:25 2012
@@ -7,3 +7,4 @@ target
 *.iws
 *.iml
 build.properties
+site-publish

Modified: continuum/site/pom.xml
URL: http://svn.apache.org/viewvc/continuum/site/pom.xml?rev=1415505&r1=1415504&r2=1415505&view=diff
==============================================================================
--- continuum/site/pom.xml (original)
+++ continuum/site/pom.xml Fri Nov 30 06:12:25 2012
@@ -32,7 +32,7 @@
   <distributionManagement>
     <site>
       <id>apache</id>
-      <url>scp://people.apache.org//www/continuum.apache.org/</url>
+      <url>scm:svn:https://svn.apache.org/repos/asf/continuum/site-publish</url>
     </site>
   </distributionManagement>
   <scm>
@@ -45,12 +45,22 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-site-plugin</artifactId>
-        <version>2.0-beta-7</version>
+        <version>3.2</version>
         <configuration>
           <templateDirectory>${basedir}/src/site</templateDirectory>
           <template>continuum-site.vm</template>
         </configuration>
       </plugin>    
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-scm-publish-plugin</artifactId>
+        <version>1.0-beta-2</version>
+        <configuration>
+          <checkoutDirectory>site-publish</checkoutDirectory>
+          <tryUpdate>true</tryUpdate>
+          <content>target/site</content>
+        </configuration>
+    </plugin>
     </plugins>
   </build>
   <reporting>
@@ -92,4 +102,7 @@
       </snapshots>
     </repository>
   </repositories>
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
 </project>

Added: continuum/site/setup-checkout.sh
URL: http://svn.apache.org/viewvc/continuum/site/setup-checkout.sh?rev=1415505&view=auto
==============================================================================
--- continuum/site/setup-checkout.sh (added)
+++ continuum/site/setup-checkout.sh Fri Nov 30 06:12:25 2012
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# Avoid having to do a full checkout which is huge
+
+svn co --depth=immediates https://svn.apache.org/repos/asf/continuum/site-publish/
+svn up --set-depth exclude site-publish/ref
+svn up --set-depth exclude site-publish/docs
+svn up --set-depth infinity site-publish/*
+
+#svn co --depth=immediates https://svn.apache.org/repos/asf/continuum/site-publish/
+#(
+	#cd site-publish
+	#svn up `svn ls | egrep '/$' | egrep -v '^(ref|docs)/$'`
+#)

Propchange: continuum/site/setup-checkout.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/site/setup-checkout.sh
------------------------------------------------------------------------------
    svn:executable = *

Modified: continuum/site/src/site/resources/css/site.css
URL: http://svn.apache.org/viewvc/continuum/site/src/site/resources/css/site.css?rev=1415505&r1=1415504&r2=1415505&view=diff
==============================================================================
--- continuum/site/src/site/resources/css/site.css (original)
+++ continuum/site/src/site/resources/css/site.css Fri Nov 30 06:12:25 2012
@@ -74,7 +74,7 @@ h4 {
   background: none;
 }
 
-#banner img {
+#bannerRight img {
   margin: 10px;
 }
 

Added: continuum/site/src/site/resources/js/site.js
URL: http://svn.apache.org/viewvc/continuum/site/src/site/resources/js/site.js?rev=1415505&view=auto
==============================================================================
--- continuum/site/src/site/resources/js/site.js (added)
+++ continuum/site/src/site/resources/js/site.js Fri Nov 30 06:12:25 2012
@@ -0,0 +1,12 @@
+$(document).ready(function(){
+  $('#features').find('a').addClass('lightbox');
+  $('#features').find('a').attr('rel','scr');
+  $('#features').find('a:gt(0)').hide();
+  $('#features').find('a:eq(0)').attr('title','Project Groups');
+  $('#features').find('a:eq(1)').attr('title','Project Summary');
+  $('#features').find('a:eq(2)').attr('title','Surefire/JUnit Test Results Report');
+  $('#features').find('img').attr('width','200');
+  $('#features').find('img').attr('height','120');
+  $('.lightbox').lightbox();
+});
+

Propchange: continuum/site/src/site/resources/js/site.js
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: continuum/site/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/continuum/site/src/site/xdoc/index.xml?rev=1415505&r1=1415504&r2=1415505&view=diff
==============================================================================
--- continuum/site/src/site/xdoc/index.xml (original)
+++ continuum/site/src/site/xdoc/index.xml Fri Nov 30 06:12:25 2012
@@ -27,21 +27,7 @@
     <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
     <script src="js/jquery-1.2.6.pack.js" type="text/javascript"></script> 
     <script src="js/jquery.lightbox.js" type="text/javascript"></script>
-    <script type="text/javascript">
-<![CDATA[
-            $(document).ready(function(){
-              $('#features').find('a').addClass('lightbox');
-              $('#features').find('a').attr('rel','scr');
-              $('#features').find('a:gt(0)').hide();
-              $('#features').find('a:eq(0)').attr('title','Project Groups');
-              $('#features').find('a:eq(1)').attr('title','Project Summary');
-              $('#features').find('a:eq(2)').attr('title','Surefire/JUnit Test Results Report');
-              $('#features').find('img').attr('width','200');
-              $('#features').find('img').attr('height','120');
-              $('.lightbox').lightbox();
-            });
-]]>
-    </script> 
+    <script src="js/site.js" type="text/javascript"></script> 
 
     <h1>Apache Continuum</h1>
     <h2>Continuous Integration and Build Server</h2>



Mime
View raw message