Maven: bundleDir and defaultJavaBundleDir

Does Intellij 8.0 support 'bundleDir' and 'defaultJavaBundleDir'?
IntelliJ always put the libs of an EAR in directories like 'aopalliance-1.0.jar' and 'aspectjrt-1.6.0.jar', etc.
Every time after re-importing the project I have to manually change the directories of all libs of all EARs.

5 comments
Comment actions Permalink

I've noticed that IntelliJ uses Maven's 'bundleFileName' to define the directory name of each dependency (jar) inside EAR.
I think it's a bug, isn't it?

Edited by: Gerson K. M. on Nov 3, 2008 4:20 PM

Edited by: Gerson K. M. on Nov 6, 2008 5:27 AM

0
Comment actions Permalink

Gerson,

Why do you think it is a bug? According to the Maven documentation 'bundleDir - sets the location of this artifact inside the ear archive' and 'defaultLibBundleDir - The default bundle dir for libraries'.

As for packing into directories like 'aopalliance-1.0.jar', there was a bug reported and should have been fixed some time ago, what IDEA version do you use?

Thanks,
Anton Makeev

0
Comment actions Permalink

Gerson,

I've checked the bundling code and found that it indeed puts jars under directories like 'aopalliance-1.0.jar'.
The problem will be fixed as soon as possible.

Thanks,
Anton Makeev

0
Comment actions Permalink

Hi Anton,

Have you created a jira issue for this?

Thanks.

0

Please sign in to leave a comment.