maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1376002 - in /maven/skins/trunk/maven-fluido-skin: pom.xml src/main/resources/META-INF/maven/site.vm
Date Wed, 22 Aug 2012 11:42:54 GMT
Author: simonetripodi
Date: Wed Aug 22 11:42:54 2012
New Revision: 1376002

URL: http://svn.apache.org/viewvc?rev=1376002&view=rev
Log:
[MSKINS-61] Add version to the produced css/js

Modified:
    maven/skins/trunk/maven-fluido-skin/pom.xml
    maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm

Modified: maven/skins/trunk/maven-fluido-skin/pom.xml
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/pom.xml?rev=1376002&r1=1376001&r2=1376002&view=diff
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/pom.xml (original)
+++ maven/skins/trunk/maven-fluido-skin/pom.xml Wed Aug 22 11:42:54 2012
@@ -108,8 +108,8 @@
       <resource>
         <directory>${project.build.directory}/${project.build.finalName}</directory>
         <includes>
-          <include>css/apache-maven-fluido.min.css</include>
-          <include>js/apache-maven-fluido.min.js</include>
+          <include>css/apache-maven-fluido-${project.version}.min.css</include>
+          <include>js/apache-maven-fluido-${project.version}.min.js</include>
         </includes>
       </resource>
     </resources>
@@ -142,7 +142,7 @@
                 <cssSourceFile>maven-theme.css</cssSourceFile>
                 <cssSourceFile>prettify.css</cssSourceFile>
               </cssSourceFiles>
-              <cssFinalFile>apache-maven-fluido.css</cssFinalFile>
+              <cssFinalFile>apache-maven-fluido-${project.version}.css</cssFinalFile>
               <jsSourceDir>js</jsSourceDir>
               <jsSourceFiles>
                 <jsSourceFile>jquery-1.7.1.js</jsSourceFile>
@@ -150,7 +150,7 @@
                 <jsSourceFile>prettify.js</jsSourceFile>
                 <jsSourceFile>fluido.js</jsSourceFile>
               </jsSourceFiles>
-              <jsFinalFile>apache-maven-fluido.js</jsFinalFile>
+              <jsFinalFile>apache-maven-fluido-${project.version}.js</jsFinalFile>
             </configuration>
             <goals>
               <goal>minify</goal>

Modified: maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm?rev=1376002&r1=1376001&r2=1376002&view=diff
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm (original)
+++ maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm Wed Aug
22 11:42:54 2012
@@ -766,13 +766,13 @@
     <meta http-equiv="Content-Language" content="$locale.language" />
 #end
     <title>$title</title>
-    <link rel="stylesheet" href="$relativePath/css/apache-maven-fluido.min.css" />
+    <link rel="stylesheet" href="$relativePath/css/apache-maven-fluido-@project.version@.min.css"
/>
     <link rel="stylesheet" href="$relativePath/css/site.css" />
     <link rel="stylesheet" href="$relativePath/css/print.css" media="print" />
 
     #prjProfile()
 
-    <script type="text/javascript" src="$relativePath/js/apache-maven-fluido.min.js"></script>
+    <script type="text/javascript" src="$relativePath/js/apache-maven-fluido-@project.version@.min.js"></script>
 
     #if ( $decoration.body.head )
       #foreach( $item in $decoration.body.head.getChildren() )



Mime
View raw message