How does IDEA quickly create a Maven project

How does IDEA quickly create a Maven project

Reason: The main reason is that when creating a maven project, the default is to download a file archetype-catalog.xml on the Internet. The size of the file is 5-6M, and the download speed is very slow, causing the creation process to become very slow.

solve:

Add new attribute archetypeCatalog = internal when creating a new project

Specify -DarchetypeCatalog as internal, you can use maven's default archetype-catalog.xml instead of remote downloading.Insert picture description here

Guess you like

Origin blog.csdn.net/qq_43522998/article/details/109262767