Home >Java >javaTutorial >What is the difference between Type selection maven project and maven pom when creating a SpringBoot project with idea?
1) Open the idea and start creating the SpringBoot project
##2) Select Spring Initializr, select the appropriate jdk version, and click Next
There are four project types to choose from when operating the Type option:Maven Project (Generate a Maven based project archive) Maven POM (Generate a Maven pom.xml) Gradle Project (Generate a Gradle based project archive) Gradle Config (Generate a Gradle build file)2 and 4 only create corresponding configuration files ( pom.xml / gradle.build);1 and 3 will also create some regular files in the Spring Boot project (SpringBootApplication class and corresponding code structure) in addition to creating configuration files. That is to say: If you select project, it will help you generate the entire complete project structure; If you select pom, it will only generate pom in the project directory. .xml, without src and other structures.
The above is the detailed content of What is the difference between Type selection maven project and maven pom when creating a SpringBoot project with idea?. For more information, please follow other related articles on the PHP Chinese website!