OpenMRS Core 2.7
Build: #37 failed
Job: Release failed
Job result summary
- Completed
- Duration
- 10 seconds
- Flags
- Custom build
- Agent
- xiao.openmrs.org
- Revision
-
3f0890e51594068c5151850a8de58476353a37c8
- Fixed in
- #41 (Manual run by Ian Bacher)
- Number of retries
- 2
Error summary
The build generated some errors. See the full build log for more details.
#23 [linux/amd64 compile 14/15] COPY . .
#23 DONE 0.4s
#24 [linux/amd64 compile 15/15] RUN mvn -s /usr/share/maven/ref/settings-docker.xml clean install -DskipTests
#24 1.528 [INFO] Scanning for projects...
#24 1.769 [WARNING]
#24 1.769 [WARNING] Some problems were encountered while building the effective model for org.openmrs.tools:openmrs-tools:jar:2.7.2
#24 1.769 [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.junit.jupiter:junit-jupiter-params:jar -> duplicate declaration of version ${junitVersion} @ org.openmrs:openmrs:2.7.2, /openmrs_core/pom.xml, line 467, column 16
#24 1.769 [WARNING]
#24 1.769 [WARNING] Some problems were encountered while building the effective model for org.openmrs:openmrs:pom:2.7.2
#24 1.769 [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.junit.jupiter:junit-jupiter-params:jar -> duplicate declaration of version ${junitVersion} @ line 467, column 16
#24 1.769 [WARNING]
#24 1.769 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
#24 1.769 [WARNING]
#24 1.769 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
#24 1.769 [WARNING]
#24 1.780 [INFO] ------------------------------------------------------------------------
#24 1.781 [INFO] Reactor Build Order:
#24 1.781 [INFO]
#24 1.782 [INFO] OpenMRS [pom]
#24 1.783 [INFO] openmrs-tools [jar]
#24 1.783 [INFO] openmrs-test [pom]
#24 1.783 [INFO] openmrs-api [jar]
#24 1.783 [INFO] openmrs-web [jar]
#24 1.783 [INFO] openmrs-webapp [war]
#24 1.785 [INFO] openmrs-liquibase [jar]
#24 1.796 [INFO]
#24 1.796 [INFO] ------------------------< org.openmrs:openmrs >-------------------------
#24 1.796 [INFO] Building OpenMRS 2.7.2 [1/7]
#24 1.797 [INFO] from pom.xml
#24 1.797 [INFO] --------------------------------[ pom ]---------------------------------
#24 1.967 [INFO]
#24 1.970 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs ---
#24 2.061 [INFO]
#24 2.063 [INFO] --- buildnumber-maven-plugin:3.2.1:create (default) @ openmrs ---
#24 2.506 [INFO] ShortRevision tag detected. The value is '6'.
#24 2.516 [INFO] Executing: /bin/sh -c cd '/openmrs_core' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
#24 2.517 [INFO] Working directory: /openmrs_core
#24 2.545 [WARNING] Cannot get the revision information from the scm repository, proceeding with revision of 0 :
#24 2.545 Exception while executing SCM command.
#24 2.547 [INFO] Storing buildNumber: 0 at timestamp: 1740064377679
#24 2.553 [INFO] Executing: /bin/sh -c cd '/openmrs_core' && 'git' 'symbolic-ref' 'HEAD'
#24 2.553 [INFO] Working directory: /openmrs_core
#24 2.554 [INFO] Storing scmBranch: 2.7.x
#24 2.555 [INFO]
#24 2.555 [INFO] --- build-helper-maven-plugin:3.6.0:parse-version (parse-version) @ openmrs ---
#24 2.597 [INFO]
#24 2.598 [INFO] --- maven-jar-plugin:3.4.2:test-jar (default) @ openmrs ---
#24 2.802 [WARNING] JAR will be empty - no content was marked for inclusion!
#24 2.932 [INFO] Building jar: /openmrs_core/target/openmrs-2.7.2-tests.jar
#24 3.002 [INFO]
#24 3.003 [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs ---
#24 3.200 [INFO] Checking licenses...
#24 3.561 [WARNING] Missing header in: /openmrs_core/docker-image.txt
#24 3.577 [INFO] ------------------------------------------------------------------------
#24 3.577 [INFO] Reactor Summary for OpenMRS 2.7.2:
#24 3.577 [INFO]
#24 3.577 [INFO] OpenMRS ............................................ FAILURE [ 1.773 s]
#24 3.577 [INFO] openmrs-tools ...................................... SKIPPED
#24 3.577 [INFO] openmrs-test ....................................... SKIPPED
#24 3.577 [INFO] openmrs-api ........................................ SKIPPED
#24 3.577 [INFO] openmrs-web ........................................ SKIPPED
#24 3.577 [INFO] openmrs-webapp ..................................... SKIPPED
#24 3.577 [INFO] openmrs-liquibase .................................. SKIPPED
#24 3.577 [INFO] ------------------------------------------------------------------------
#24 3.577 [INFO] BUILD FAILURE
#24 3.577 [INFO] ------------------------------------------------------------------------
#24 3.577 [INFO] Total time: 2.058 s
#24 3.577 [INFO] Finished at: 2025-02-20T15:12:58Z
#24 3.577 [INFO] ------------------------------------------------------------------------
#24 3.577 [ERROR] Failed to execute goal com.mycila:license-maven-plugin:3.0:check (default) on project openmrs: Some files do not have the expected license header -> [Help 1]
#24 3.577 [ERROR]
#24 3.577 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#24 3.577 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#24 3.577 [ERROR]
#24 3.577 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#24 3.577 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#24 ERROR: process "/bin/sh -c mvn $MVN_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
------
> [linux/amd64 compile 15/15] RUN mvn -s /usr/share/maven/ref/settings-docker.xml clean install -DskipTests:
#24 3.577 [INFO] Total time: 2.058 s
#24 3.577 [INFO] Finished at: 2025-02-20T15:12:58Z
#24 3.577 [INFO] ------------------------------------------------------------------------
#24 3.577 [ERROR] Failed to execute goal com.mycila:license-maven-plugin:3.0:check (default) on project openmrs: Some files do not have the expected license header -> [Help 1]
#24 3.577 [ERROR]
#24 3.577 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#24 3.577 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#24 3.577 [ERROR]
#24 3.577 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#24 3.577 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
------
Dockerfile:49
--------------------
47 |
48 | # Build the project
49 | >>> RUN mvn $MVN_SETTINGS $MVN_ARGS
50 |
51 | ### Development Stage
--------------------
error: failed to solve: process "/bin/sh -c mvn $MVN_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
#23 DONE 0.4s
#24 [linux/amd64 compile 15/15] RUN mvn -s /usr/share/maven/ref/settings-docker.xml clean install -DskipTests
#24 1.528 [INFO] Scanning for projects...
#24 1.769 [WARNING]
#24 1.769 [WARNING] Some problems were encountered while building the effective model for org.openmrs.tools:openmrs-tools:jar:2.7.2
#24 1.769 [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.junit.jupiter:junit-jupiter-params:jar -> duplicate declaration of version ${junitVersion} @ org.openmrs:openmrs:2.7.2, /openmrs_core/pom.xml, line 467, column 16
#24 1.769 [WARNING]
#24 1.769 [WARNING] Some problems were encountered while building the effective model for org.openmrs:openmrs:pom:2.7.2
#24 1.769 [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.junit.jupiter:junit-jupiter-params:jar -> duplicate declaration of version ${junitVersion} @ line 467, column 16
#24 1.769 [WARNING]
#24 1.769 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
#24 1.769 [WARNING]
#24 1.769 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
#24 1.769 [WARNING]
#24 1.780 [INFO] ------------------------------------------------------------------------
#24 1.781 [INFO] Reactor Build Order:
#24 1.781 [INFO]
#24 1.782 [INFO] OpenMRS [pom]
#24 1.783 [INFO] openmrs-tools [jar]
#24 1.783 [INFO] openmrs-test [pom]
#24 1.783 [INFO] openmrs-api [jar]
#24 1.783 [INFO] openmrs-web [jar]
#24 1.783 [INFO] openmrs-webapp [war]
#24 1.785 [INFO] openmrs-liquibase [jar]
#24 1.796 [INFO]
#24 1.796 [INFO] ------------------------< org.openmrs:openmrs >-------------------------
#24 1.796 [INFO] Building OpenMRS 2.7.2 [1/7]
#24 1.797 [INFO] from pom.xml
#24 1.797 [INFO] --------------------------------[ pom ]---------------------------------
#24 1.967 [INFO]
#24 1.970 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs ---
#24 2.061 [INFO]
#24 2.063 [INFO] --- buildnumber-maven-plugin:3.2.1:create (default) @ openmrs ---
#24 2.506 [INFO] ShortRevision tag detected. The value is '6'.
#24 2.516 [INFO] Executing: /bin/sh -c cd '/openmrs_core' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
#24 2.517 [INFO] Working directory: /openmrs_core
#24 2.545 [WARNING] Cannot get the revision information from the scm repository, proceeding with revision of 0 :
#24 2.545 Exception while executing SCM command.
#24 2.547 [INFO] Storing buildNumber: 0 at timestamp: 1740064377679
#24 2.553 [INFO] Executing: /bin/sh -c cd '/openmrs_core' && 'git' 'symbolic-ref' 'HEAD'
#24 2.553 [INFO] Working directory: /openmrs_core
#24 2.554 [INFO] Storing scmBranch: 2.7.x
#24 2.555 [INFO]
#24 2.555 [INFO] --- build-helper-maven-plugin:3.6.0:parse-version (parse-version) @ openmrs ---
#24 2.597 [INFO]
#24 2.598 [INFO] --- maven-jar-plugin:3.4.2:test-jar (default) @ openmrs ---
#24 2.802 [WARNING] JAR will be empty - no content was marked for inclusion!
#24 2.932 [INFO] Building jar: /openmrs_core/target/openmrs-2.7.2-tests.jar
#24 3.002 [INFO]
#24 3.003 [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs ---
#24 3.200 [INFO] Checking licenses...
#24 3.561 [WARNING] Missing header in: /openmrs_core/docker-image.txt
#24 3.577 [INFO] ------------------------------------------------------------------------
#24 3.577 [INFO] Reactor Summary for OpenMRS 2.7.2:
#24 3.577 [INFO]
#24 3.577 [INFO] OpenMRS ............................................ FAILURE [ 1.773 s]
#24 3.577 [INFO] openmrs-tools ...................................... SKIPPED
#24 3.577 [INFO] openmrs-test ....................................... SKIPPED
#24 3.577 [INFO] openmrs-api ........................................ SKIPPED
#24 3.577 [INFO] openmrs-web ........................................ SKIPPED
#24 3.577 [INFO] openmrs-webapp ..................................... SKIPPED
#24 3.577 [INFO] openmrs-liquibase .................................. SKIPPED
#24 3.577 [INFO] ------------------------------------------------------------------------
#24 3.577 [INFO] BUILD FAILURE
#24 3.577 [INFO] ------------------------------------------------------------------------
#24 3.577 [INFO] Total time: 2.058 s
#24 3.577 [INFO] Finished at: 2025-02-20T15:12:58Z
#24 3.577 [INFO] ------------------------------------------------------------------------
#24 3.577 [ERROR] Failed to execute goal com.mycila:license-maven-plugin:3.0:check (default) on project openmrs: Some files do not have the expected license header -> [Help 1]
#24 3.577 [ERROR]
#24 3.577 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#24 3.577 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#24 3.577 [ERROR]
#24 3.577 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#24 3.577 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#24 ERROR: process "/bin/sh -c mvn $MVN_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
------
> [linux/amd64 compile 15/15] RUN mvn -s /usr/share/maven/ref/settings-docker.xml clean install -DskipTests:
#24 3.577 [INFO] Total time: 2.058 s
#24 3.577 [INFO] Finished at: 2025-02-20T15:12:58Z
#24 3.577 [INFO] ------------------------------------------------------------------------
#24 3.577 [ERROR] Failed to execute goal com.mycila:license-maven-plugin:3.0:check (default) on project openmrs: Some files do not have the expected license header -> [Help 1]
#24 3.577 [ERROR]
#24 3.577 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#24 3.577 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#24 3.577 [ERROR]
#24 3.577 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#24 3.577 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
------
Dockerfile:49
--------------------
47 |
48 | # Build the project
49 | >>> RUN mvn $MVN_SETTINGS $MVN_ARGS
50 |
51 | ### Development Stage
--------------------
error: failed to solve: process "/bin/sh -c mvn $MVN_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1