Introduction to Java using Maven project architecture management tool in IDEA! ! !

Introduction to Java using Maven project architecture management tool in IDEA! ! !

Article Directory

0. Preface

In the IDEA tool, it has built-in Maven support. To use it, we only need to configure the Maven environment, and then use it in the IDEA tool! ! ! !

1. Create a Maven project using IDEA

Insert picture description here

  1. Set up our Maven address
  2. Set up our Maven configuration file address
  3. Set up our Maven local warehouse address

Insert picture description here

2. Initialize the Maven project and observe the local warehouse

After the creation is complete, you will enter the IDEA management view. A message box will appear when a
process is running
. We select Enable Auto Import
to wait. . . . . .

When BUILD SUCCESS appears, initialization is complete! ! ! ! Insert picture description here
We enter the local warehouse folder we just created to check, we will find that IDEA has imported the basic jar package into the local warehouse, and there are many more things in the warehouse! ! !
Insert picture description here

3. Check the Maven configuration in IDEA

Insert picture description here

Other issues will be updated later!

Please respect the original, if you need to reprint, please also indicate the original author, the original link, thank you! ! !

Insert picture description here

Guess you like

Origin blog.csdn.net/caixuanji/article/details/107246456