Advertisement
Guest User

Untitled

a guest
Feb 8th, 2021
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.48 KB | None | 0 0
  1. sharif@sharif:~/Documents/Ticket/openmrs-distro-referenceapplication$ mvn clean install
  2. [INFO] Scanning for projects...
  3. [WARNING]
  4. [WARNING] Some problems were encountered while building the effective model for org.openmrs.distro:referenceapplication-package:jar:2.12.0-SNAPSHOT
  5. [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.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 834, column 12
  6. [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.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 847, column 12
  7. [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.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 867, column 12
  8. [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.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 934, column 12
  9. [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.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 953, column 12
  10. [WARNING]
  11. [WARNING] Some problems were encountered while building the effective model for org.openmrs.distro:referenceapplication-ui-tests:jar:2.12.0-SNAPSHOT
  12. [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 103, column 21
  13. [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.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 834, column 12
  14. [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.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 847, column 12
  15. [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.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 867, column 12
  16. [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.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 934, column 12
  17. [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.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 953, column 12
  18. [WARNING]
  19. [WARNING] Some problems were encountered while building the effective model for org.openmrs.distro:referenceapplication:pom:2.12.0-SNAPSHOT
  20. [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 834, column 12
  21. [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 847, column 12
  22. [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 867, column 12
  23. [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 934, column 12
  24. [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 953, column 12
  25. [WARNING]
  26. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  27. [WARNING]
  28. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  29. [WARNING]
  30. [INFO] ------------------------------------------------------------------------
  31. [INFO] Reactor Build Order:
  32. [INFO]
  33. [INFO] Reference Application Distribution [pom]
  34. [INFO] Reference Application Distribution Package [jar]
  35. [INFO] Reference Application Distribution UI Tests [jar]
  36. [INFO]
  37. [INFO] --------------< org.openmrs.distro:referenceapplication >---------------
  38. [INFO] Building Reference Application Distribution 2.12.0-SNAPSHOT [1/3]
  39. [INFO] --------------------------------[ pom ]---------------------------------
  40. [INFO]
  41. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ referenceapplication ---
  42. [INFO]
  43. [INFO] --- maven-install-plugin:2.4:install (default-install) @ referenceapplication ---
  44. [INFO] Installing /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml to /home/sharif/.m2/repository/org/openmrs/distro/referenceapplication/2.12.0-SNAPSHOT/referenceapplication-2.12.0-SNAPSHOT.pom
  45. [INFO]
  46. [INFO] ----------< org.openmrs.distro:referenceapplication-package >-----------
  47. [INFO] Building Reference Application Distribution Package 2.12.0-SNAPSHOT [2/3]
  48. [INFO] --------------------------------[ jar ]---------------------------------
  49. [INFO]
  50. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ referenceapplication-package ---
  51. [INFO] Deleting /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/package/target
  52. [INFO]
  53. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ referenceapplication-package ---
  54. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  55. [INFO] Copying 1 resource
  56. [INFO] Copying 2 resources
  57. [INFO] skip non existing resourceDirectory /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/package/src/main/webapp
  58. [INFO]
  59. [INFO] --- openmrs-sdk-maven-plugin:3.12.4:build-distro (build-distro) @ referenceapplication-package ---
  60.  
  61. Downloading modules...
  62.  
  63. [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.4.0:war
  64. [INFO] Copying openmrs-webapp-2.4.0.war to /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/package/target/distro/web/openmrs-2.4.0.war
  65. file:/home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/package/target/distro/web/openmrs-2.4.0.war
  66. target:/home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/package/target/distro/web
  67. [INFO] Configured Artifact: org.openmrs.module:addresshierarchy-omod:2.14.2:jar
  68. [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:1.8.2-SNAPSHOT:jar
  69. [INFO] Configured Artifact: org.openmrs.module:metadatadeploy-omod:1.12.1:jar
  70. [INFO] Configured Artifact: org.openmrs.module:reportingrest-omod:1.11.0:jar
  71. [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.12.0:jar
  72. [INFO] Configured Artifact: org.openmrs.module:fhir2-omod:1.1.0:jar
  73. [INFO] Configured Artifact: org.openmrs.module:serialization.xstream-omod:0.2.14:omod
  74. [INFO] Configured Artifact: org.openmrs.module:registrationapp-omod:1.22.0:jar
  75. [INFO] ------------------------------------------------------------------------
  76. [INFO] Reactor Summary for Reference Application Distribution 2.12.0-SNAPSHOT:
  77. [INFO]
  78. [INFO] Reference Application Distribution ................. SUCCESS [ 0.353 s]
  79. [INFO] Reference Application Distribution Package ......... FAILURE [ 3.175 s]
  80. [INFO] Reference Application Distribution UI Tests ........ SKIPPED
  81. [INFO] ------------------------------------------------------------------------
  82. [INFO] BUILD FAILURE
  83. [INFO] ------------------------------------------------------------------------
  84. [INFO] Total time: 3.764 s
  85. [INFO] Finished at: 2021-02-08T21:03:04+03:00
  86. [INFO] ------------------------------------------------------------------------
  87. [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.12.4:build-distro (build-distro) on project referenceapplication-package: Unable to execute mojo: Unable to find artifact. Failure to find org.openmrs.module:registrationapp-omod:jar:1.22.0 in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced
  88. [ERROR]
  89. [ERROR] Try downloading the file manually from the project website.
  90. [ERROR]
  91. [ERROR] Then, install it using the command:
  92. [ERROR] mvn install:install-file -DgroupId=org.openmrs.module -DartifactId=registrationapp-omod -Dversion=1.22.0 -Dpackaging=jar -Dfile=/path/to/file
  93. [ERROR]
  94. [ERROR] Alternatively, if you host your own repository you can deploy the file there:
  95. [ERROR] mvn deploy:deploy-file -DgroupId=org.openmrs.module -DartifactId=registrationapp-omod -Dversion=1.22.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  96. [ERROR]
  97. [ERROR]
  98. [ERROR] org.openmrs.module:registrationapp-omod:jar:1.22.0
  99. [ERROR]
  100. [ERROR] from the specified remote repositories:
  101. [ERROR] openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public, releases=true, snapshots=true),
  102. [ERROR] archetype (http://mavenrepo.openmrs.org/nexus/content/repositories/public, releases=true, snapshots=true),
  103. [ERROR] openmrs-repo-thirdparty (http://mavenrepo.openmrs.org/nexus/content/repositories/thirdparty, releases=true, snapshots=true),
  104. [ERROR] openmrs-bintray-repo (https://dl.bintray.com/openmrs/maven/, releases=true, snapshots=true),
  105. [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
  106. [ERROR] -> [Help 1]
  107. [ERROR]
  108. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  109. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  110. [ERROR]
  111. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  112. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  113. [ERROR]
  114. [ERROR] After correcting the problems, you can resume the build with the command
  115. [ERROR] mvn <args> -rf :referenceapplication-package
  116. sharif@sharif:~/Documents/Ticket/openmrs-distro-referenceapplication$
  117.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement