I have maven-proxy running on an internal server. I have also updated the parent pom.xml to include this: <repositories> <repository> <id>central</id> <name>Internal Mirror of Central Repository</name> <url>http://reposerver:9999/repository</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>central</id> <name>Internal Mirror of Central Repository</name> <url>http://reposerver:9999/repository</url> </pluginRepository> </pluginRepositories>
So now the project pom has defined which "central" repository to use. However, I noticed that if I put a <mirror> entry in my local maven2 settings.xml config, then maven will go straight to the mirror instead of to the internal repo. I suppose this is by design, but I don't want developers to be able to override the project setting - at least not for this project. Is there a way to force maven to ignore a <mirror> setting from a parent pom? Thanks Morgan
