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.
精彩评论