| 05-Dec-2025 09:41:35 |
Downloaded from sonatype-nexus-snapshots: https://central.sonatype.com/repository/maven-snapshots/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/maven-metadata.xml (995 B at 1.8 kB/s) |
| 05-Dec-2025 09:41:35 |
#20 172.6 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/appointments-api-2.1.0-20251126.093532-8.pom |
| 05-Dec-2025 09:41:35 |
#20 CANCELED |
| 05-Dec-2025 09:41:36 |
------ |
| 05-Dec-2025 09:41:36 |
> [linux/amd64 dev 5/11] RUN --mount=type=secret,id=m2settings,target=/usr/share/maven/ref/settings-docker.xml if [[ "deploy -Pno-demo" != "deploy" || "$(arch)" = "x86_64" ]]; then mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro deploy -Pno-demo; else mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro install; fi: |
| 05-Dec-2025 09:41:36 |
172.8 [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:6.1.0-SNAPSHOT:build-distro (openmrs-sdk:build-distro) on project distro-emr-configuration: Execution openmrs-sdk:build-distro of goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:6.1.0-SNAPSHOT:build-distro failed: Index -1 out of bounds for length 1 -> [Help 1] |
| 05-Dec-2025 09:41:36 |
172.8 [ERROR] |
| 05-Dec-2025 09:41:36 |
172.8 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. |
| 05-Dec-2025 09:41:36 |
172.8 [ERROR] Re-run Maven using the -X switch to enable full debug logging. |
| 05-Dec-2025 09:41:36 |
172.8 [ERROR] |
| 05-Dec-2025 09:41:36 |
172.8 [ERROR] For more information about the errors and possible solutions, please read the following articles: |
| 05-Dec-2025 09:41:36 |
172.9 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException |
| 05-Dec-2025 09:41:36 |
172.9 [ERROR] |
| 05-Dec-2025 09:41:36 |
172.9 [ERROR] After correcting the problems, you can resume the build with the command |
| 05-Dec-2025 09:41:36 |
172.9 [ERROR] mvn <args> -rf :distro-emr-configuration |
| 05-Dec-2025 09:41:36 |
------ |
| 05-Dec-2025 09:41:36 |
Dockerfile:16 |
| 05-Dec-2025 09:41:36 |
-------------------- |
| 05-Dec-2025 09:41:36 |
14 | ARG CACHE_BUST |
| 05-Dec-2025 09:41:36 |
15 | # Build the distro, but only deploy from the amd64 build |
| 05-Dec-2025 09:41:36 |
16 | >>> RUN --mount=type=secret,id=m2settings,target=/usr/share/maven/ref/settings-docker.xml if [[ "$MVN_ARGS" != "deploy" || "$(arch)" = "x86_64" ]]; then mvn $MVN_ARGS_SETTINGS $MVN_ARGS; else mvn $MVN_ARGS_SETTINGS install; fi |
| 05-Dec-2025 09:41:36 |
17 | |
| 05-Dec-2025 09:41:36 |
18 | RUN cp /openmrs_distro/distro/target/sdk-distro/web/openmrs_core/openmrs.war /openmrs/distribution/openmrs_core/ |
| 05-Dec-2025 09:41:36 |
-------------------- |
| 05-Dec-2025 09:41:36 |
ERROR: failed to solve: process "/bin/sh -c if [[ \"$MVN_ARGS\" != \"deploy\" || \"$(arch)\" = \"x86_64\" ]]; then mvn $MVN_ARGS_SETTINGS $MVN_ARGS; else mvn $MVN_ARGS_SETTINGS install; fi" did not complete successfully: exit code: 1 |