Ok, that's fine, I can change the approach. Overriding central through settings.xml works great.
So, is it that any overriding of repos, through poms, is bad, (say if I define a "hello" repo in a parent pom, then override it in a child pom). Or is this strictly about central? Thanks, Paul -----Original Message----- From: Michael Osipov <micha...@apache.org> Sent: Wednesday, December 30, 2020 6:19 AM To: users@maven.apache.org Subject: Re: overriding central repository Am 2020-12-29 um 20:04 schrieb De Mello, Paul: > Hi, I hope this is the right place to ask this. > > I have overridden the central repository in my pom (with a corporate > artifactory repo). On a clean .m2, when I run mvn package, all of my > dependencies download from this artifactory repo. Perfect. During this > process all of the Downloaded/Downloading logs show something like: > "Downloading from central: > https://urldefense.proofpoint.com/v2/url?u=https-3A__artifactory&d=DwIC-g&c=wmXzi2agfy7gEs3kYxhhNlK5YqQ_XRgfPhjt-qqffT8&r=kRHPqWn6-c3RZW3wTw1VyXFJyamBS8uEvl_tMNQh2oQ&m=5H5WB8NOe6sctIYTO8VO1OPeA4Na9E_T2KnLbRI5XkU&s=EN8CZcZcX-xeAKxxrdsCNuUH3EB0TCakZVzHqW8Y8Lk&e= > ....." No, you never override central in your POM. See https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org_jira_browse_MNG-2D6772&d=DwIC-g&c=wmXzi2agfy7gEs3kYxhhNlK5YqQ_XRgfPhjt-qqffT8&r=kRHPqWn6-c3RZW3wTw1VyXFJyamBS8uEvl_tMNQh2oQ&m=5H5WB8NOe6sctIYTO8VO1OPeA4Na9E_T2KnLbRI5XkU&s=v7OnHuMNvktgQwY7cJAvbDFIfrGoalmpUZ9Roucuk10&e= . Change your approach. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. This message cannot be guaranteed to be secure or error-free. First Republic Bank and its related entities do not take responsibility for, or accept time-sensitive instructions sent by email including orders, funds transfer instructions or stop payments on checks. All instructions of this nature must be handled by direct communication, not email. We reserve the right to monitor and review the content of all email communications sent or received. Emails sent to or from this address may be stored in accordance with regulatory requirements. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org