Opening multiple poms
Hi,
is it possible to create multiple poms within one project?
I have two multi module projects (A and B) where some modules of B
depend on modules of A.
Now I want to open one instance of Idea where all projects can be edited
(and the dependencies are set up correctly).
I did this by importing the poms into the current project.
What is the best way with the newest EAPs?
Johannes Schneider
请先登录再写评论。
We have a similar situation - 3-modules project, each module has it's own pom. But we also keep a "master" pom which references other modules:
../module1 ../module2 ../module3 ]]>This master pom is what we open in IDEA
i do the same
I view it as materializing my "workspace" in a pom, which links together otherwise (unrelated) project
I tried this. Unfortunately the dependencies within the modules are not
set up correctly.
The modules of project B that depend on modules of project A are linked
to the installed jars within the local maven repository...
Johannes Schneider
Evgeny Goldin wrote:
mvn idea:idea will link modules as projects.
Andrew Perepelytsya wrote:
Yes, of course.
But I think this is not what the Maven support is made for... ;)
Johannes Schneider