Idea plugin doesn't use right artifact extension

Idea plugin doesn’t use right artifact extension described in ivy.xml for javadoc and source artifact types when generates module.iml dependencies. It allways uses “jar” extension but some artifacts can be published with “zip” extension. When idea plugin generates module.iml it doesn’t make dependencies on sources and javadocs.

    <artifact type="jar"/>
    <artifact type="source" ext="zip"/>
    <artifact type="javadoc" ext="zip"/>