我是 Maven 和 Jasmine 的新手,首先我尝试按照github 页面上的使用示例进行操作,这是第一个开始的命令:
mvn archetype:generate -DarchetypeRepository= http://searls-maven-repository.googlecode.com/svn/trunk/snapshots -DarchetypeGroupId=com.github.searls -DarchetypeArtifactId=jasmine-archetype -DarchetypeVersion=1.3.1.0-SNAPSHOT -DgroupId =com.acme -DartifactId=my-jasmine-project -Dversion=0.0.1-SNAPSHOT
如果你去这里的 archtype 存储库;最新的快照是 1.2.0。上面的命令指的是 1.3.1 中的-DarchetypeVersion=1.3.1.0-SNAPSHOT
.
我收到此错误:
无法在项目 Standalone-pom 上执行目标 org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli):所需的原型不存在(com.github.searls:jasmine-archetype:1.3 .1.0-快照)
我应该使用另一个存储库吗?
干杯