You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "matteodg (Jira)" <ji...@apache.org> on 2021/11/12 15:16:00 UTC
[jira] [Updated] (NETBEANS-6201) Duplicate jars for each module
depending on the same library
[ https://issues.apache.org/jira/browse/NETBEANS-6201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
matteodg updated NETBEANS-6201:
-------------------------------
Description:
Attached example of a very simple suite (issuesuite) with two modules (modulea and moduleb): both depend on Apache commons-lang library and in the cluster folder produced by nbm:cluster from the suite this is the folder structure:
* issuesuite
** target
*** netbeans_clusters
**** issuesuite
***** modules
****** ext
******* org.example.modulea
******** commons-lang
********* *commons-lang.jar <<<*
******* org.example.moduleb
******** commons-lang
********* *commons-lang.jar <<<*
It ended up packaging twice the *commons-lang.jar* library.
I have many external libraries dependencies, if this is the behavior, I will end up with a LOT of redundant files...
How to fix this? Or is it the intended behavior?
Thanks!
was:
Attached example of a very simple suite (issuesuite) with two modules (modulea and moduleb): both depend on Apache commons-lang library and in the cluster folder produced by nbm:cluster from the suite this is the folder structure:
issuesuite
- target
- netbeans_clusters
- issuesuite
- modules
- ext
- org.example.modulea
- commons-lang
- commons-lang.jar <<<
- org.example.moduleb
- commons-lang
- commons-lang.jar <<<
It ended up packaging twice the commons-lang.jar library.
I have many external libraries dependencies, if this is the behavior, I will end up with a LOT of redundant files...
How to fix this? Or is it the intended behavior?
Thanks!
> Duplicate jars for each module depending on the same library
> ------------------------------------------------------------
>
> Key: NETBEANS-6201
> URL: https://issues.apache.org/jira/browse/NETBEANS-6201
> Project: NetBeans
> Issue Type: Bug
> Components: apisupport - Maven
> Affects Versions: 11.3, 12.3, 12.5
> Reporter: matteodg
> Priority: Major
> Attachments: issuesuite.zip
>
>
> Attached example of a very simple suite (issuesuite) with two modules (modulea and moduleb): both depend on Apache commons-lang library and in the cluster folder produced by nbm:cluster from the suite this is the folder structure:
> * issuesuite
> ** target
> *** netbeans_clusters
> **** issuesuite
> ***** modules
> ****** ext
> ******* org.example.modulea
> ******** commons-lang
> ********* *commons-lang.jar <<<*
> ******* org.example.moduleb
> ******** commons-lang
> ********* *commons-lang.jar <<<*
> It ended up packaging twice the *commons-lang.jar* library.
> I have many external libraries dependencies, if this is the behavior, I will end up with a LOT of redundant files...
> How to fix this? Or is it the intended behavior?
> Thanks!
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists