Answer the question
In order to leave comments, you need to log in
How to initialize maven in a project?
If you create a project in an idea not through maven, then pom.xml will not be generated and maven itself will not build, but what if there is a need already "at the crossing"?
How to generate pom.xml correctly?
The official documentation suggests using the built-in generator (Code->Generator), but apart from generating copyrights, it does not offer anything.
Answer the question
In order to leave comments, you need to log in
Right-click on the project, select Add framework support, select Maven. pom.xml will be generated. Open it in the editor, press Alt + Insert, select the Dependency item, add the ones you need from the list.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question