o filtering version in doc

git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@801185 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/site/apt/examples/changing-heading-date-format.apt b/src/site/apt/examples/changing-heading-date-format.apt.vm
similarity index 97%
rename from src/site/apt/examples/changing-heading-date-format.apt
rename to src/site/apt/examples/changing-heading-date-format.apt.vm
index 0af6e72..5e48713 100644
--- a/src/site/apt/examples/changing-heading-date-format.apt
+++ b/src/site/apt/examples/changing-heading-date-format.apt.vm
@@ -46,7 +46,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changelog-plugin</artifactId>
-        <version>2.1</version>
+        <version>${project.version}</version>
         <configuration>
           <type>range</type>
           <range>30</range>
diff --git a/src/site/apt/examples/configuration-date-type.apt b/src/site/apt/examples/configuration-date-type.apt.vm
similarity index 97%
rename from src/site/apt/examples/configuration-date-type.apt
rename to src/site/apt/examples/configuration-date-type.apt.vm
index 10ce334..4b724d7 100644
--- a/src/site/apt/examples/configuration-date-type.apt
+++ b/src/site/apt/examples/configuration-date-type.apt.vm
@@ -46,7 +46,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changelog-plugin</artifactId>
-        <version>2.1</version>
+        <version>${project.version}</version>
         <configuration>
           <type>date</type>
           <dates>
diff --git a/src/site/apt/examples/configuration-range-type.apt b/src/site/apt/examples/configuration-range-type.apt.vm
similarity index 96%
rename from src/site/apt/examples/configuration-range-type.apt
rename to src/site/apt/examples/configuration-range-type.apt.vm
index 80f6e47..c1944f4 100644
--- a/src/site/apt/examples/configuration-range-type.apt
+++ b/src/site/apt/examples/configuration-range-type.apt.vm
@@ -41,7 +41,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changelog-plugin</artifactId>
-        <version>2.1</version>
+        <version>${project.version}</version>
         <configuration>
           <type>range</type>
           <range>30</range>
diff --git a/src/site/apt/examples/configuration-tag-type.apt b/src/site/apt/examples/configuration-tag-type.apt.vm
similarity index 97%
rename from src/site/apt/examples/configuration-tag-type.apt
rename to src/site/apt/examples/configuration-tag-type.apt.vm
index e6dbd4c..fab0394 100644
--- a/src/site/apt/examples/configuration-tag-type.apt
+++ b/src/site/apt/examples/configuration-tag-type.apt.vm
@@ -43,7 +43,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changelog-plugin</artifactId>
-        <version>2.1</version>
+        <version>${project.version}</version>
         <configuration>
           <type>tag</type>
           <tags>
diff --git a/src/site/apt/examples/modifying-scm-links.apt b/src/site/apt/examples/modifying-scm-links.apt.vm
similarity index 97%
rename from src/site/apt/examples/modifying-scm-links.apt
rename to src/site/apt/examples/modifying-scm-links.apt.vm
index bacb8e0..a59fc7b 100644
--- a/src/site/apt/examples/modifying-scm-links.apt
+++ b/src/site/apt/examples/modifying-scm-links.apt.vm
@@ -48,7 +48,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changelog-plugin</artifactId>
-        <version>2.1</version>
+        <version>${project.version}</version>
         <configuration>
           <displayFileDetailUrl>http://checkstyle.cvs.sourceforge.net/checkstyle%FILE%?view=markup</displayFileDetailUrl>
         </configuration>
diff --git a/src/site/apt/examples/selecting-reports.apt b/src/site/apt/examples/selecting-reports.apt.vm
similarity index 97%
rename from src/site/apt/examples/selecting-reports.apt
rename to src/site/apt/examples/selecting-reports.apt.vm
index 21bf26f..e0f3e1a 100644
--- a/src/site/apt/examples/selecting-reports.apt
+++ b/src/site/apt/examples/selecting-reports.apt.vm
@@ -49,7 +49,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changelog-plugin</artifactId>
-        <version>2.1</version>
+        <version>${project.version}</version>
         <reportSets>
           <reportSet>
             <id>dual-report</id>
diff --git a/src/site/apt/examples/using-perforce.apt b/src/site/apt/examples/using-perforce.apt.vm
similarity index 97%
rename from src/site/apt/examples/using-perforce.apt
rename to src/site/apt/examples/using-perforce.apt.vm
index 0e5034c..c72b3dd 100644
--- a/src/site/apt/examples/using-perforce.apt
+++ b/src/site/apt/examples/using-perforce.apt.vm
@@ -44,7 +44,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changelog-plugin</artifactId>
-        <version>2.1</version>
+        <version>${project.version}</version>
         <configuration>
           <systemProperties>
             <property>
diff --git a/src/site/apt/usage.apt b/src/site/apt/usage.apt.vm
similarity index 98%
rename from src/site/apt/usage.apt
rename to src/site/apt/usage.apt.vm
index 1711b9c..f496079 100644
--- a/src/site/apt/usage.apt
+++ b/src/site/apt/usage.apt.vm
@@ -24,7 +24,6 @@
  ~~ NOTE: For help with the syntax of this file, see:
  ~~ http://maven.apache.org/doxia/references/apt-format.html
 
-
 Usage
 
  The reports may use either <<<range>>>, <<<date>>>, or <<<tag>>> as the type
@@ -45,7 +44,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changelog-plugin</artifactId>
-        <version>2.1</version>
+        <version>${project.version}</version>
       </plugin>
     </plugins>
   </reporting>