Maven项目中的人工本地仓库 [英] artifactory local repo in maven project

查看:103
本文介绍了Maven项目中的人工本地仓库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在localhost中设置了工件(在设置服务器之前,我尝试在localhost上),但是当我在Maven项目中使用此存储库时,无法检索我的库.有什么建议吗?

I've setted artifactory in localhost (I'm trying on localhost before setting up my server), but when I use this repo in my maven project I can't retrieve my libs. Any suggestions?

推荐答案

人工工厂为您提供了 小型实用程序 ,它根据配置的存储库生成 Maven设置文件在Artifactory和您的选择中;假设您的存储库已正确配置,那么此实用程序通常会做得很好.

Artifactory provides you with a small utility that generates a Maven settings file based on the repositories configured in Artifactory and your selections; assuming your repositories are properly configured, this utility normally does a good job.

这篇关于Maven项目中的人工本地仓库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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