You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2026/08/25 14:40:45 UTC

(maven-help-plugin) branch master updated: Fix #406: make integration tests test the locally built version (#408)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 57352d2  Fix #406: make integration tests test the locally built version (#408)
57352d2 is described below

commit 57352d2d567ba7a6cd6e9eb689dc79e4b469551e
Author: Elliotte Rusty Harold <el...@users.noreply.github.com>
AuthorDate: Tue Aug 25 10:40:39 2026 -0400

    Fix #406: make integration tests test the locally built version (#408)
    
    * Fix #406: make evaluate-artifact-with-expression-with-output IT hermetic
    
    * Fix #406: make effective-pom-artifact ITs hermetic too
---
 src/it/projects/effective-pom-artifact/pom.xml               | 12 ++++++++++++
 src/it/projects/effective-pom-artifact/test.properties       |  1 -
 src/it/projects/effective-pom-multimodule-artifact/pom.xml   |  8 ++++++++
 .../effective-pom-multimodule-artifact/test.properties       |  1 -
 .../evaluate-artifact-with-expression-with-output/pom.xml    |  3 +++
 .../test.properties                                          |  1 -
 6 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/src/it/projects/effective-pom-artifact/pom.xml b/src/it/projects/effective-pom-artifact/pom.xml
index 8fc0707..9565204 100644
--- a/src/it/projects/effective-pom-artifact/pom.xml
+++ b/src/it/projects/effective-pom-artifact/pom.xml
@@ -27,4 +27,16 @@ under the License.
   <version>1.0-SNAPSHOT</version>
   <description>https://issues.apache.org/jira/browse/MPH-106</description>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-help-plugin</artifactId>
+        <version>@project.version@</version>
+        <configuration>
+          <artifact>org.apache.maven.plugins:maven-help-plugin:@project.version@</artifact>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>
diff --git a/src/it/projects/effective-pom-artifact/test.properties b/src/it/projects/effective-pom-artifact/test.properties
index 037f045..ba5a1ee 100644
--- a/src/it/projects/effective-pom-artifact/test.properties
+++ b/src/it/projects/effective-pom-artifact/test.properties
@@ -16,4 +16,3 @@
 # under the License.
 
 output = result.txt
-artifact = org.apache.maven.plugins:maven-help-plugin
diff --git a/src/it/projects/effective-pom-multimodule-artifact/pom.xml b/src/it/projects/effective-pom-multimodule-artifact/pom.xml
index bf048a5..0daeb98 100644
--- a/src/it/projects/effective-pom-multimodule-artifact/pom.xml
+++ b/src/it/projects/effective-pom-multimodule-artifact/pom.xml
@@ -36,6 +36,14 @@ under the License.
 
   <build>
     <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-help-plugin</artifactId>
+        <version>@project.version@</version>
+        <configuration>
+          <artifact>org.apache.maven.plugins:maven-help-plugin:@project.version@</artifact>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 </project>
diff --git a/src/it/projects/effective-pom-multimodule-artifact/test.properties b/src/it/projects/effective-pom-multimodule-artifact/test.properties
index 037f045..ba5a1ee 100644
--- a/src/it/projects/effective-pom-multimodule-artifact/test.properties
+++ b/src/it/projects/effective-pom-multimodule-artifact/test.properties
@@ -16,4 +16,3 @@
 # under the License.
 
 output = result.txt
-artifact = org.apache.maven.plugins:maven-help-plugin
diff --git a/src/it/projects/evaluate-artifact-with-expression-with-output/pom.xml b/src/it/projects/evaluate-artifact-with-expression-with-output/pom.xml
index 9ee377e..5f0d37c 100644
--- a/src/it/projects/evaluate-artifact-with-expression-with-output/pom.xml
+++ b/src/it/projects/evaluate-artifact-with-expression-with-output/pom.xml
@@ -41,6 +41,9 @@ under the License.
               <goal>evaluate</goal>
             </goals>
             <phase>package</phase>
+            <configuration>
+              <artifact>org.apache.maven.plugins:maven-help-plugin:@project.version@</artifact>
+            </configuration>
           </execution>
         </executions>
       </plugin>
diff --git a/src/it/projects/evaluate-artifact-with-expression-with-output/test.properties b/src/it/projects/evaluate-artifact-with-expression-with-output/test.properties
index 632b331..5f9820f 100644
--- a/src/it/projects/evaluate-artifact-with-expression-with-output/test.properties
+++ b/src/it/projects/evaluate-artifact-with-expression-with-output/test.properties
@@ -17,4 +17,3 @@
 
 expression = project.name
 output = result.txt
-artifact = org.apache.maven.plugins:maven-help-plugin