Method 1: Set the maven running parameters of idea
or:
Add: archetypeCatalog=internal
If ctrl+alt+s is set, you can only create a new module for the current project and its function is:
Method 2: Set archetypeCatalog=internal when creating a new maven project. This method needs to be set every time, and the spring boot project does not have this setting. The first method is recommended.
Other methods:
Command method:
mvn archetype:generate / -DgroupId=com.mycom.helloworld / -DartifactId=helloworld / -DarchetypeArtifactId=maven-archetype-quickstart / -DinteractiveMode=false / -DarchetypeCatalog=http://maven.aliyun.com/nexus/content/groups/public/
Set the local catalog file to use: IDEA to set the archetype to local
-DarchetypeCatalog=local
Summarize
The above is the operation method of the new idea project that I introduce to you. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. Thank you very much for your support to Wulin.com website!