I am using maven2 for managing my builds and having a little bit of problem with the new import feature.
I have an ear, ejb and a war with a parent pom.xml. All of the dependencies are defined in the parent pom. When using the intellij maven import features all the war jar dependencies end up as copying to WEB-INF/lib, instead of linking to the jars in the ear. Is there a way that I can make it link to the EAR jars by default.
Additionally I would like to be able to select more than one jar in "Modules and LIbraries to Package" section and be able to change how they are deployed. Right now you can only change one at a time so if you have lots of dependencies it becomes troublesome to change them all.