springside4中generate-project 报 Failed to execute goal org.apache.maven.plugins

基于springside4 quickstart 生成项目

1,springside4/support/maven-archetype中的内容install,

2, 双击根目录中的generate-project.bat 

报如下错误

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2

.2:generate (default-cli) on project standalone-pom: The desired archetype does

not exist (org.springside.examples:quickstart-archetype:4.1.1-SNAPSHOT)

 

会发现第一步install的是org.springside.examples:quickstart-archetype:4.2.3-SNAPSHOT

generate-project.bat中为:

 

call mvn archetype:generate -DarchetypeGroupId=org.springside.examples -DarchetypeArtifactId=quickstart-archetype -DarchetypeVersion=4.1.1-SNAPSHOT

 

故将4.1.1改为4.2.3即可

 

你可能感兴趣的:(springside)