0

使用 Maven 3.0.1 的全新安装:

> mvn archetype:generate

Choose a number or apply filter: 
  461: remote -> org.fusesource.scalate.tooling:scalate-archetype-jersey (An archetype which creates an empty Scalate web application)

Choose org.fusesource.scalate.tooling:scalate-archetype-jersey version: 
   11: 1.5.3-scala_2.8.2


> mvn clean install

[ERROR] Plugin org.fusesource.scalate:maven-scalate-plugin:1.5.3-scala_2.8.2 or one of its dependencies could not be resolved: Could not find artifact org.fusesource.scalate:maven-scalate-plugin:jar:1.5.3-scala_2.8.2 in central (http://repo1.maven.org/maven2) -> [Help 1]

为什么会这样?我需要存储库还是什么?

4

1 回答 1

0

从那时起,原型似乎已经更新,现在有以下两个:

477:远程 -> org.fusesource.scalate.tooling:scalate-archetype-jersey_2.10(创建空 Scalate Web 应用程序的原型) 478:远程 -> org.fusesource.scalate.tooling:scalate-archetype-jersey_2。 9(创建一个空的 Scalate Web 应用程序的原型)

我尝试使用 scalate-archetype-jersey_2.9,它通过了“mvn clean install”命令。

于 2013-01-09T16:51:04.730 回答