NLPIR java测试(没找到范例代码)

NLPIR java测试(没找到范例代码),第1张

NLPIR java测试(没找到范例代码)
  • 网址

https://git.lingjoin.com/nlpir-team/nlpir-maven-repo/-/packages/48

  • 安装

看了半天也没有明白。于是尝试其中某处提供的命令

$ sudo mvn dependency:get -Dartifact=com.lingjoin:nlpir-client-java:0.5.2-beta


[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:get (default-cli) on project standalone-pom: Couldn't download artifact: Missing:
[ERROR] ----------
[ERROR] 1) com.lingjoin:nlpir-client-java:jar:0.5.2-beta
[ERROR] 
[ERROR] Try downloading the file manually from the project website.
[ERROR] 
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=com.lingjoin -DartifactId=nlpir-client-java -Dversion=0.5.2-beta -Dpackaging=jar -Dfile=/path/to/file
[ERROR] 
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=com.lingjoin -DartifactId=nlpir-client-java -Dversion=0.5.2-beta -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR] Path to dependency:
[ERROR] 1) org.apache.maven.plugins:maven-downloader-plugin:jar:1.0
[ERROR] 2) com.lingjoin:nlpir-client-java:jar:0.5.2-beta

虽然看得不太明白,出错是肯定的。怎么办?根据提示,先下载:

https://git.lingjoin.com/nlpir-team/nlpir-maven-repo/-/package_files/178/download

再执行命令,成功:

mvn install:install-file -DgroupId=com.lingjoin -DartifactId=nlpir-client-java -Dversion=0.5.2-beta -Dpackaging=jar -Dfile=/home/tsit/nlpir-client-java-0.5.2-beta.jar

然后呢?大哥你的范例在哪里?

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5583044.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-14
下一篇 2022-12-14

发表评论

登录后才能评论

评论列表(0条)

保存