Generate pom.xml for maven with libraries
Answered
Hello! I have a simple non-maven project with external libraries. I want to add Maven support.
I select my project in project-tree, right click, add framework support, maven.
pom.xml is generated without any libraries. how to fix that?
Please sign in to leave a comment.
See https://stackoverflow.com/a/12508597/104891.
IntelliJ IDEA has no support to convert existing projects into Maven projects, you will have to configure the dependencies manually in pom.xml.
thank you. ok, I manually added dependency for xtream lib. It says for me about wrong version. Why is that?
Not sure, maybe you didn't index the repository: http://stackoverflow.com/a/42427510/104891.