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

commit c22f37b4ed3b04440f596dd10fcd0ed08b20d4c8
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Fri Nov 20 13:32:48 2026 +0100

    Pin the plugin version in the build-extension IT
    
    Maven 3.10 provides its own rar lifecycle mapping with a fixed plugin 
version, so the lifecycle binding no longer picks up the build extension's 
version. Declaring the plugin under test in pluginManagement keeps the IT 
running that version.
---
 src/it/build-extension/pom.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/it/build-extension/pom.xml b/src/it/build-extension/pom.xml
index 8f7af55..2c1797a 100644
--- a/src/it/build-extension/pom.xml
+++ b/src/it/build-extension/pom.xml
@@ -30,6 +30,15 @@ under the License.
   <description>Load the plugin as a build extension and check that the package 
phase runs the same plugin version.</description>
 
   <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-rar-plugin</artifactId>
+          <version>@project.version@</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
     <extensions>
       <extension>
         <groupId>org.apache.maven.plugins</groupId>

Reply via email to