【发布时间】:2013-03-13 12:09:39
【问题描述】:
我是 Maven 和 Jasmine 的新手,开始时我尝试遵循 on the github page 上的用法示例,这是开始的第一个命令:
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
如果你去the archtype repository here;最新的快照是 1.2.0。上面的命令引用了-DarchetypeVersion=1.3.1.0-SNAPSHOT中的1.3.1。
我收到此错误:
无法在项目standalone-pom上执行目标org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli):所需的原型不存在(com.github.searls:jasmine-原型:1.3.1.0-SNAPSHOT)
我应该使用另一个存储库吗?
干杯
【问题讨论】:
标签: javascript unit-testing maven plugins jasmine