You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by ve...@apache.org on 2010/09/30 19:58:15 UTC

svn commit: r1003184 - in /webservices/commons/trunk/modules/axiom: pom.xml src/site/xdoc/download.xml src/site/xdoc/download.xml.vm

Author: veithen
Date: Thu Sep 30 17:58:15 2010
New Revision: 1003184

URL: http://svn.apache.org/viewvc?rev=1003184&view=rev
Log:
Make sure that apt and xdoc pages containing the current Axiom version number are updated automatically.

Added:
    webservices/commons/trunk/modules/axiom/src/site/xdoc/download.xml.vm
      - copied, changed from r1003014, webservices/commons/trunk/modules/axiom/src/site/xdoc/download.xml
Removed:
    webservices/commons/trunk/modules/axiom/src/site/xdoc/download.xml
Modified:
    webservices/commons/trunk/modules/axiom/pom.xml

Modified: webservices/commons/trunk/modules/axiom/pom.xml
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/pom.xml?rev=1003184&r1=1003183&r2=1003184&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/pom.xml (original)
+++ webservices/commons/trunk/modules/axiom/pom.xml Thu Sep 30 17:58:15 2010
@@ -233,6 +233,12 @@
         <developerConnection>scm:svn:https://svn.apache.org/repos/asf/webservices/commons/trunk/modules/axiom</developerConnection>
         <url>http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom</url>
     </scm>
+    <properties>
+        <!-- This variable is used in some Xdocs and is substituted using Velocity. Note that
+             we can't use the project.version variable directly because of the dot. See
+             http://maven.apache.org/plugins/maven-site-plugin/examples/creating-content.html -->
+        <axiom_version>${project.version}</axiom_version>
+    </properties>
     <build>
         <pluginManagement>
             <plugins>

Copied: webservices/commons/trunk/modules/axiom/src/site/xdoc/download.xml.vm (from r1003014, webservices/commons/trunk/modules/axiom/src/site/xdoc/download.xml)
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/src/site/xdoc/download.xml.vm?p2=webservices/commons/trunk/modules/axiom/src/site/xdoc/download.xml.vm&p1=webservices/commons/trunk/modules/axiom/src/site/xdoc/download.xml&r1=1003014&r2=1003184&rev=1003184&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/src/site/xdoc/download.xml (original)
+++ webservices/commons/trunk/modules/axiom/src/site/xdoc/download.xml.vm Thu Sep 30 17:58:15 2010
@@ -30,7 +30,7 @@
     <section name="Releases">
             <div align="left">
                 <p>Axiom is becoming more and more stable and the latest official version available for download is
-                    Axiom 1.2.8.  All the releases are available for download as source or binary. For more information,
+                    Axiom ${axiom_version}.  All the releases are available for download as source or binary. For more information,
                     please see
                     <a href="http://www.apache.org/dev/release.html">Apache Release FAQ</a>
                 </p>