[ERROR] Maven execution terminated abnormally (exit code 1)

用idea创建maven web项目时报错,也没有没有src目录:[ERROR] Maven execution terminated abnormally (exit code 1)首先检查idea有没有对maven插件进行默认设置:
[ERROR] Maven execution terminated abnormally (exit code 1)[ERROR] Maven execution terminated abnormally (exit code 1)[ERROR] Maven execution terminated abnormally (exit code 1)

默认设置都设置无误后,新建maven web项目时到如下页面需向Properties中添加一个参数 archetypeCatalog=internal,不加这个参数,在maven生成骨架的时候将会非常慢,有时候直接卡住。来自网上的解释:

archetypeCatalog表示插件使用的archetype元数据,不加这个参数时默认为remote,local,即*仓库archetype元数据,由于*仓库的archetype太多了所以导致很慢,指定internal来表示仅使用内部元数据。

[ERROR] Maven execution terminated abnormally (exit code 1)