You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/10/23 09:43:16 UTC

(maven-rar-plugin) branch master updated: Default paths to ${project.basedir}

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

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-rar-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 57db899  Default paths to ${project.basedir}
57db899 is described below

commit 57db8999f1027c328eaa9e5b9c9694768b7f2090
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Thu Oct 1 07:30:54 2026 +0200

    Default paths to ${project.basedir}
---
 src/main/java/org/apache/maven/plugins/rar/RarMojo.java | 6 +++---
 src/site/markdown/examples/manifest.md.vm               | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugins/rar/RarMojo.java b/src/main/java/org/apache/maven/plugins/rar/RarMojo.java
index a17204a..bf5c6e1 100644
--- a/src/main/java/org/apache/maven/plugins/rar/RarMojo.java
+++ b/src/main/java/org/apache/maven/plugins/rar/RarMojo.java
@@ -72,13 +72,13 @@ public class RarMojo extends AbstractMojo {
     /**
      * Single directory for extra files to include in the RAR.
      */
-    @Parameter(defaultValue = "${basedir}/src/main/rar", required = true)
+    @Parameter(defaultValue = "${project.basedir}/src/main/rar", required = true)
     private File rarSourceDirectory;
 
     /**
      * The location of the ra.xml file to be used within the rar file.
      */
-    @Parameter(defaultValue = "${basedir}/src/main/rar/META-INF/ra.xml")
+    @Parameter(defaultValue = "${project.basedir}/src/main/rar/META-INF/ra.xml")
     private File raXmlFile;
 
     /**
@@ -91,7 +91,7 @@ public class RarMojo extends AbstractMojo {
     /**
      * The location of the manifest file to be used within the rar file.
      */
-    @Parameter(defaultValue = "${basedir}/src/main/rar/META-INF/MANIFEST.MF")
+    @Parameter(defaultValue = "${project.basedir}/src/main/rar/META-INF/MANIFEST.MF")
     private File manifestFile;
 
     /**
diff --git a/src/site/markdown/examples/manifest.md.vm b/src/site/markdown/examples/manifest.md.vm
index 0f7869f..a2bf139 100644
--- a/src/site/markdown/examples/manifest.md.vm
+++ b/src/site/markdown/examples/manifest.md.vm
@@ -26,7 +26,7 @@ under the License.
 
 # Adding Manifest File
 
-By default, The RAR plugin retrieves the manifest file to use in this location `${basedir}/src/main/rar/META-INF/MANIFEST.MF`. To be able to change the location, configure the **manifestFile** property and set the value to the new location.
+By default, The RAR plugin retrieves the manifest file to use in this location `${project.basedir}/src/main/rar/META-INF/MANIFEST.MF`. To be able to change the location, configure the **manifestFile** property and set the value to the new location.
 
 ```xml
 <project>