English 中文(简体)
在maven,是否有可能使用其他地方的存放处来安装文物?
原标题:Is it possible in maven to use other local repository for installing artifacts?

当我运行 mvn 安装 时, 本地仓库中已编译的文物土地, 与远程文物安装地点相同。 有时这是问题所在, 因为您正在将安全价值为零的公共罐子( 它们已经是公开的) 与安全价值最高者( 它们是你创建的) 混合在一起。 在从非公共存储处下载的文物之间, 此复像很难从安全角度管理 。

最成问题的是需要给予新开发者完整的存储库(当然,他可以运行maven, 等待所有插件等的全天下载, 但这是时间损失 ) 。 移除所有他不应该访问的东西并不容易。

我试图在编程文档中找到一个切换器,用于选择创建 安装 的地点,但这个文件很难搜索,所以我没有发现任何东西并不能让我相信不存在或没有尝试创建这样的选项。所以我向社区询问这样的解决方案。

最佳回答

我所能给出的最佳建议是使用存储库管理器,例如' rel=“nofollow”>>Archiva ,Artifactor >>>Nexus (phabetical ordical ) 。 此外,将文件安装到不同地点是没有道理的,因此您需要在几个地方存储库之间进行改建,这将破坏本地存储库的理念。

问题回答

暂无回答




相关问题
SVN Repository Structure

I am getting ready to set up an SVN repository, and was wondering if anyone had a good example for a repo structure. I am currently thinking: Development .. Applications .... App1 ...... ...

Is git worth for managing many files bigger than 500MB

I would put under version control a big amount of data, i.e. a directory structure (with depth<=5) with hundreds files with size about 500Mb). The things I need is a system that help me: - to ...

Building core shop framework in Rails. Suitable or not?

I work at an in-house IT department for company running 10 or so only shops of varying complexity. The shops code has been written over the last 8 years, each shop a new branch growing father and ...

Ruby gems repository

I m trying to set a gem repository on one of our local servers. Here are the steps I m running, that I ve followed from several guides. 1) I create the BASEDIR folder /var/www/html/gems 2) sudo cp -...

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

热门标签