从远程repo(clojar)安装JAR [英] install JAR from remote repo (clojar)

查看:194
本文介绍了从远程repo(clojar)安装JAR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想下载并安装这个Clojure库,但不能为我的生活计算出来。我研究了Maven,但不能得到它找到的回购。如何轻松地在我的机器上安装Clojure库?

下载 https://clojars.org/repo/clj-http/clj-http/0.4 .1 / clj-http-0.4.1.jar

  mvn install: install-file -DgroupId = clj-http -DartifactId = clj-http -Dversion = 0.4.1 -Dpackaging = jar -Dfile = clj-http-0.4.1.jar 
pre>

I want to download and install this Clojure library but cannot for the life of me figure it out. I researched Maven, but couldn't get it to find the repo. How can I easily install a Clojure library onto my machine?

解决方案

download https://clojars.org/repo/clj-http/clj-http/0.4.1/clj-http-0.4.1.jar

mvn install:install-file -DgroupId=clj-http -DartifactId=clj-http -Dversion=0.4.1 -Dpackaging=jar -Dfile=clj-http-0.4.1.jar

这篇关于从远程repo(clojar)安装JAR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆