You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ro...@apache.org on 2022/06/28 16:40:58 UTC

[activemq-artemis] branch main updated: ARTEMIS-3876: stop extracting native lib files for every module, only the root where the tests looks for them

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

robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new dc8123dfc3 ARTEMIS-3876: stop extracting native lib files for every module, only the root where the tests looks for them
dc8123dfc3 is described below

commit dc8123dfc3e7d202b214dc7bb0ef91b00e85b19a
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Tue Jun 28 16:18:46 2022 +0100

    ARTEMIS-3876: stop extracting native lib files for every module, only the root where the tests looks for them
---
 pom.xml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 8393b69496..1ddf552cef 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1910,12 +1910,13 @@
             </executions>
          </plugin>
 
-         <!-- This is placing the .so somewhere other than the distribution so testsuite can take it
-              This is to avoid a dependency on having to build a distribution in order to run tests.
-         -->
+         <!-- This is placing the .so in the root target/bin/ dir, so the testsuite can use it, by
+              leveraging the surefire argLine. This avoids having to build a distribution to run tests.
+              Note the plugin config is not inherited, we only do this at the root. -->
          <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-dependency-plugin</artifactId>
+            <inherited>false</inherited>
             <executions>
                <execution>
                   <id>copy</id>