Advertisement
niks1234

Untitled

Jan 4th, 2017
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.84 KB | None | 0 0
  1. [INFO] Scanning for projects...
  2. [INFO] ------------------------------------------------------------------------
  3. [INFO] Reactor Build Order:
  4. [INFO]
  5. [INFO] OpenMRS
  6. [INFO] openmrs-tools
  7. [INFO] openmrs-test
  8. [INFO] openmrs-api
  9. [INFO] openmrs-web
  10. [INFO] openmrs-webapp
  11. [INFO]
  12. [INFO] ------------------------------------------------------------------------
  13. [INFO] Building OpenMRS 2.1.0-SNAPSHOT
  14. [INFO] ------------------------------------------------------------------------
  15. [INFO]
  16. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs ---
  17. [INFO] Deleting C:\Users\Nikhil Kumar\workspacemars\openmrs-core-master\target
  18. [INFO]
  19. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs ---
  20. [INFO] Checking for local modifications: skipped.
  21. [INFO] Updating project files from SCM: skipped.
  22. [INFO] ShortRevision tag detected. The value is '6'.
  23. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  24. [INFO] Working directory: C:\Users\Nikhil Kumar\workspacemars\openmrs-core-master
  25. [INFO] Storing buildNumber: 0 at timestamp: 1483595151639
  26. [INFO] ShortRevision tag detected. The value is '6'.
  27. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  28. [INFO] Working directory: C:\Users\Nikhil Kumar\workspacemars\openmrs-core-master
  29. [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
  30. [INFO]
  31. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs ---
  32. [INFO]
  33. [INFO] --- maven-jar-plugin:2.3.2:test-jar (default) @ openmrs ---
  34. [WARNING] JAR will be empty - no content was marked for inclusion!
  35. [INFO] Building jar: C:\Users\Nikhil Kumar\workspacemars\openmrs-core-master\target\openmrs-2.1.0-SNAPSHOT-tests.jar
  36. [INFO]
  37. [INFO] --- license-maven-plugin:2.6:check (default) @ openmrs ---
  38. [INFO] Checking licenses...
  39. [INFO]
  40. [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs ---
  41. [INFO] Installing C:\Users\Nikhil Kumar\workspacemars\openmrs-core-master\pom.xml to C:\Users\Nikhil Kumar\.m2\repository\org\openmrs\openmrs\2.1.0-SNAPSHOT\openmrs-2.1.0-SNAPSHOT.pom
  42. [INFO] Installing C:\Users\Nikhil Kumar\workspacemars\openmrs-core-master\target\openmrs-2.1.0-SNAPSHOT-tests.jar to C:\Users\Nikhil Kumar\.m2\repository\org\openmrs\openmrs\2.1.0-SNAPSHOT\openmrs-2.1.0-SNAPSHOT-tests.jar
  43. [INFO]
  44. [INFO] ------------------------------------------------------------------------
  45. [INFO] Building openmrs-tools 2.1.0-SNAPSHOT
  46. [INFO] ------------------------------------------------------------------------
  47. [INFO]
  48. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-tools ---
  49. [INFO] Deleting C:\Users\Nikhil Kumar\workspacemars\openmrs-core-master\tools\target
  50. [INFO]
  51. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-tools ---
  52. [INFO]
  53. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-tools ---
  54. [INFO]
  55. [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-tools ---
  56. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  57. [INFO] Copying 7 resources
  58. [INFO]
  59. [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-tools ---
  60. [INFO] Compiling 1 source file to C:\Users\Nikhil Kumar\workspacemars\openmrs-core-master\tools\target\classes
  61. [INFO] -------------------------------------------------------------
  62. [ERROR] COMPILATION ERROR :
  63. [INFO] -------------------------------------------------------------
  64. [ERROR] Unable to locate the Javac Compiler in:
  65. C:\Program Files\Java\jre1.8.0_111\..\lib\tools.jar
  66. Please ensure you are using JDK 1.4 or above and
  67. not a JRE (the com.sun.tools.javac.Main class is required).
  68. In most cases you can change the location of your Java
  69. installation by setting the JAVA_HOME environment variable.
  70. [INFO] 1error
  71. [INFO] -------------------------------------------------------------
  72. [INFO] ------------------------------------------------------------------------
  73. [INFO] Reactor Summary:
  74. [INFO]
  75. [INFO] OpenMRS ............................................ SUCCESS [ 52.891 s]
  76. [INFO] openmrs-tools ...................................... FAILURE [ 9.551 s]
  77. [INFO] openmrs-test ....................................... SKIPPED
  78. [INFO] openmrs-api ........................................ SKIPPED
  79. [INFO] openmrs-web ........................................ SKIPPED
  80. [INFO] openmrs-webapp ..................................... SKIPPED
  81. [INFO] ------------------------------------------------------------------------
  82. [INFO] BUILD FAILURE
  83. [INFO] ------------------------------------------------------------------------
  84. [INFO] Total time: 01:03 min
  85. [INFO] Finished at: 2017-01-05T11:16:41+05:30
  86. [INFO] Final Memory: 11M/63M
  87. [INFO] ------------------------------------------------------------------------
  88. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1:compile (default-compile) on project openmrs-tools: Compilation failure
  89. [ERROR] Unable to locate the Javac Compiler in:
  90. [ERROR] C:\Program Files\Java\jre1.8.0_111\..\lib\tools.jar
  91. [ERROR] Please ensure you are using JDK 1.4 or above and
  92. [ERROR] not a JRE (the com.sun.tools.javac.Main class is required).
  93. [ERROR] In most cases you can change the location of your Java
  94. [ERROR] installation by setting the JAVA_HOME environment variable.
  95. [ERROR] -> [Help 1]
  96. [ERROR]
  97. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  98. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  99. [ERROR]
  100. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  101. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  102. [ERROR]
  103. [ERROR] After correcting the problems, you can resume the build with the command
  104. [ERROR] mvn <goals> -rf :openmrs-tools
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement