I'm struggling with deploying a jar file to JBoss EAP 6. My app depends on some dependencies. I tried to do some hacks such as using maven-jar-plugin, maven-assembly-plugin but neither work. By the way, I tried to make the jar file has the structure like this:
|-- my-project.jar
|-- META-INF
|-- MANIFEST.MF
|-- <classes>
|-- lib
|-- dependency1.jar
|-- dependency2.jar
But I found that definitely not works. Because there is no way a jar can load a jar inside itself.
Any idea?