C
C
click_f2017-03-21 18:53:50
Java
click_f, 2017-03-21 18:53:50

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

1 answer(s)
S
Sergey Gornostaev, 2017-03-21
@click_f

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 question

Ask a Question

731 491 924 answers to any question