I’m wondering if it would be possible to configure the OpenMRS maven repository to act as a proxy to the Mekom public maven repository for artifacts that are hosted there. As things stand now, we have to add both the Mekom repository and OpenMRS repository to many of our POMs (and we’ve also found we have to update our local .m2/settings.xml in some cases), and there may be a few other side effects that we haven’t fully investigated, and we think having OpenMRS proxy the Mekom repo might allow us to avoid those. Is that possible?
Here’s what we have in our pom as an example:
<repositories> <repository> <id>openmrs-repo</id> <name>OpenMRS Nexus Repository</name> <url>http://mavenrepo.openmrs.org/nexus/content/repositories/public</url> </repository> <repository> <!-- Mekom repository, for Initializer --> <id>mks-nexus-public</id> <url>https://nexus.mekomsolutions.net/repository/maven-public/</url> <snapshots> <updatePolicy>always</updatePolicy> </snapshots> </repository> </repositories>