settix

sdk setup failure

May 4th, 2021
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.33 KB | None | 0 0
  1. Windows PowerShell
  2. Copyright (C) Microsoft Corporation. All rights reserved.
  3.  
  4. Try the new cross-platform PowerShell https://aka.ms/pscore6
  5.  
  6. PS C:\Users\DELL> del C:\Users\DELL\.m2\settings.xml
  7. PS C:\Users\DELL> mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.0.0:setup-sdk
  8. [INFO] Scanning for projects...
  9. Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/4.0.0/openmrs-sdk-maven-plugin-4.0.0.pom
  10. [WARNING] The POM for org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:jar:4.0.0 is missing, no dependency information available
  11. Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/4.0.0/openmrs-sdk-maven-plugin-4.0.0.jar
  12. [INFO] ------------------------------------------------------------------------
  13. [INFO] BUILD FAILURE
  14. [INFO] ------------------------------------------------------------------------
  15. [INFO] Total time: 3.689 s
  16. [INFO] Finished at: 2021-05-04T20:10:05+03:00
  17. [INFO] ------------------------------------------------------------------------
  18. [ERROR] Plugin org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.0.0 or one of its dependencies could not be resolved: Could not find artifact org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:jar:4.0.0 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
  19. [ERROR]
  20. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  21. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  22. [ERROR]
  23. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  24. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
  25. PS C:\Users\DELL> mvn -X
  26. Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
  27. Maven home: C:\Users\DELL\Downloads\apache-maven-3.8.1-bin\apache-maven-3.8.1\bin\..
  28. Java version: 1.8.0_281, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_281\jre
  29. Default locale: en_US, platform encoding: Cp1252
  30. OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
  31. [DEBUG] Created new class realm maven.api
  32. [DEBUG] Importing foreign packages into class realm maven.api
  33. [DEBUG] Imported: javax.annotation.* < plexus.core
  34. [DEBUG] Imported: javax.annotation.security.* < plexus.core
  35. [DEBUG] Imported: javax.enterprise.inject.* < plexus.core
  36. [DEBUG] Imported: javax.enterprise.util.* < plexus.core
  37. [DEBUG] Imported: javax.inject.* < plexus.core
  38. [DEBUG] Imported: org.apache.maven.* < plexus.core
  39. [DEBUG] Imported: org.apache.maven.artifact < plexus.core
  40. [DEBUG] Imported: org.apache.maven.classrealm < plexus.core
  41. [DEBUG] Imported: org.apache.maven.cli < plexus.core
  42. [DEBUG] Imported: org.apache.maven.configuration < plexus.core
  43. [DEBUG] Imported: org.apache.maven.exception < plexus.core
  44. [DEBUG] Imported: org.apache.maven.execution < plexus.core
  45. [DEBUG] Imported: org.apache.maven.execution.scope < plexus.core
  46. [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core
  47. [DEBUG] Imported: org.apache.maven.model < plexus.core
  48. [DEBUG] Imported: org.apache.maven.monitor < plexus.core
  49. [DEBUG] Imported: org.apache.maven.plugin < plexus.core
  50. [DEBUG] Imported: org.apache.maven.profiles < plexus.core
  51. [DEBUG] Imported: org.apache.maven.project < plexus.core
  52. [DEBUG] Imported: org.apache.maven.reporting < plexus.core
  53. [DEBUG] Imported: org.apache.maven.repository < plexus.core
  54. [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core
  55. [DEBUG] Imported: org.apache.maven.settings < plexus.core
  56. [DEBUG] Imported: org.apache.maven.toolchain < plexus.core
  57. [DEBUG] Imported: org.apache.maven.usability < plexus.core
  58. [DEBUG] Imported: org.apache.maven.wagon.* < plexus.core
  59. [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core
  60. [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core
  61. [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core
  62. [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core
  63. [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core
  64. [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core
  65. [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core
  66. [DEBUG] Imported: org.codehaus.classworlds < plexus.core
  67. [DEBUG] Imported: org.codehaus.plexus.* < plexus.core
  68. [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core
  69. [DEBUG] Imported: org.codehaus.plexus.component < plexus.core
  70. [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core
  71. [DEBUG] Imported: org.codehaus.plexus.container < plexus.core
  72. [DEBUG] Imported: org.codehaus.plexus.context < plexus.core
  73. [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core
  74. [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core
  75. [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core
  76. [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
  77. [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
  78. [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
  79. [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
  80. [DEBUG] Imported: org.eclipse.aether.* < plexus.core
  81. [DEBUG] Imported: org.eclipse.aether.artifact < plexus.core
  82. [DEBUG] Imported: org.eclipse.aether.collection < plexus.core
  83. [DEBUG] Imported: org.eclipse.aether.deployment < plexus.core
  84. [DEBUG] Imported: org.eclipse.aether.graph < plexus.core
  85. [DEBUG] Imported: org.eclipse.aether.impl < plexus.core
  86. [DEBUG] Imported: org.eclipse.aether.installation < plexus.core
  87. [DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core
  88. [DEBUG] Imported: org.eclipse.aether.metadata < plexus.core
  89. [DEBUG] Imported: org.eclipse.aether.repository < plexus.core
  90. [DEBUG] Imported: org.eclipse.aether.resolution < plexus.core
  91. [DEBUG] Imported: org.eclipse.aether.spi < plexus.core
  92. [DEBUG] Imported: org.eclipse.aether.transfer < plexus.core
  93. [DEBUG] Imported: org.eclipse.aether.version < plexus.core
  94. [DEBUG] Imported: org.fusesource.jansi.* < plexus.core
  95. [DEBUG] Imported: org.slf4j.* < plexus.core
  96. [DEBUG] Imported: org.slf4j.event.* < plexus.core
  97. [DEBUG] Imported: org.slf4j.helpers.* < plexus.core
  98. [DEBUG] Imported: org.slf4j.spi.* < plexus.core
  99. [DEBUG] Populating class realm maven.api
  100. [INFO] Error stacktraces are turned on.
  101. [DEBUG] Message scheme: color
  102. [DEBUG] Message styles: debug info warning error success failure strong mojo project
  103. [DEBUG] Reading global settings from C:\Users\DELL\Downloads\apache-maven-3.8.1-bin\apache-maven-3.8.1\bin\..\conf\settings.xml
  104. [DEBUG] Reading user settings from C:\Users\DELL\.m2\settings.xml
  105. [DEBUG] Reading global toolchains from C:\Users\DELL\Downloads\apache-maven-3.8.1-bin\apache-maven-3.8.1\bin\..\conf\toolchains.xml
  106. [DEBUG] Reading user toolchains from C:\Users\DELL\.m2\toolchains.xml
  107. [DEBUG] Using local repository at C:\Users\DELL\.m2\repository
  108. [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\DELL\.m2\repository
  109. [INFO] Scanning for projects...
  110. [DEBUG] Extension realms for project org.apache.maven:standalone-pom:pom:1: (none)
  111. [DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
  112. [INFO] ------------------------------------------------------------------------
  113. [INFO] BUILD FAILURE
  114. [INFO] ------------------------------------------------------------------------
  115. [INFO] Total time: 0.132 s
  116. [INFO] Finished at: 2021-05-04T20:11:47+03:00
  117. [INFO] ------------------------------------------------------------------------
  118. [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
  119. org.apache.maven.lifecycle.NoGoalSpecifiedException: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy.
  120. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:97)
  121. at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
  122. at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
  123. at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
  124. at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
  125. at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
  126. at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
  127. at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
  128. at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
  129. at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
  130. at java.lang.reflect.Method.invoke (Method.java:498)
  131. at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
  132. at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
  133. at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
  134. at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
  135. [ERROR]
  136. [ERROR]
  137. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  138. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException
  139. PS C:\Users\DELL>
Add Comment
Please, Sign In to add comment