无法使用gwt-maven-plugin在eclipse中创建项目

Mar*_*ius 5 eclipse gwt plugins maven

我去了新的>>其他>> maven项目>>选择nexus索引器或所有其他目录,但没有gwt-maven-plugin.我试图用愚蠢的细节添加它:

group id:org.codehaus.mojo

artifact id:gwt-maven-plugin

版本:2.4.0

存储库网址:repo1.maven.org

但我得到了以下错误:

"无法解析Archetype org.codehaus.mojo:gwt-maven-plugin:2.4.0 org.eclipse.core.runtime.CoreException:无法解析工件org.codehaus.mojo:gwt-maven-plugin:pom:2.4 .0"

有谁知道为什么会这样?谢谢

Man*_*ino 1

使用 gquery-archetype 生成 gwt maven 项目。然后在不需要的情况下删除 gquery 依赖项。Gquery 原型维护得很好。

不要忘记设置项目名称,参见截图1