Guest User

openmrs sdk error

a guest
Jul 3rd, 2019
38
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.81 KB | None
  1. C02X5KQZJG5H:openmrs_sdk kshetty$ ls
  2. openmrs-distro.properties
  3. C02X5KQZJG5H:openmrs_sdk kshetty$ mvn openmrs-sdk:setup -Ddistro=path-to-distro-file\openmrs-distro.properties -e
  4. [INFO] Error stacktraces are turned on.
  5. [INFO] Scanning for projects...
  6. [INFO]
  7. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  8. [INFO] Building Maven Stub Project (No POM) 1
  9. [INFO] --------------------------------[ pom ]---------------------------------
  10. [INFO]
  11. [INFO] --- openmrs-sdk-maven-plugin:3.13.2:setup (default-cli) @ standalone-pom ---
  12.  
  13. Setting up a new server...
  14.  
  15. Specify server id (-DserverId) (default: 'server'): bliss1
  16. [INFO] ------------------------------------------------------------------------
  17. [INFO] BUILD FAILURE
  18. [INFO] ------------------------------------------------------------------------
  19. [INFO] Total time: 5.210 s
  20. [INFO] Finished at: 2019-07-04T00:30:03+05:30
  21. [INFO] ------------------------------------------------------------------------
  22. [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.13.2:setup (default-cli) on project standalone-pom: Execution default-cli of goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.13.2:setup failed: -1 -> [Help 1]
  23. org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.13.2:setup (default-cli) on project standalone-pom: Execution default-cli of goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.13.2:setup failed: -1
  24. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
  25. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
  26. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
  27. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
  28. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
  29. at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
  30. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
  31. at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
  32. at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
  33. at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
  34. at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
  35. at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
  36. at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
  37. at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
  38. at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
  39. at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
  40. at java.lang.reflect.Method.invoke (Method.java:498)
  41. at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
  42. at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
  43. at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
  44. at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
  45. Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.13.2:setup failed: -1
  46. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148)
  47. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
  48. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
  49. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
  50. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
  51. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
  52. at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
  53. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
  54. at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
  55. at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
  56. at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
  57. at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
  58. at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
  59. at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
  60. at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
  61. at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
  62. at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
  63. at java.lang.reflect.Method.invoke (Method.java:498)
  64. at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
  65. at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
  66. at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
  67. at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
  68. Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
  69. at org.openmrs.maven.plugins.utility.DistroHelper.parseDistroArtifact (DistroHelper.java:122)
  70. at org.openmrs.maven.plugins.utility.DistroHelper.retrieveDistroProperties (DistroHelper.java:274)
  71. at org.openmrs.maven.plugins.Setup.executeTask (Setup.java:620)
  72. at org.openmrs.maven.plugins.AbstractTask.execute (AbstractTask.java:191)
  73. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
  74. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
  75. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
  76. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
  77. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
  78. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
  79. at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
  80. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
  81. at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
  82. at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
  83. at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
  84. at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
  85. at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
  86. at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
  87. at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
  88. at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
  89. at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
  90. at java.lang.reflect.Method.invoke (Method.java:498)
  91. at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
  92. at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
  93. at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
  94. at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
  95. [ERROR]
  96. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  97. [ERROR]
  98. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  99. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
RAW Paste Data Copied