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

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

问题描述

是否有一种简单的方法可以使用 Leiningen 找出可用的依赖项版本?

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

例如,如果我有一个依赖于 Hiccup 和 Compojure 的网络应用程序,我如何确定我使用的是每个应用程序的最新版本,而无需访问每个应用程序的 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 的了解有限 - 所以请说明(或提供精细链接供我阅读)Leiningen 向我公开的任何 Maven 概念,这将有助于这(我知道在幕后,Leiningen 使用 Maven 进行依赖项解析).

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天全站免登陆