Hello everyone,
I'm converting a NetBeans Platform based application from Ant to Maven and
instead of using library wrapper modules I'd like to take advantage of
Maven dependencies. But I'm stuck with a problem.

As a simple test case, I created 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 library 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?
I filed an issue in JIRA (
https://issues.apache.org/jira/browse/NETBEANS-6201), I'm posting here
hoping to have more visibility. Or should I send it to the dev mailing list?

Thanks in advance!

Best,
-- 
Matteo Di Giovinazzo

Reply via email to