Skip to content

Fix Maven build: use HTTPS for OpenMRS repository URLs#103

Closed
Copilot wants to merge 1 commit intoopenmrs-emr3from
copilot/fix-maven-install-errors
Closed

Fix Maven build: use HTTPS for OpenMRS repository URLs#103
Copilot wants to merge 1 commit intoopenmrs-emr3from
copilot/fix-maven-install-errors

Conversation

Copy link
Contributor

Copilot AI commented Feb 18, 2026

Maven 3.8.1+ blocks HTTP repository URLs by default via maven-default-http-blocker. All five mavenrepo.openmrs.org URLs in pom.xml used http://, causing immediate build failure:

Blocked mirror for repositories: [openmrs-repo (http://mavenrepo.openmrs.org/...)]
  • Updated distributionManagement, repositories, and pluginRepositories URLs from http:// to https://, consistent with openmrs-core

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • mavenrepo.openmrs.org
    • Triggering command: /usr/bin/curl curl -sI REDACTED (dns block)
    • Triggering command: /usr/bin/curl curl -v REDACTED (dns block)
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.12/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.12/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.12 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.12/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/openmrs-standalone/openmrs-standalone org.codehaus.plexus.classworlds.launcher.Launcher clean install -DskipTests (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Fix errors when running mvn clean install Fix Maven build: use HTTPS for OpenMRS repository URLs Feb 18, 2026
Copilot AI requested a review from dkayiwa February 18, 2026 11:23
@dkayiwa dkayiwa closed this Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants