Deploys Reference Application SNAPSHOT to maven
Build: #13379 failed
Job: Build and push failed
Job result summary
- Completed
- Duration
- 1 minute
- Revision
-
d2c340bf499cd31874b5bcbd05c48b0a63f0d32a
- Fixed in
- #13380 (Scheduled)
Error summary
The build generated some errors. See the full build log for more details.
#0 2.988 [INFO]
#0 2.993 [INFO] ----------< org.openmrs.distro:referenceapplication-package >-----------
#0 2.993 [INFO] Building Reference Application Distribution Package 2.13.0-SNAPSHOT [2/2]
#0 2.994 [INFO] --------------------------------[ jar ]---------------------------------
#0 3.466 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/plugins/maven-jar-plugin/2.4/maven-jar-plugin-2.4.pom
#17 ...
#16 [linux/arm64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#16 15.34 [INFO] Scanning for projects...
#16 16.88 [WARNING]
#16 16.88 [WARNING] Some problems were encountered while building the effective model for org.openmrs.distro:referenceapplication-package:jar:2.13.0-SNAPSHOT
#16 16.88 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:dataexchange-omod:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.13.0-SNAPSHOT, /app/pom.xml, line 882, column 12
#16 16.88 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:allergyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.13.0-SNAPSHOT, /app/pom.xml, line 895, column 12
#16 16.89 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:formentryapp-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.13.0-SNAPSHOT, /app/pom.xml, line 915, column 12
#16 16.89 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:legacyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.13.0-SNAPSHOT, /app/pom.xml, line 989, column 12
#16 16.89 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:reportingcompatibility-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.13.0-SNAPSHOT, /app/pom.xml, line 1008, column 12
#16 16.89 [WARNING]
#16 16.89 [WARNING] Some problems were encountered while building the effective model for org.openmrs.distro:referenceapplication:pom:2.13.0-SNAPSHOT
#16 16.89 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:dataexchange-omod:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 882, column 12
#16 16.89 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:allergyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 895, column 12
#16 16.90 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:formentryapp-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 915, column 12
#16 16.90 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:legacyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 989, column 12
#16 16.90 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:reportingcompatibility-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 1008, column 12
#16 16.90 [WARNING]
#16 16.90 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
#16 16.90 [WARNING]
#16 16.90 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
#16 16.90 [WARNING]
#16 16.97 [INFO] ------------------------------------------------------------------------
#16 16.97 [INFO] Reactor Build Order:
#16 16.98 [INFO]
#16 17.00 [INFO] Reference Application Distribution [pom]
#16 17.00 [INFO] Reference Application Distribution Package [jar]
#16 17.09 [INFO]
#16 17.09 [INFO] --------------< org.openmrs.distro:referenceapplication >---------------
#16 17.09 [INFO] Building Reference Application Distribution 2.13.0-SNAPSHOT [1/2]
#16 17.09 [INFO] --------------------------------[ pom ]---------------------------------
#16 17.67 [INFO]
#16 17.67 [INFO] --- maven-install-plugin:2.4:install (default-install) @ referenceapplication ---
#16 18.80 [INFO] Installing /app/pom.xml to /usr/share/maven/ref/repository/org/openmrs/distro/referenceapplication/2.13.0-SNAPSHOT/referenceapplication-2.13.0-SNAPSHOT.pom
#16 18.95 [INFO]
#16 18.95 [INFO] ----------< org.openmrs.distro:referenceapplication-package >-----------
#16 18.95 [INFO] Building Reference Application Distribution Package 2.13.0-SNAPSHOT [2/2]
#16 18.96 [INFO] --------------------------------[ jar ]---------------------------------
#16 21.54 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/plugins/maven-jar-plugin/2.4/maven-jar-plugin-2.4.pom
#16 ...
#17 [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#17 23.58 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.4/maven-jar-plugin-2.4.pom
#17 ...
#16 [linux/arm64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#16 41.96 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.4/maven-jar-plugin-2.4.pom
#16 ...
#17 [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#17 43.60 [INFO] ------------------------------------------------------------------------
#17 43.60 [INFO] Reactor Summary for Reference Application Distribution 2.13.0-SNAPSHOT:
#17 43.60 [INFO]
#17 43.60 [INFO] Reference Application Distribution ................. SUCCESS [ 0.398 s]
#17 43.60 [INFO] Reference Application Distribution Package ......... FAILURE [ 40.609 s]
#17 43.60 [INFO] ------------------------------------------------------------------------
#17 43.60 [INFO] BUILD FAILURE
#17 43.61 [INFO] ------------------------------------------------------------------------
#17 43.61 [INFO] Total time: 41.221 s
#17 43.61 [INFO] Finished at: 2023-01-10T20:27:19Z
#17 43.61 [INFO] ------------------------------------------------------------------------
#17 43.61 [ERROR] Plugin org.apache.maven.plugins:maven-jar-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.4: Could not transfer artifact org.apache.maven.plugins:maven-jar-plugin:pom:2.4 from/to openmrs-repo (https://mavenrepo.openmrs.org/public): transfer failed for https://mavenrepo.openmrs.org/public/org/apache/maven/plugins/maven-jar-plugin/2.4/maven-jar-plugin-2.4.pom: Unknown host mavenrepo.openmrs.org: Temporary failure in name resolution -> [Help 1]
#17 43.61 [ERROR]
#17 43.61 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 43.61 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 43.62 [ERROR]
#17 43.62 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 43.62 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
#17 ERROR: process "/bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
#16 [linux/arm64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#16 CANCELED
------
> [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install:
#17 43.61 [INFO] Total time: 41.221 s
#17 43.61 [INFO] Finished at: 2023-01-10T20:27:19Z
#17 43.61 [INFO] ------------------------------------------------------------------------
#17 43.61 [ERROR] Plugin org.apache.maven.plugins:maven-jar-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.4: Could not transfer artifact org.apache.maven.plugins:maven-jar-plugin:pom:2.4 from/to openmrs-repo (https://mavenrepo.openmrs.org/public): transfer failed for https://mavenrepo.openmrs.org/public/org/apache/maven/plugins/maven-jar-plugin/2.4/maven-jar-plugin-2.4.pom: Unknown host mavenrepo.openmrs.org: Temporary failure in name resolution -> [Help 1]
#17 43.61 [ERROR]
#17 43.61 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 43.61 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 43.62 [ERROR]
#17 43.62 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 43.62 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
------
Dockerfile:14
--------------------
12 |
13 | # Build the distro
14 | >>> RUN mvn $MVN_ARGS_SETTINGS $MVN_ARGS
15 |
16 | ### Run Stage
--------------------
error: failed to solve: process "/bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
#0 2.993 [INFO] ----------< org.openmrs.distro:referenceapplication-package >-----------
#0 2.993 [INFO] Building Reference Application Distribution Package 2.13.0-SNAPSHOT [2/2]
#0 2.994 [INFO] --------------------------------[ jar ]---------------------------------
#0 3.466 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/plugins/maven-jar-plugin/2.4/maven-jar-plugin-2.4.pom
#17 ...
#16 [linux/arm64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#16 15.34 [INFO] Scanning for projects...
#16 16.88 [WARNING]
#16 16.88 [WARNING] Some problems were encountered while building the effective model for org.openmrs.distro:referenceapplication-package:jar:2.13.0-SNAPSHOT
#16 16.88 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:dataexchange-omod:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.13.0-SNAPSHOT, /app/pom.xml, line 882, column 12
#16 16.88 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:allergyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.13.0-SNAPSHOT, /app/pom.xml, line 895, column 12
#16 16.89 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:formentryapp-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.13.0-SNAPSHOT, /app/pom.xml, line 915, column 12
#16 16.89 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:legacyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.13.0-SNAPSHOT, /app/pom.xml, line 989, column 12
#16 16.89 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:reportingcompatibility-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.13.0-SNAPSHOT, /app/pom.xml, line 1008, column 12
#16 16.89 [WARNING]
#16 16.89 [WARNING] Some problems were encountered while building the effective model for org.openmrs.distro:referenceapplication:pom:2.13.0-SNAPSHOT
#16 16.89 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:dataexchange-omod:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 882, column 12
#16 16.89 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:allergyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 895, column 12
#16 16.90 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:formentryapp-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 915, column 12
#16 16.90 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:legacyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 989, column 12
#16 16.90 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:reportingcompatibility-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 1008, column 12
#16 16.90 [WARNING]
#16 16.90 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
#16 16.90 [WARNING]
#16 16.90 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
#16 16.90 [WARNING]
#16 16.97 [INFO] ------------------------------------------------------------------------
#16 16.97 [INFO] Reactor Build Order:
#16 16.98 [INFO]
#16 17.00 [INFO] Reference Application Distribution [pom]
#16 17.00 [INFO] Reference Application Distribution Package [jar]
#16 17.09 [INFO]
#16 17.09 [INFO] --------------< org.openmrs.distro:referenceapplication >---------------
#16 17.09 [INFO] Building Reference Application Distribution 2.13.0-SNAPSHOT [1/2]
#16 17.09 [INFO] --------------------------------[ pom ]---------------------------------
#16 17.67 [INFO]
#16 17.67 [INFO] --- maven-install-plugin:2.4:install (default-install) @ referenceapplication ---
#16 18.80 [INFO] Installing /app/pom.xml to /usr/share/maven/ref/repository/org/openmrs/distro/referenceapplication/2.13.0-SNAPSHOT/referenceapplication-2.13.0-SNAPSHOT.pom
#16 18.95 [INFO]
#16 18.95 [INFO] ----------< org.openmrs.distro:referenceapplication-package >-----------
#16 18.95 [INFO] Building Reference Application Distribution Package 2.13.0-SNAPSHOT [2/2]
#16 18.96 [INFO] --------------------------------[ jar ]---------------------------------
#16 21.54 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/plugins/maven-jar-plugin/2.4/maven-jar-plugin-2.4.pom
#16 ...
#17 [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#17 23.58 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.4/maven-jar-plugin-2.4.pom
#17 ...
#16 [linux/arm64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#16 41.96 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.4/maven-jar-plugin-2.4.pom
#16 ...
#17 [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#17 43.60 [INFO] ------------------------------------------------------------------------
#17 43.60 [INFO] Reactor Summary for Reference Application Distribution 2.13.0-SNAPSHOT:
#17 43.60 [INFO]
#17 43.60 [INFO] Reference Application Distribution ................. SUCCESS [ 0.398 s]
#17 43.60 [INFO] Reference Application Distribution Package ......... FAILURE [ 40.609 s]
#17 43.60 [INFO] ------------------------------------------------------------------------
#17 43.60 [INFO] BUILD FAILURE
#17 43.61 [INFO] ------------------------------------------------------------------------
#17 43.61 [INFO] Total time: 41.221 s
#17 43.61 [INFO] Finished at: 2023-01-10T20:27:19Z
#17 43.61 [INFO] ------------------------------------------------------------------------
#17 43.61 [ERROR] Plugin org.apache.maven.plugins:maven-jar-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.4: Could not transfer artifact org.apache.maven.plugins:maven-jar-plugin:pom:2.4 from/to openmrs-repo (https://mavenrepo.openmrs.org/public): transfer failed for https://mavenrepo.openmrs.org/public/org/apache/maven/plugins/maven-jar-plugin/2.4/maven-jar-plugin-2.4.pom: Unknown host mavenrepo.openmrs.org: Temporary failure in name resolution -> [Help 1]
#17 43.61 [ERROR]
#17 43.61 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 43.61 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 43.62 [ERROR]
#17 43.62 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 43.62 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
#17 ERROR: process "/bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
#16 [linux/arm64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#16 CANCELED
------
> [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install:
#17 43.61 [INFO] Total time: 41.221 s
#17 43.61 [INFO] Finished at: 2023-01-10T20:27:19Z
#17 43.61 [INFO] ------------------------------------------------------------------------
#17 43.61 [ERROR] Plugin org.apache.maven.plugins:maven-jar-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.4: Could not transfer artifact org.apache.maven.plugins:maven-jar-plugin:pom:2.4 from/to openmrs-repo (https://mavenrepo.openmrs.org/public): transfer failed for https://mavenrepo.openmrs.org/public/org/apache/maven/plugins/maven-jar-plugin/2.4/maven-jar-plugin-2.4.pom: Unknown host mavenrepo.openmrs.org: Temporary failure in name resolution -> [Help 1]
#17 43.61 [ERROR]
#17 43.61 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 43.61 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 43.62 [ERROR]
#17 43.62 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 43.62 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
------
Dockerfile:14
--------------------
12 |
13 | # Build the distro
14 | >>> RUN mvn $MVN_ARGS_SETTINGS $MVN_ARGS
15 |
16 | ### Run Stage
--------------------
error: failed to solve: process "/bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1