从maven仓库下载工件而无需mvn/poms的实用程序 [英] Utility for downloading artifacts from maven repo without mvn/poms

查看:137
本文介绍了从maven仓库下载工件而无需mvn/poms的实用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一个不是mvn的maven客户端(maven发行版随附的二进制文件),我可以使用它从maven存储库中提取工件而不使用pom?我想使用Maven存储库作为操作团队的回购库,以获取构建版本(包括快照) 构建),但我不希望他们在编写pom并声明其中的依赖项时遇到麻烦.理想情况下,我只是在寻找一个cli客户端,我可以传递回购URL并进行协调并下载给定的工件.这样的事情是否存在,还是我最好为此编写一次性脚本?

Is there a maven client that isn't mvn (the binary included with the maven distribution) I could use to pull down an artifact from a maven repository without using a pom? I'd like to use a maven repository as the repo for our ops team to pick up builds (including snapshots of builds) but I don't want them to have to mess around with writing poms and declaring dependencies in them. Ideally, I'm looking for just a cli client that I could just pass in a repo url and coordinates and download a given artifact. Does such a thing exist or am I better off writing a one-off script for this?

推荐答案

使用Nexus.它提供了一个Web界面,其他团队可以使用该界面下载工件. http://nexus.sonatype.org/

Use Nexus. It provides a web interface that other teams can use to download artifacts. http://nexus.sonatype.org/

这篇关于从maven仓库下载工件而无需mvn/poms的实用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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