解决idea maven mvn archetype:generate 速度缓慢问题:Generating project in Batch mode

就一张图片



 
 
 

"C:\Program Files\Java\jdk-21\bin\java.exe" -Dmaven.multiModuleProjectDirectory=C:\Users\Lenovo\AppData\Local\Temp\archetype1tmp -Djansi.passthrough=true "-Dmaven.home=D:\Software\IntelliJ IDEA 2024.2.1\plugins\maven\lib\maven3" "-Dclassworlds.conf=D:\Software\IntelliJ IDEA 2024.2.1\plugins\maven\lib\maven3\bin\m2.conf" "-Dmaven.ext.class.path=D:\Software\IntelliJ IDEA 2024.2.1\plugins\maven\lib\maven-event-listener.jar" "-javaagent:D:\Software\IntelliJ IDEA 2024.2.1\lib\idea_rt.jar=50298:D:\Software\IntelliJ IDEA 2024.2.1\bin" -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath "D:\Software\IntelliJ IDEA 2024.2.1\plugins\maven\lib\maven3\boot\plexus-classworlds-2.8.0.jar;D:\Software\IntelliJ IDEA 2024.2.1\plugins\maven\lib\maven3\boot\plexus-classworlds.license" org.codehaus.classworlds.Launcher -Didea.version=2024.2.1 -DinteractiveMode=false -DgroupId=org.example -DartifactId=springbootDemo -Dversion=1.0-SNAPSHOT -DarchetypeGroupId=com.xml -DarchetypeArtifactId=springbootDemo -DarchetypeVersion=1.0.0-SNAPSHOT -DarchetypeRepository=D:/学习科目/大二下/分布式数据库/idea/demo/.idea/workspace.xml org.apache.maven.plugins:maven-archetype-plugin:RELEASE:generate [INFO] Scanning for projects... [INFO] [INFO] ------------------< org.apache.maven:standalone-pom >------------------- [INFO] Building Maven Stub Project (No POM) 1 [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] >>> archetype:3.3.1:generate (default-cli) > generate-sources @ standalone-pom >>> [INFO] [INFO] <<< archetype:3.3.1:generate (default-cli) < generate-sources @ standalone-pom <<< [INFO] [INFO] [INFO] --- archetype:3.3.1:generate (default-cli) @ standalone-pom --- [INFO] Generating project in Batch mode [WARNING] Archetype not found in any catalog. Falling back to central repository. [WARNING] Add a repository with id 'archetype' in your settings.xml if archetype's repository is elsewhere. [INFO] ----------------------------------
最新发布
05-14
D:\IDEA\environment\Java\jdk1.8\bin\java.exe -Dmaven.multiModuleProjectDirectory=C:\Users\lishiwen\AppData\Local\Temp\archetype2tmp -Djansi.passthrough=true -Dmaven.home=D:\IDEA\environment\apache-maven-3.9.9 -Dclassworlds.conf=D:\IDEA\environment\apache-maven-3.9.9\bin\m2.conf "-Dmaven.ext.class.path=C:\Program Files\JetBrains\IntelliJ IDEA 2024.3.4.1\plugins\maven\lib\maven-event-listener.jar" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2024.3.4.1\lib\idea_rt.jar=2693" -Dfile.encoding=UTF-8 -classpath D:\IDEA\environment\apache-maven-3.9.9\boot\plexus-classworlds-2.8.0.jar;D:\IDEA\environment\apache-maven-3.9.9\boot\plexus-classworlds.license org.codehaus.classworlds.Launcher -Didea.version=2024.3.4.1 -s D:\IDEA\environment\apache-maven-3.9.9\conf\settings.xml -DinteractiveMode=false -DgroupId=com.li -DartifactId=mybatis -Dversion=1.0-SNAPSHOT -DarchetypeGroupId=mybatis -DarchetypeArtifactId=com.li -DarchetypeVersion=1.0-SNAPSHOT org.apache.maven.plugins:maven-archetype-plugin:RELEASE:generate [INFO] Scanning for projects... [INFO] [INFO] ------------------< org.apache.maven:standalone-pom >------------------- [INFO] Building Maven Stub Project (No POM) 1 [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] >>> archetype:3.3.1:generate (default-cli) > generate-sources @ standalone-pom >>> [INFO] [INFO] <<< archetype:3.3.1:generate (default-cli) < generate-sources @ standalone-pom <<< [INFO] [INFO] [INFO] --- archetype:3.3.1:generate (default-cli) @ standalone-pom --- [INFO] Generating project in Batch mode [WARNING] failed to download from remoteorg.eclipse.aether.transfer.MetadataNotFoundException: /archetype-catalog.xml was not found in http://maven.aliyun.com/nexus/content/groups/public during a previous attempt. This failure was cached in the local repository and resolution is not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced [WARNING] No archetype found in remo
03-23
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值