we using intellij idea in order develop our product. till now, saved iml/ipr files in version control in order share same configuration among developers (and between different versions of our product). however, since idea changes iml files lot, exhausted task resolve conflicts, , feels bit wrong. moreover, idea 15 no longer checks-out iml/ipr automatically.
i tried maven-idea-plugin suppose generate iml/ipr based on pom.xml , looks promising (except minor issues) it's obsolete , there many stackoverflow posts advise against it.
i undestand "correct way" load our project loading e pom.xml directly in idea.
the problem loading pom.xml each user has reconfigure idea (such exclude directories, set run configuration, plugins, maven version, jdk location etc.) every time download code version control, happens quite often.
so, question best way use intellij idea our project. goal once developer download code able run idea without manually configure thing.
thanks, meir
i using intellij 15.0.3 community edition. in our current project not add *.iml git. shure add pom.xml git. did not add special plugins or configure idea in way described
(such exclude directories, set run configuration, plugins, maven version, jdk location etc.)
so using idea out of box, plugin 'maven integration' activated. cloned git repository in new folder. in idea choosed file| new | 'project existing sources ' , selected folder pom.xml. thats all, works perfectly. can build in idea or on command line. can use git in idea or on command line. works perfect.
so can asure absolutely possible without having *.iml under version controle.
Comments
Post a Comment