如何在Maven存储库中获取工件列表? [英] How can I get the list of artifacts in my Maven repository?

查看:86
本文介绍了如何在Maven存储库中获取工件列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有Maven目标列出存储在本地Maven存储库中的工件?

Is there a Maven goal to list the artifacts that are stored in my local Maven repository?

推荐答案

我不知道有任何插件可以这样做,老实说,我不明白这一点.也许您可以只使用OS文件搜索功能来实现您的目标.如果确实要在Maven中执行此操作,请使用 maven-执行此命令exec-plugin .另一种选择是使用 maven-antrun-plugin 查找一个允许查找文件的Ant任务.但是,正如我所说,我不明白这一点.

I'm not aware of any plugin doing that and, to be honest, I don't get the point. Maybe you could just use your OS file search feature to achieve your goal. If really you want to do this from Maven, then execute this command using the maven-exec-plugin. Another option would be to use the maven-antrun-plugin if you can find an Ant task allowing to find files. But, as I said, I don't get the point of this.

这篇关于如何在Maven存储库中获取工件列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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