IDEA to create a common maven + java project (entry)

Configuring IDEA2017, maven3.5.2, Java1.8

In fact, most of the IDEA are similar, the differences do not tangle the previous version.

The first step : File -> New -> Project

 

 

 Step two : the emergence of new Project selection box, select the left Maven, the right need to check Create from archetype, meaning the project is built from a template, then click next

 

 The third step : fill in project parameters, maven of groupid and artifactId are collectively referred to as "coordinate", in order to ensure the uniqueness of the project out through these two, can uniquely identify a project.

groupid generally represents a company or group, such as a project name org.apache, artifactId represents the

 

 Step Four: If the idea is not meven, there is a process set up maven, I've been set up, skip

Step Five: Set project name and address, usually the default is artifactId project name, click next

The final project structure

 

 

Guess you like

Origin www.cnblogs.com/adaonling/p/11669008.html