使用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]
为什么会这样? 我是否需要存储库或其他东西?
答案 0 :(得分: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”命令。