You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2022/05/31 17:51:08 UTC

[maven-wrapper] 01/01: [MWRAPPER-64] Use currently build artifacts in IT tests

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

sjaranowski pushed a commit to branch MWRAPPER-64
in repository https://gitbox.apache.org/repos/asf/maven-wrapper.git

commit 0a09ce9afa32ec2be3cd64cca1b24410f06fb80c
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Tue May 31 19:50:46 2022 +0200

    [MWRAPPER-64] Use currently build artifacts in IT tests
---
 maven-wrapper-plugin/pom.xml | 37 +++++++++++++++++++++++--------------
 1 file changed, 23 insertions(+), 14 deletions(-)

diff --git a/maven-wrapper-plugin/pom.xml b/maven-wrapper-plugin/pom.xml
index 0e6192d..df9bbb2 100644
--- a/maven-wrapper-plugin/pom.xml
+++ b/maven-wrapper-plugin/pom.xml
@@ -114,20 +114,6 @@ under the License.
       <id>run-its</id>
       <build>
         <plugins>
-          <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>mrm-maven-plugin</artifactId>
-            <version>1.3.0</version>
-            <executions>
-              <execution>
-                <id>mrm</id>
-                <goals>
-                  <goal>start</goal>
-                  <goal>stop</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-invoker-plugin</artifactId>
@@ -169,6 +155,29 @@ under the License.
               </execution>
             </executions>
           </plugin>
+
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>mrm-maven-plugin</artifactId>
+            <version>1.3.0</version>
+            <configuration>
+              <repositories>
+                <localRepo>
+                  <source>${project.build.directory}/local-repo</source>
+                </localRepo>
+                <proxyRepo/>
+              </repositories>
+            </configuration>
+            <executions>
+              <execution>
+                <id>mrm</id>
+                <goals>
+                  <goal>start</goal>
+                  <goal>stop</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
         </plugins>
       </build>
     </profile>