Create Maven POM from Idea project?

Is this possible? We've got some big multi-module Idea projects that I really don't want to recreate in POM by hand if I can avoid it.

Thanks,
Willis Morse

4 comments
Comment actions Permalink

Hello Willis,

Is this possible? We've got some big multi-module Idea projects that I
really don't want to recreate in POM by hand if I can avoid it.


No, this is not currently possible. One reason is that the Maven project
layout model is more strict than IDEA's, so many projects cannot be converted
to a Maven POM which keeps the same layout.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Bummer.

Is there any assistance for creating POMs? Or is it just me and a text editor?

Thanks,
Willis Morse

0
Comment actions Permalink

Hello Willis,

Is there any assistance for creating POMs? Or is it just me and a text
editor?


All the usual XML editing features (completion, highlighting etc.) work when
editing pom.xml.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

I suppose Willis meant creating POM from scratch, if I understood him correctly.
But that should definitely be done by a human - remember how terrible Ant builds generated by IDEA were ?! (no offense, Dmitry, really ..) Same with POMs - it contains too much decisions made by humans, I believe no IDE can actually help you in creating it. And if it could - I would personally never use it as I believe it'll contain too much garbage and will be manually and heavily edited after that anyway .. so why bother.

Offtop: I really like how it works the other way when IDEA reads pom.xml files. That's terrific !

0

Please sign in to leave a comment.