Author Archives: Jianming Li

Use Nexus as Mirror for Central Repo

* See Configuring Maven for Nexus * Add to ~/.m2/settings.xml <settings> <mirrors> <mirror> <!–This sends everything else to /public –> <id>cental</id> <mirrorOf>cental</mirrorOf> <url>http://localhost:8082/nexus/content/groups/public</url> </mirror> </mirrors> <profiles> <profile> <id>nexus</id> <repositories> <repository> <id>central</id> <!–This is bogus url. It’s overridden in mirror –> … Continue reading

Posted in Uncategorized | Tagged , | Comments Off on Use Nexus as Mirror for Central Repo