Advertisement
Guest User

Untitled

a guest
Jan 27th, 2012
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.05 KB | None | 0 0
  1. [INFO] Scanning for projects...
  2. [WARNING]
  3. [WARNING] Some problems were encountered while building the effective model for org.openmrs.tools:openmrs-tools:jar:1.10.0-SNAPSHOT
  4. [WARNING] 'profiles.profile[default-profile].dependencies.dependency.systemPath' for com.sun:tools:jar should use a variable instead of a hard-coded path C:\Program Files\Java\jdk1.6.0_30\lib\tools.jar @ line 29, column 33
  5. [WARNING]
  6. [WARNING] Some problems were encountered while building the effective model for org.openmrs:openmrs-release-test:jar:1.10.0-SNAPSHOT
  7. [WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead.
  8. [WARNING]
  9. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  10. [WARNING]
  11. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  12. [WARNING]
  13. [INFO] ------------------------------------------------------------------------
  14. [INFO] Reactor Build Order:
  15. [INFO]
  16. [INFO] OpenMRS
  17. [INFO] openmrs-tools
  18. [INFO] openmrs-test
  19. [INFO] openmrs-api
  20. [INFO] openmrs-web
  21. [INFO] openmrs-webapp
  22. [INFO] openmrs-release-test
  23. [INFO]
  24. [INFO] ------------------------------------------------------------------------
  25. [INFO] Building OpenMRS 1.10.0-SNAPSHOT
  26. [INFO] ------------------------------------------------------------------------
  27. [INFO]
  28. [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ openmrs ---
  29. [INFO]
  30. [INFO] --- buildnumber-maven-plugin:1.0:create (default) @ openmrs ---
  31. SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  32. SLF4J: Defaulting to no-operation (NOP) logger implementation
  33. SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  34. [INFO] Change the default 'svn' provider implementation to 'javasvn'.
  35. [INFO] Checking for local modifications: skipped.
  36. [INFO] Updating project files from SCM: skipped.
  37. [INFO] Storing buildNumber: 25588 at timestamp: 1327675356437
  38. [INFO] Storing buildScmBranch: trunk
  39. [INFO]
  40. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs ---
  41. [INFO]
  42. [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ openmrs ---
  43. [INFO] Installing C:\Documents and Settings\Zanifa\workspace\openmrs\pom.xml to C:\Documents and Settings\Zanifa\.m2\repository\org\openmrs\openmrs\1.10.0-SNAPSHOT\openmrs-1.10.0-SNAPSHOT.pom
  44. [INFO]
  45. [INFO] ------------------------------------------------------------------------
  46. [INFO] Building openmrs-tools 1.10.0-SNAPSHOT
  47. [INFO] ------------------------------------------------------------------------
  48. [INFO]
  49. [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ openmrs-tools ---
  50. [INFO] Deleting C:\Documents and Settings\Zanifa\workspace\openmrs\tools\target
  51. [INFO]
  52. [INFO] --- buildnumber-maven-plugin:1.0:create (default) @ openmrs-tools ---
  53. [INFO] Change the default 'svn' provider implementation to 'javasvn'.
  54. [INFO]
  55. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-tools ---
  56. [INFO]
  57. [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-tools ---
  58. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  59. [INFO] Copying 6 resources
  60. [INFO]
  61. [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-tools ---
  62. [INFO] Compiling 1 source file to C:\Documents and Settings\Zanifa\workspace\openmrs\tools\target\classes
  63. [INFO] -------------------------------------------------------------
  64. [ERROR] COMPILATION ERROR :
  65. [INFO] -------------------------------------------------------------
  66. [ERROR] Unable to locate the Javac Compiler in:
  67. C:\Program Files\Java\jre6\..\lib\tools.jar
  68. Please ensure you are using JDK 1.4 or above and
  69. not a JRE (the com.sun.tools.javac.Main class is required).
  70. In most cases you can change the location of your Java
  71. installation by setting the JAVA_HOME environment variable.
  72. [INFO] 1error
  73. [INFO] -------------------------------------------------------------
  74. [INFO] ------------------------------------------------------------------------
  75. [INFO] Reactor Summary:
  76. [INFO]
  77. [INFO] OpenMRS ........................................... SUCCESS [8.812s]
  78. [INFO] openmrs-tools ..................................... FAILURE [2.657s]
  79. [INFO] openmrs-test ...................................... SKIPPED
  80. [INFO] openmrs-api ....................................... SKIPPED
  81. [INFO] openmrs-web ....................................... SKIPPED
  82. [INFO] openmrs-webapp .................................... SKIPPED
  83. [INFO] openmrs-release-test .............................. SKIPPED
  84. [INFO] ------------------------------------------------------------------------
  85. [INFO] BUILD FAILURE
  86. [INFO] ------------------------------------------------------------------------
  87. [INFO] Total time: 12.032s
  88. [INFO] Finished at: Fri Jan 27 14:42:43 GMT 2012
  89. [INFO] Final Memory: 8M/20M
  90. [INFO] ------------------------------------------------------------------------
  91. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1:compile (default-compile) on project openmrs-tools: Compilation failure
  92. [ERROR] Unable to locate the Javac Compiler in:
  93. [ERROR] C:\Program Files\Java\jre6\..\lib\tools.jar
  94. [ERROR] Please ensure you are using JDK 1.4 or above and
  95. [ERROR] not a JRE (the com.sun.tools.javac.Main class is required).
  96. [ERROR] In most cases you can change the location of your Java
  97. [ERROR] installation by setting the JAVA_HOME environment variable.
  98. [ERROR] -> [Help 1]
  99. [ERROR]
  100. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  101. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  102. [ERROR]
  103. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  104. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  105. [ERROR]
  106. [ERROR] After correcting the problems, you can resume the build with the command
  107. [ERROR] mvn <goals> -rf :openmrs-tools
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement