Hi everyone, I’m trying to deploy my OpenMRS module using the OpenMRS SDK with the following command:
mvn openmrs-sdk:deploy -DserverId=server
However, the deployment of module-patientflags
gets aborted without a clear error message. I’m sure the module build successfully without any error . here is the full log :
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\sandu\Documents\openmrs-module-patientflags> mvn openmrs-sdk:deploy -DserverId=server
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Patient Flags Module [pom]
[INFO] Patient Flags Module API [jar]
[INFO] Patient Flags Module Metadata API [jar]
[INFO] Patient Flags Module FHIR [jar]
[INFO] Patient Flags Module OMOD [jar]
[WARNING] Ignoring incompatible plugin version 4.0.0-beta-2: The plugin org.apache.maven.plugins:maven-compiler-plugin:4.0.0-beta-2 requires Maven version 4.0.0-rc-2
[INFO] Latest version of plugin org.apache.maven.plugins:maven-compiler-plugin failed compatibility check
[INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-compiler-plugin
[WARNING] Ignoring incompatible plugin version 4.0.0-beta-1: The plugin org.apache.maven.plugins:maven-compiler-plugin:4.0.0-beta-1 requires Maven version 4.0.0-beta-3
[INFO] Selected plugin org.apache.maven.plugins:maven-compiler-plugin:3.14.0
[INFO]
[INFO] ------------------< org.openmrs.module:patientflags >-------------------
[INFO] Building Patient Flags Module 3.0.9-SNAPSHOT [1/5]
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- openmrs-sdk:6.1.0:deploy (default-cli) @ patientflags ---
Mar 11, 2025 2:38:29 PM org.jline.utils.Log logr
WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
Would you like to deploy patientflags 3.0.9-SNAPSHOT from the current directory? [Y/n]: Y
Do you want to update module 'patientflags' in version '3.0.8' to version '3.0.9-SNAPSHOT'? [Y/n]: Y
[INFO] Deploying module 'patientflags-omod' aborted
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Patient Flags Module 3.0.9-SNAPSHOT:
[INFO]
[INFO] Patient Flags Module ............................... SUCCESS [ 9.010 s]
[INFO] Patient Flags Module API ........................... SKIPPED
[INFO] Patient Flags Module Metadata API .................. SKIPPED
[INFO] Patient Flags Module FHIR .......................... SKIPPED
[INFO] Patient Flags Module OMOD .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.810 s
[INFO] Finished at: 2025-03-11T14:38:37+05:30
[INFO] ------------------------------------------------------------------------
PS C:\Users\sandu\Documents\openmrs-module-patientflags>