maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r1310041 - in /maven/doxia/doxia-sitetools/trunk/doxia-site-renderer: pom.xml src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm
Date Thu, 05 Apr 2012 19:51:00 GMT
Author: dennisl
Date: Thu Apr  5 19:51:00 2012
New Revision: 1310041

URL: http://svn.apache.org/viewvc?rev=1310041&view=rev
Log:
[DOXIASITETOOLS-71] Add the version of doxia-site-renderer that is used to the generated site

Modified:
    maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/pom.xml
    maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm

Modified: maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/pom.xml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/pom.xml?rev=1310041&r1=1310040&r2=1310041&view=diff
==============================================================================
--- maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/pom.xml (original)
+++ maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/pom.xml Thu Apr  5 19:51:00 2012
@@ -47,6 +47,42 @@ under the License.
     </contributor>
   </contributors>
 
+  <build>
+    <resources>
+      <resource>
+        <directory>${basedir}/src/main/resources</directory>
+        <includes>
+          <include>org/apache/maven/doxia/siterenderer/resources/default-site.vm</include>
+        </includes>
+        <filtering>true</filtering> <!-- add project version -->
+      </resource>
+      <resource>
+        <directory>${basedir}/src/main/resources</directory>
+        <excludes>
+          <exclude>org/apache/maven/doxia/siterenderer/resources/default-site.vm</exclude>
+        </excludes>
+      </resource>
+    </resources>
+
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <configuration>
+          <!--
+            We can't use the default delimiters here, because the Velocity
+            template contains expressions that will be interpolated when a site
+            is generated.
+          -->
+          <delimiters>
+            <delimiter>@</delimiter>
+          </delimiters>
+          <useDefaultDelimiters>false</useDefaultDelimiters>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
   <dependencies>
     <!-- doxia -->
     <dependency>

Modified: maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm?rev=1310041&r1=1310040&r2=1310041&view=diff
==============================================================================
--- maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm
(original)
+++ maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm
Thu Apr  5 19:51:00 2012
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia at $dateFormat.format( $currentDate ) -->
+<!-- Generated by Apache Maven Doxia @project.version@ at $dateFormat.format( $currentDate
) -->
 #macro ( link $href $name $target $img $position $alt $border $width $height )
   #set ( $linkTitle = ' title="' + $name + '"' )
   #if( $target )



Mime
View raw message