开发者

override maven mirror settings on a build server

we have a settings.xml on a build server that restricts acc开发者_如何学运维ess to outside repositories and forces access to a local repository.

with the cooperation of the policy makers behind this, we are investigating the possibility to selectively (from a project's pom.xml) enable outside repository access.

is this possible? if so, would it be as simple as configuring the repository in the pom.xml?


I'm afraid it isn't possible. You need to specify an alternative settings.xml on the command line.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜