Automatic use of libraries defined in maven pom file

Hi,

Ich created a idea project from an existing maven project. How can I automatically import the libraries that are defined in my pom.xml (Hibernate, Seam and so on...) to get rid of the compiling errors in my source files? I guess, I don't have to do it manually.

Thanks,
Markus

0
Avatar
Permanently deleted user

Hi Markus,

All maven-defined dependencies are expected to be automatically configured for you on importing from maven.

Please submit dedicated ticket to IDEA tracker with minimal but complete sample maven project that illustrates the problem.

Denis

0
Avatar
Permanently deleted user

Hi Denis,

the project consist of many modules and pom files and I can't post it to some public place and I don't have the time to make one that fit's this use case. But I found a solution. To create the missing dependencies, right click on each pom file > Maven > Force Reimport.

Cheers,
Markus

0
Avatar
Permanently deleted user

schub wrote:

Hi Denis,

the project consist of many modules and pom files and I can't post it to some public place and I don't have the time to make one that fit's this use case. But I found a solution. To create the missing dependencies, right click on each pom file > Maven > Force Reimport.

Cheers,
Markus


Understand, that's why I was talking about creating a minimal sample :)

Glad to hear that you found a workaround, nice job!

We'll try to reproduce the problem at local environment.

Denis

0

请先登录再写评论。