B
B
bychok3002018-06-26 15:14:49
Java
bychok300, 2018-06-26 15:14:49

How to remove duplicate libraries in ear archive?

Have an earphone

project.ear
    |-META-INF
    |-dependency.jar
    |-dependency1.jar
    |-dependency2.jar

I wanted to remove the dependencies in the lib folder and added it to the rom <defaultLibBundleDir>/lib</defaultLibBundleDir>
, it became like this:
project.ear
    |-META-INF
    |-lib
        |-dependency.jar
        |-dependency1.jar
        |-dependency2.jar
    |-dependency.jar
    |-dependency1.jar
    |-dependency2.jar

why did the libraries remain in the root?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Lopatin, 2018-06-26
@lorus

mvn clean?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question