Wrong dependencies when importing project from Maven

I have quite a large Maven project with several modules, working fine when building with Maven. But now when I import it into IDEA, all modules are detected and created correctly, but all dependencies between modules are created as module libraries instead of module dependencies.
When importing the same project into IDEA 7.x, the module dependencies are created correctly.
Does anybody have any hint about where to look for? (Unfortunately I can't attach the pom.xml here, as it's from a customer of mine.)

15 comments
Comment actions Permalink

Which IDEA version do you use?

0
Comment actions Permalink

One of the most recent ones, I think last time I tried was with build 8357.


Which IDEA version do you use?

0
Comment actions Permalink

Is it possible to isolate the problem and send me a few poms? Not the original ones, but those that I could use to reproduce the problem.

0
Comment actions Permalink

Sounds like a lot of work, as it is quite a large and complex project. But I'll see what I can do.

0
Comment actions Permalink

Two files will be enough: dependent and dependable.

0
Comment actions Permalink

A probable reason of the problem is using properties in project groupId/artifactId/version.
Could you please check if you use any?

This problem will be fixed in next eap.

0
Comment actions Permalink

Yes, the version is a property from the parent pom, so most probably this is the reason. Is it already fixed in build 8382?

0
Comment actions Permalink

Unfortunately not yet.

We are reworking the importing process to make it more robust and to put some work in background (e.g. dependency resolution).
EAP will be available as soon as we test it: I reckon in a week.

0
Comment actions Permalink

Wheehoe!! :) (translation: background synchorization is great!)

0
Comment actions Permalink

Seems to work fine in build 8387!

0
Comment actions Permalink

Hey Martin, where did you get that build ? it doesn't seem to be public yet

0
Comment actions Permalink

It's today's nightly build, not meant to become public.

0
Comment actions Permalink

Martin, please note that Maven plugin is in heavy rework at the moment, and may work incorrectly in nightly builds.

0
Comment actions Permalink

Yes, I know, and there are other inconveniences too... :)
I just wanted to let you know that your diagnosis was right and my specific problem will be solved once you finished your rework.

0
Comment actions Permalink

oh, as you don't show the jetbrains tag in your signature, I was figuring you had the same access than us regular IDEA users !

0

Please sign in to leave a comment.