Advertisement
Guest User

Build Failure: referencemetadata module

a guest
Apr 27th, 2016
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5.05 KB | None | 0 0
  1. $ mvn clean install -DskipTests
  2. [INFO] Scanning for projects...
  3. [WARNING]
  4. [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:referencemetadata-omod:jar:2.3.1
  5. [WARNING] 'build.plugins.plugin.version' for org.openmrs.maven.plugins:maven-openmrs-plugin is missing. @ org.openmrs.module:referencemetadata-omod:[unknown-version], E:\OpenMRS\modules\openmrs-module-referencemetadata-referencemetadata-2.3.1\omod\pom.xml, line 50, column 12
  6. [WARNING]
  7. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  8. [WARNING]
  9. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  10. [WARNING]
  11. [INFO] ------------------------------------------------------------------------
  12. [INFO] Reactor Build Order:
  13. [INFO]
  14. [INFO] Reference Metadata Module
  15. [INFO] Reference Metadata Module API
  16. [INFO] Reference Metadata Module OMOD
  17. [INFO]
  18. [INFO] ------------------------------------------------------------------------
  19. [INFO] Building Reference Metadata Module 2.3.1
  20. [INFO] ------------------------------------------------------------------------
  21. [INFO]
  22. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ referencemetadata ---
  23. [INFO]
  24. [INFO] --- maven-install-plugin:2.4:install (default-install) @ referencemetadata ---
  25. [INFO] Installing E:\OpenMRS\modules\openmrs-module-referencemetadata-referencemetadata-2.3.1\pom.xml to C:\Users\themo\.m2\repository\org\openmrs\module\referencemetadata\2.3.1\referencemetadata-2.3.1.pom
  26. [INFO]
  27. [INFO] ------------------------------------------------------------------------
  28. [INFO] Building Reference Metadata Module API 2.3.1
  29. [INFO] ------------------------------------------------------------------------
  30. [WARNING] The POM for org.openmrs.module:emrapi-api:jar:1.14-20160423.092250-53 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
  31. [WARNING] The POM for org.openmrs.module:emrapi-api:jar:tests:1.14-20160423.092250-53 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
  32. [INFO]
  33. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ referencemetadata-api ---
  34. [INFO] Deleting E:\OpenMRS\modules\openmrs-module-referencemetadata-referencemetadata-2.3.1\api\target
  35. [INFO]
  36. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ referencemetadata-api ---
  37. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  38. [INFO] Copying 16 resources
  39. [INFO]
  40. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ referencemetadata-api ---
  41. [INFO] Changes detected - recompiling the module!
  42. [INFO] Compiling 7 source files to E:\OpenMRS\modules\openmrs-module-referencemetadata-referencemetadata-2.3.1\api\target\classes
  43. [INFO] -------------------------------------------------------------
  44. [ERROR] COMPILATION ERROR :
  45. [INFO] -------------------------------------------------------------
  46. [ERROR] /E:/OpenMRS/modules/openmrs-module-referencemetadata-referencemetadata-2.3.1/api/src/main/java/org/openmrs/module/referencemetadata/ReferenceMetadataActivator.java:[136,26] cannot find symbol
  47.   symbol:   method setCheckDigit(boolean)
  48.   location: variable openmrsIdType of type org.openmrs.PatientIdentifierType
  49. [INFO] 1 error
  50. [INFO] -------------------------------------------------------------
  51. [INFO] ------------------------------------------------------------------------
  52. [INFO] Reactor Summary:
  53. [INFO]
  54. [INFO] Reference Metadata Module .......................... SUCCESS [  0.159 s]
  55. [INFO] Reference Metadata Module API ...................... FAILURE [  1.760 s]
  56. [INFO] Reference Metadata Module OMOD ..................... SKIPPED
  57. [INFO] ------------------------------------------------------------------------
  58. [INFO] BUILD FAILURE
  59. [INFO] ------------------------------------------------------------------------
  60. [INFO] Total time: 2.288 s
  61. [INFO] Finished at: 2016-04-27T12:06:26+05:30
  62. [INFO] Final Memory: 33M/212M
  63. [INFO] ------------------------------------------------------------------------
  64. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project referencemetadata-api: Compilation failure
  65. [ERROR] /E:/OpenMRS/modules/openmrs-module-referencemetadata-referencemetadata-2.3.1/api/src/main/java/org/openmrs/module/referencemetadata/ReferenceMetadataActivator.java:[136,26] cannot find symbol
  66. [ERROR] symbol:   method setCheckDigit(boolean)
  67. [ERROR] location: variable openmrsIdType of type org.openmrs.PatientIdentifierType
  68. [ERROR] -> [Help 1]
  69. [ERROR]
  70. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  71. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  72. [ERROR]
  73. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  74. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  75. [ERROR]
  76. [ERROR] After correcting the problems, you can resume the build with the command
  77. [ERROR]   mvn <goals> -rf :referencemetadata-api
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement