【问题标题】:Probabilistic soft logic (PSL) through maven downloading error通过maven下载错误的概率软逻辑(PSL)
【发布时间】:2017-07-06 20:52:30
【问题描述】:

我正在尝试通过 Maven 下载 PSL(Probabilistic Soft Logic :Groove for Intermediate Users),但我无法下载它,它给了我以下错误
无法执行目标 org.apache.maven .plugins:maven-archetype-plugin:3.0.0:generate (default-cli) on project Standalone-pom:所需的原型不存在(edu.umd.cs:psl-archetype-example:1.2.1
我正在使用 Windows 并按照此
https://github.com/linqs/psl/wiki/Installing-examples

中所述的程序进行操作

我的maven命令如下
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

我正在使用 Apache Maven 3.3.9 和 Java 1.8.0

【问题讨论】:

    标签: java-8 maven-3


    【解决方案1】:

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

    【讨论】:

    • 我删除了 ('\') 符号,正如您在命令上方看到的那样,我还通过删除两个 ('\') 符号在一行中输入了此命令。但我不知道为什么它不起作用。
    • 你能重现你的所作所为吗?
    • mvn archetype:generate -DarchetypeArtifactId=psl-archetype-example -DarchetypeRepository=scm.umiacs.umd.edu/maven/lccd/content/repositories/psl-releases -DarchetypeGroupId=edu.umd.cs -DarchetypeVersion=1.2.1 我做了如上所述的语法,并使用 cmd.in windows 运行此命令
    猜你喜欢
    • 1970-01-01
    • 2015-05-04
    • 2013-12-24
    • 1970-01-01
    • 1970-01-01
    • 2019-04-04
    • 2017-11-20
    • 2017-04-30
    • 2021-03-17
    相关资源
    最近更新 更多