While writing runner for my plugin I decided to create a separate module that will contain runner specific classes (similar to xpath plugin and xslt-rt module). The second module is a java module (on which the plugin module depends) and I would expect it to make intellij produce zip file with two jars (one for plugin + one for additional module) + all my dependencies when preparing for deployment. But this is not the case. Instead intellij merges classes from my new java module into the main plugin jar. I tried different combinations of export flag, etc. for the dependent module. Nothing helps. Is there any way to have two jars instead of merged one created (when using prepare for deployment in IntelliJ, I'm not asking about using external build tools)?