maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1449349 - in /maven/skins/trunk/maven-stylus-skin/src: it/mskins-10/verify.groovy it/mskins-20/src/site/site.xml it/mskins-20/verify.groovy main/resources/META-INF/maven/site.vm
Date Sat, 23 Feb 2013 16:11:25 GMT
Author: olamy
Date: Sat Feb 23 16:11:24 2013
New Revision: 1449349

URL: http://svn.apache.org/r1449349
Log:
[MSKINS-78] change parameter name and restore generation per default.

Modified:
    maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/verify.groovy
    maven/skins/trunk/maven-stylus-skin/src/it/mskins-20/src/site/site.xml
    maven/skins/trunk/maven-stylus-skin/src/it/mskins-20/verify.groovy
    maven/skins/trunk/maven-stylus-skin/src/main/resources/META-INF/maven/site.vm

Modified: maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/verify.groovy
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/verify.groovy?rev=1449349&r1=1449348&r2=1449349&view=diff
==============================================================================
--- maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/verify.groovy (original)
+++ maven/skins/trunk/maven-stylus-skin/src/it/mskins-10/verify.groovy Sat Feb 23 16:11:24
2013
@@ -1,3 +1,3 @@
 File index = new File( basedir, "target/site/index.html" )
 assert index.exists()
-assert 0 == index.getText().count( 'Generated by Apache Maven Doxia')
\ No newline at end of file
+assert 1 == index.getText().count( 'Generated by Apache Maven Doxia at')
\ No newline at end of file

Modified: maven/skins/trunk/maven-stylus-skin/src/it/mskins-20/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-stylus-skin/src/it/mskins-20/src/site/site.xml?rev=1449349&r1=1449348&r2=1449349&view=diff
==============================================================================
--- maven/skins/trunk/maven-stylus-skin/src/it/mskins-20/src/site/site.xml (original)
+++ maven/skins/trunk/maven-stylus-skin/src/it/mskins-20/src/site/site.xml Sat Feb 23 16:11:24
2013
@@ -34,7 +34,7 @@
   <!-- START SNIPPET: skin-custom-config -->
   <custom>
     <publishDate>1970-01-01</publishDate>
-    <doxiaTimeStamp>true</doxiaTimeStamp>
+    <skipGenerationDate>true</skipGenerationDate>
   </custom>
   <!-- END SNIPPET: skin-custom-config -->
 

Modified: maven/skins/trunk/maven-stylus-skin/src/it/mskins-20/verify.groovy
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-stylus-skin/src/it/mskins-20/verify.groovy?rev=1449349&r1=1449348&r2=1449349&view=diff
==============================================================================
--- maven/skins/trunk/maven-stylus-skin/src/it/mskins-20/verify.groovy (original)
+++ maven/skins/trunk/maven-stylus-skin/src/it/mskins-20/verify.groovy Sat Feb 23 16:11:24
2013
@@ -1,4 +1,4 @@
 File index = new File( basedir, "target/site/index.html" )
 assert index.exists()
 assert 1 == index.getText().count( 'Last Published: 1970-01-01' )
-assert 1 == index.getText().count( 'Generated by Apache Maven Doxia')
\ No newline at end of file
+assert 0 == index.getText().count( 'Generated by Apache Maven Doxia at')
\ No newline at end of file

Modified: maven/skins/trunk/maven-stylus-skin/src/main/resources/META-INF/maven/site.vm
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-stylus-skin/src/main/resources/META-INF/maven/site.vm?rev=1449349&r1=1449348&r2=1449349&view=diff
==============================================================================
--- maven/skins/trunk/maven-stylus-skin/src/main/resources/META-INF/maven/site.vm (original)
+++ maven/skins/trunk/maven-stylus-skin/src/main/resources/META-INF/maven/site.vm Sat Feb
23 16:11:24 2013
@@ -1,9 +1,13 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
-   #if ( $decoration.custom.getChild( 'doxiaTimeStamp' ) && $decoration.custom.getChild(
'doxiaTimeStamp' ).getValue()=='true' )
- | Generated by Apache Maven Doxia#if( $doxiaVersion ) $doxiaVersion#end at $dateFormat.format(
$currentDate )
+   #set ( $skipGenerationDate = 'false')
+   #if ( $decoration.custom.getChild( 'skipGenerationDate' ) && $decoration.custom.getChild(
'skipGenerationDate' ).getValue()=='true')
+     #set ( $skipGenerationDate = 'true')
    #end
- | Rendered using Apache Maven Stylus Skin @project.version@
+
+ | Generated by Apache Maven Doxia#if( $doxiaVersion ) $doxiaVersion #end #if ($skipGenerationDate
== 'false')at $dateFormat.format( $currentDate ) #end
+
+ | Rendered using Apache Maven Fluido Skin @project.version@
 -->
 #macro ( link $href $name )
   #if ( $href.toLowerCase().startsWith("http:/") || $href.toLowerCase().startsWith("https:/")
||



Mime
View raw message