You can conclude the following optional steps to create an executable JAR.Ĭlick to build project. We recommend making all your project changes in POM since IntelliJ IDEA considers pom.xml as a single source of truth. The artifactId and version are specified automatically.Įvery time you change the POM, IntelliJ IDEA displays a popup suggesting to import your changes.Īt this point you can further develop your project using Maven. Open the generated POM and specify a groupId. IntelliJ IDEA also creates a corresponding structure with Lifecycle and Plugins in the Maven tool window. IntelliJ IDEA adds a default POM to the project and generates the standard Maven layout in Project tool window. In the dialog that opens, select Maven from the options on the left and click OK. In the Project tool window, right-click your project and select Add Framework Support. Open an existing project, for example, a Java project. You can open an existing non-Maven project and add a Maven support via IntelliJ IDEA UI.
0 Comments
Leave a Reply. |