Author: veithen
Date: Tue Aug  3 19:22:15 2010
New Revision: 982008

URL: http://svn.apache.org/viewvc?rev=982008&view=rev
Log:
Reenabled variable substitution in README-docs.txt (but using regular Maven 
filtering instead of ant).

Modified:
    axis/axis2/java/core/trunk/pom.xml
    axis/axis2/java/core/trunk/release-docs/readme-files/README-docs.txt
    axis/axis2/java/core/trunk/src/main/assembly/doc.xml

Modified: axis/axis2/java/core/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/pom.xml?rev=982008&r1=982007&r2=982008&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/pom.xml (original)
+++ axis/axis2/java/core/trunk/pom.xml Tue Aug  3 19:22:15 2010
@@ -115,6 +115,27 @@
                         </executions>
                     </plugin>
                     <plugin>
+                        <groupId>org.codehaus.gmaven</groupId>
+                        <artifactId>gmaven-plugin</artifactId>
+                        <version>1.2</version>
+                        <executions>
+                            <execution>
+                                <id>generate-timestamp</id>
+                                <phase>prepare-package</phase>
+                                <goals>
+                                    <goal>execute</goal>
+                                </goals>
+                                <configuration>
+                                    <source>
+                                        import java.util.Date 
+                                        import java.text.MessageFormat 
+                                        project.properties['buildTimestamp'] = 
MessageFormat.format("{0,date,dd-MM-yyyy}", new Date())
+                                    </source>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
                         <artifactId>maven-javadoc-plugin</artifactId>
                         <!-- Configure an additional execution. The 
configuration
                              is the same as the one specified together with 
the execution

Modified: axis/axis2/java/core/trunk/release-docs/readme-files/README-docs.txt
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/release-docs/readme-files/README-docs.txt?rev=982008&r1=982007&r2=982008&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/release-docs/readme-files/README-docs.txt 
(original)
+++ axis/axis2/java/core/trunk/release-docs/readme-files/README-docs.txt Tue 
Aug  3 19:22:15 2010
@@ -17,7 +17,7 @@
  * under the License.
  */
 ======================================================
-Apache Axis2 @axisVersion@ build (@TODAY@)
+Apache Axis2 ${project.version} build (${buildTimestamp})
 Documentation Release
 
 http://ws.apache.org/axis2

Modified: axis/axis2/java/core/trunk/src/main/assembly/doc.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/src/main/assembly/doc.xml?rev=982008&r1=982007&r2=982008&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/src/main/assembly/doc.xml (original)
+++ axis/axis2/java/core/trunk/src/main/assembly/doc.xml Tue Aug  3 19:22:15 
2010
@@ -41,12 +41,12 @@
             </includes>
         </fileSet>
         <fileSet>
-            <!-- TODO: need to enable variable substitution for this file! -->
             <directory>release-docs/readme-files</directory>
             <outputDirectory></outputDirectory>
             <includes>
                <include>README-docs.txt</include>
             </includes>
+            <filtered>true</filtered>
         </fileSet>
     </fileSets>
 </assembly>


Reply via email to