This is an automated email from the ASF dual-hosted git repository.

pottlinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git


The following commit(s) were added to refs/heads/master by this push:
     new a67dd8e0 RAT-353: Add .vm suffix to enable resource filtering on ANT 
task resources
a67dd8e0 is described below

commit a67dd8e0d8953b28b84d97c73372294ea05cbec8
Author: P. Ottlinger <[email protected]>
AuthorDate: Wed Jan 24 21:34:53 2024 +0100

    RAT-353: Add .vm suffix to enable resource filtering on ANT task resources
---
 apache-rat-tasks/src/site/apt/examples/{custom.apt => custom.apt.vm} | 2 +-
 apache-rat-tasks/src/site/apt/{index.apt => index.apt.vm}            | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/apache-rat-tasks/src/site/apt/examples/custom.apt 
b/apache-rat-tasks/src/site/apt/examples/custom.apt.vm
similarity index 98%
rename from apache-rat-tasks/src/site/apt/examples/custom.apt
rename to apache-rat-tasks/src/site/apt/examples/custom.apt.vm
index d27ededc..44af3f09 100644
--- a/apache-rat-tasks/src/site/apt/examples/custom.apt
+++ b/apache-rat-tasks/src/site/apt/examples/custom.apt.vm
@@ -121,7 +121,7 @@ public class YASLMatcher implements IHeaderMatcher {
 
 -------
 <path id="rat-classpath">
-    <pathelement location="YOUR-PATH-TO/apache-rat-${version}.jar"/>
+    <pathelement location="YOUR-PATH-TO/apache-rat-${project.version}.jar"/>
     <pathelement location="YOUR-PATH-TO/yasl-matcher.jar"/>
 </path>
 <taskdef
diff --git a/apache-rat-tasks/src/site/apt/index.apt 
b/apache-rat-tasks/src/site/apt/index.apt.vm
similarity index 95%
rename from apache-rat-tasks/src/site/apt/index.apt
rename to apache-rat-tasks/src/site/apt/index.apt.vm
index b26d84fc..09acfe05 100644
--- a/apache-rat-tasks/src/site/apt/index.apt
+++ b/apache-rat-tasks/src/site/apt/index.apt.vm
@@ -47,7 +47,7 @@ Installation
 <taskdef
     resource="org/apache/rat/anttasks/antlib.xml">
     <classpath>
-        <pathelement location="YOUR-PATH-TO/apache-rat-${version}.jar"/>
+        <pathelement 
location="YOUR-PATH-TO/apache-rat-${project.version}.jar"/>
     </classpath>
 </taskdef>
 -------
@@ -64,7 +64,7 @@ Installation
     uri="antlib:org.apache.rat.anttasks"
     resource="org/apache/rat/anttasks/antlib.xml">
     <classpath>
-        <pathelement location="YOUR-PATH-TO/apache-rat-${version}.jar"/>
+        <pathelement 
location="YOUR-PATH-TO/apache-rat-${project.version}.jar"/>
     </classpath>
 </taskdef>
 -------

Reply via email to