2017-02-17 73 views
0

我想下载PSL(概率软逻辑:槽中级用户)通过Maven的,但我不能下载它,它给了我下面的错误
失败执行目标org.apache.maven.plugins:maven-archetype-plugin:3.0.0:在项目standalone-pom上生成(default-cli):所需的原型不存在(edu.umd.cs:psl-archetype-example 1.2.1
我使用Windows和按照如在此
https://github.com/linqs/psl/wiki/Installing-examples概率软逻辑(PSL)基于Maven下载错误

我Maven的命令说是FOL低点
MVN原型:产生-DarchetypeArtifactId = PSL-原型,例如-DarchetypeRepository = https://scm.umiacs.umd.edu/maven/lccd/content/repositories/psl-releases/ -DarchetypeGroupId = edu.umd.cs -DarchetypeVersion = 1.2.1

我使用Apache Maven的3.3.9和Java 1.8.0

回答

1

本页中的说明,也可以这样说:The Windows shell (CMD.EXE) doesn't accept line continuations ('\'), so remove those and enter the command all on one line.。复制并粘贴时检查是否有两个\符号。删除然后它会工作。

+0

我删除了('\')符号,就像你在命令上面看到的那样,并且我通过删除两个('\')符号在一行中输入了这个命令。但我不知道为什么它不起作用。 – Mubee

+0

您能否重现您所做的事情? – Caleb

+0

** mvn archetype:generate -DarchetypeArtifactId = psl-archetype-example -DarchetypeRepository = https://scm.umiacs.umd.edu/maven/lccd/content/repositories/psl-releases/ -DarchetypeGroupId = edu.umd.cs -DarchetypeVersion = 1.2.1 **我按照上面所述的方式制作了如上所示的语法,并使用cmd.in窗口运行此命令 – Mubee