在Leiningen项目中保持依赖版本为最新 [英] Keeping dependency versions up to date in Leiningen projects

查看:153
本文介绍了在Leiningen项目中保持依赖版本为最新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有简单的方法来找出使用Leiningen可用的依赖项的版本?

Is there a simple way to find out what versions of dependencies are available using Leiningen?

例如,如果我有一个依赖Hiccup和Compojure的Web应用程序,我怎么能确定我是在最新版本的每个没有去每个的github页?

E.g., if I have a web app which depends on Hiccup and Compojure, how can I be sure that I'm on the latest version of each without going to the github page for each?

注意:我使用Ant和Ivy建立我的Java项目,所以我有限的知识Maven - 所以请详细说明(或提供Fine链接我阅读)任何Maven概念,Leiningen暴露给我,这将有助于这(我知道,在引擎盖下,Leiningen使用Maven依赖解析度)。 Ta。

NOTE: I use Ant and Ivy for building my Java projects, so I have limited knowledge of Maven - so please spell out (or provide Fine Links for me to read) any Maven concepts that Leiningen exposes to me which would help with this (I know that under the hood, Leiningen uses Maven for dependency resolution). Ta.

推荐答案

这样做的规范方式,至少对于clojars中的依赖关系,是 lein-search插件

The canonical way of doing this, at least for dependencies kept in clojars, is the lein-search plugin.

这篇关于在Leiningen项目中保持依赖版本为最新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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