You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Robbie Gemmell (Jira)" <ji...@apache.org> on 2022/06/28 16:34:00 UTC

[jira] [Created] (ARTEMIS-3876) avoid unecessary artemis-native dependency unpack for each module

|  ![](cid:jira-generated-image-avatar-7466d76f-3efd-4086-be8c-9acc77912e55) |
[Robbie
Gemmell](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=robbie)
**created** an issue  
---|---  
|  
---  
|  [ActiveMQ Artemis](https://issues.apache.org/jira/browse/ARTEMIS) /
[![Task](cid:jira-generated-image-
avatar-5d5f02c8-d48e-4b75-8ec5-5900ed3cabe8)](https://issues.apache.org/jira/browse/ARTEMIS-3876)
[ARTEMIS-3876](https://issues.apache.org/jira/browse/ARTEMIS-3876)  
---  
[avoid unecessary artemis-native dependency unpack for each
module](https://issues.apache.org/jira/browse/ARTEMIS-3876)  
| Issue Type: |  ![Task](cid:jira-generated-image-
avatar-5d5f02c8-d48e-4b75-8ec5-5900ed3cabe8) Task  
---|---  
Affects Versions: |  2.23.1  
Assignee: |  [Robbie
Gemmell](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=robbie)  
Created: |  28/Jun/22 16:33  
Fix Versions: |  2.24.0  
Priority: |  ![Minor](cid:jira-generated-image-static-
minor-e1386d52-323f-4d83-bffd-48c5fd01cefc) Minor  
Reporter: |  [Robbie
Gemmell](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=robbie)  
|

The build currently runs the dependency:unpack operation for every module,
extracting the artemis-native .so files into <module-dir>/target/bin for each
module.

However, the the surefire argLine is configuring java.library.path to look
only in <root-dir>/target/bin for the bits extracted, not the individual
<module-dir>/target/bin dirs. As such, the per-module output isnt actually
being used except the one in the root, meaning all the other executions are
superfluous and can be disabled. This will be done by setting the dependency
plugin definition not to be inherited by the child modules as it currently is
being.  
  
---  
|  |  [ ![Add Comment](cid:jira-generated-image-static-comment-
icon-8961d53d-3a07-4bd4-8de2-8e5851d0a1bb)
](https://issues.apache.org/jira/browse/ARTEMIS-3876#add-comment "Add
Comment") |  [Add
Comment](https://issues.apache.org/jira/browse/ARTEMIS-3876#add-comment "Add
Comment")  
---|---  
  
|  This message was sent by Atlassian Jira (v8.20.10#820010-sha1:ace47f9) |  |
![Atlassian logo](https://issues.apache.org/jira/images/mail/atlassian-email-
logo.png)  
---