Advertisement
Guest User

Untitled

a guest
Nov 8th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.61 KB | None | 0 0
  1. kiiza@kiiza-Extensa-5635Z:~/openmrs/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.7.0-SNAPSHOT
  5. [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.openmrs.module:sysadmin-api:jar -> duplicate declaration of version ${sysadminVersion} @ org.openmrs.distro:referenceapplication:2.7.0-SNAPSHOT, /home/kiiza/openmrs/openmrs-distro-referenceapplication/pom.xml, line 403, column 16
  6. [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.openmrs.module:addresshierarchy-api:jar -> duplicate declaration of version ${addresshierarchyVersion} @ org.openmrs.distro:referenceapplication:2.7.0-SNAPSHOT, /home/kiiza/openmrs/openmrs-distro-referenceapplication/pom.xml, line 409, column 16
  7. [WARNING]
  8. [WARNING] Some problems were encountered while building the effective model for org.openmrs.distro:referenceapplication-ui-tests:jar:2.7.0-SNAPSHOT
  9. [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 102, column 21
  10. [WARNING]
  11. [WARNING] Some problems were encountered while building the effective model for org.openmrs.distro:referenceapplication:pom:2.7.0-SNAPSHOT
  12. [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.openmrs.module:sysadmin-api:jar -> duplicate declaration of version ${sysadminVersion} @ line 403, column 16
  13. [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.openmrs.module:addresshierarchy-api:jar -> duplicate declaration of version ${addresshierarchyVersion} @ line 409, column 16
  14. [WARNING]
  15. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  16. [WARNING]
  17. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  18. [WARNING]
  19. [INFO] ------------------------------------------------------------------------
  20. [INFO] Reactor Build Order:
  21. [INFO]
  22. [INFO] Reference Application Distribution
  23. [INFO] Reference Application Distribution Package
  24. [INFO] Reference Application Distribution UI Tests
  25. [INFO]
  26. [INFO] ------------------------------------------------------------------------
  27. [INFO] Building Reference Application Distribution 2.7.0-SNAPSHOT
  28. [INFO] ------------------------------------------------------------------------
  29. [INFO]
  30. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ referenceapplication ---
  31. [INFO]
  32. [INFO] --- maven-install-plugin:2.3:install (default-install) @ referenceapplication ---
  33. [INFO] Installing /home/kiiza/openmrs/openmrs-distro-referenceapplication/pom.xml to /home/kiiza/.m2/repository/org/openmrs/distro/referenceapplication/2.7.0-SNAPSHOT/referenceapplication-2.7.0-SNAPSHOT.pom
  34. [INFO]
  35. [INFO] ------------------------------------------------------------------------
  36. [INFO] Building Reference Application Distribution Package 2.7.0-SNAPSHOT
  37. [INFO] ------------------------------------------------------------------------
  38. [INFO]
  39. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ referenceapplication-package ---
  40. [INFO] Deleting /home/kiiza/openmrs/openmrs-distro-referenceapplication/package/target
  41. [INFO]
  42. [INFO] --- openmrs-sdk-maven-plugin:3.9.0:build-distro (build-distro) @ referenceapplication-package ---
  43.  
  44. Downloading modules...
  45.  
  46. [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.0.5:war
  47. [INFO] Copying openmrs-webapp-2.0.5.war to /home/kiiza/openmrs/openmrs-distro-referenceapplication/package/target/distro/web/openmrs-2.0.5.war
  48. file:/home/kiiza/openmrs/openmrs-distro-referenceapplication/package/target/distro/web/openmrs-2.0.5.war
  49. target:/home/kiiza/openmrs/openmrs-distro-referenceapplication/package/target/distro/web
  50. [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:1.3.3:jar
  51. [INFO] Configured Artifact: org.openmrs.module:metadatadeploy-omod:1.9.0:jar
  52. [INFO] Configured Artifact: org.openmrs.module:reportingrest-omod:1.9.0:jar
  53. [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.8.0:jar
  54. [INFO] Configured Artifact: org.openmrs.module:serialization.xstream-omod:0.2.13:omod
  55. [INFO] Configured Artifact: org.openmrs.module:registrationapp-omod:1.10.0:jar
  56. [INFO] Configured Artifact: org.openmrs:event-omod:2.6.0:jar
  57. [INFO] Configured Artifact: org.openmrs.module:uilibrary-omod:2.0.6:jar
  58. [INFO] Configured Artifact: org.openmrs.module:htmlwidgets-omod:1.9.0:jar
  59. [INFO] Configured Artifact: org.openmrs.module:dataexchange-omod:1.3.2:jar
  60. [INFO] Configured Artifact: org.openmrs.module:appui-omod:1.8.0:jar
  61. [INFO] Configured Artifact: org.openmrs.module:allergyui-omod:1.8.0:jar
  62. [INFO] Configured Artifact: org.openmrs.module:providermanagement-omod:2.9.0:jar
  63. [INFO] Configured Artifact: org.openmrs.module:appointmentschedulingui-omod:1.6.1:jar
  64. [INFO] Configured Artifact: org.openmrs.module:formentryapp-omod:1.4.2:jar
  65. [INFO] Configured Artifact: org.openmrs.module:idgen-omod:4.4.1:jar
  66. [INFO] Configured Artifact: org.openmrs.module:metadatamapping-omod:1.3.3:jar
  67. [INFO] Configured Artifact: org.openmrs.module:chartsearch-omod:2.1.0:jar
  68. [INFO] Configured Artifact: org.openmrs.module:htmlformentryui-omod:1.6.4:jar
  69. [INFO] Configured Artifact: org.openmrs.module:referencedemodata-omod:1.4.3:jar
  70. [INFO] Configured Artifact: org.openmrs.module:emrapi-omod:1.23.0:jar
  71. [INFO] Configured Artifact: org.openmrs.module:referenceapplication-omod:2.6.0:jar
  72. [INFO] Configured Artifact: org.openmrs.module:htmlformentry-omod:3.4.0:jar
  73. [INFO] Configured Artifact: org.openmrs.module:appframework-omod:2.10.0:jar
  74. [INFO] Configured Artifact: org.openmrs.module:referencemetadata-omod:2.7.0:jar
  75. [INFO] Configured Artifact: org.openmrs.module:reportingui-omod:1.5.0:jar
  76. [INFO] Configured Artifact: org.openmrs.module:coreapps-omod:1.17.0:jar
  77. [INFO] Configured Artifact: org.openmrs.module:reportingcompatibility-omod:2.0.4:jar
  78. [INFO] Configured Artifact: org.openmrs.module:reporting-omod:1.15.0:jar
  79. [INFO] Configured Artifact: org.openmrs.module:adminui-omod:1.2.2:jar
  80. [INFO] Configured Artifact: org.openmrs.module:registrationcore-omod:1.8.0:jar
  81. [INFO] Configured Artifact: org.openmrs.module:appointmentscheduling-omod:1.8.0:jar
  82. [INFO] Configured Artifact: org.openmrs.module:calculation-omod:1.2:jar
  83. [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.21.0:jar
  84. [INFO] Configured Artifact: org.openmrs.module:atlas-omod:2.2:omod
  85. [INFO] Configured Artifact: org.openmrs.module:uicommons-omod:2.4.0:jar
  86. [INFO] Configured Artifact: org.openmrs.module:uiframework-omod:2.2.0:jar
  87. [INFO] ------------------------------------------------------------------------
  88. [INFO] Reactor Summary:
  89. [INFO]
  90. [INFO] Reference Application Distribution ................ SUCCESS [1.038s]
  91. [INFO] Reference Application Distribution Package ........ FAILURE [4.586s]
  92. [INFO] Reference Application Distribution UI Tests ....... SKIPPED
  93. [INFO] ------------------------------------------------------------------------
  94. [INFO] BUILD FAILURE
  95. [INFO] ------------------------------------------------------------------------
  96. [INFO] Total time: 6.186s
  97. [INFO] Finished at: Wed Nov 08 16:21:44 EAT 2017
  98. [INFO] Final Memory: 22M/257M
  99. [INFO] ------------------------------------------------------------------------
  100. [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.9.0:build-distro (build-distro) on project referenceapplication-package: Unable to execute mojo: Unable to find artifact. Failure to find org.openmrs.module:uiframework-omod:jar:2.2.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
  101. [ERROR]
  102. [ERROR] Try downloading the file manually from the project website.
  103. [ERROR]
  104. [ERROR] Then, install it using the command:
  105. [ERROR] mvn install:install-file -DgroupId=org.openmrs.module -DartifactId=uiframework-omod -Dversion=2.2.0 -Dpackaging=jar -Dfile=/path/to/file
  106. [ERROR]
  107. [ERROR] Alternatively, if you host your own repository you can deploy the file there:
  108. [ERROR] mvn deploy:deploy-file -DgroupId=org.openmrs.module -DartifactId=uiframework-omod -Dversion=2.2.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  109. [ERROR]
  110. [ERROR]
  111. [ERROR] org.openmrs.module:uiframework-omod:jar:2.2.0
  112. [ERROR]
  113. [ERROR] from the specified remote repositories:
  114. [ERROR] openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public, releases=true, snapshots=true),
  115. [ERROR] openmrs-repo-thirdparty (http://mavenrepo.openmrs.org/nexus/content/repositories/thirdparty, releases=true, snapshots=true),
  116. [ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)
  117. [ERROR] -> [Help 1]
  118. [ERROR]
  119. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  120. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  121. [ERROR]
  122. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  123. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  124. [ERROR]
  125. [ERROR] After correcting the problems, you can resume the build with the command
  126. [ERROR] mvn <goals> -rf :referenceapplication-package
  127. kiiza@kiiza-Extensa-5635Z:~/openmrs/openmrs-distro-referenceapplication$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement