There is a common maven module with dependencies. There are also two other maven modules which depend on the common module but use its different functionality and as result don't require all jars of the common module to be included in their artifacts.
I want to pack optimal artifacts for each module which would contain just really used libs which the common module depends on.
I'm working with Intellij IDEA 14, Linux.