You may find it easier to simply ask them to run a "mvn
dependency:go-offline" before going home, and to run their builds with
"--offline" while disconnected from the corporate network.


Thanks,

Roy Lyons
Senior Configuration Engineer







On 10/30/12 1:05 PM, "Gintas" <[email protected]> wrote:

>Hello guys,
>
>I'm having some issues with repo configuration. What I want to set-up is
>that:
>
>1. Maven would primarily use company's internal maven Repository for
>PUBLIC
>and PRIVATE libraries. Settings to be used at the office.
>2. Maven would use DEFAULT Maven repos when internal company's repo is not
>available. 
>Settings to be used when working at home. Maven would be able to download
>all PUBLIC libraries and get private libs from m2 folder.
>
>Is it possible to achieve this?
>
>Currently i have a profile defined under m2 with my private repo settings,
>but when it fails, Maven does not fall back to the default settings.
>
>Thanks in advance!
>
>Gintas.
>
>
>
>--
>View this message in context:
>http://maven.40175.n5.nabble.com/Private-Repository-Server-Maven-Standard-
>Repos-tp5728854.html
>Sent from the Maven - Users mailing list archive at Nabble.com.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to