2017-02-17 74 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