Advertisement
Guest User

Untitled

a guest
Jun 25th, 2012
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.45 KB | None | 0 0
  1. $ mvn clean test
  2. [INFO] Scanning for projects...
  3. [WARNING]
  4. [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:openhmis-plm-api:jar:1.0-SNAPSHOT
  5. [WARNING] 'version' contains an expression but should be a constant. @ org.openmrs.module:openhmis-plm-api:${project.parent.version}, D:\Code\Eclipse\openhmis\plm\api\pom.xml, line 15, column 14
  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] OpenHMIS Persistent List Manager Module
  15. [INFO] OpenHMIS Persistent List Manager Module API
  16. [INFO] OpenHMIS Persistent List Manager Module OMOD
  17. [INFO]
  18. [INFO] ------------------------------------------------------------------------
  19. [INFO] Building OpenHMIS Persistent List Manager Module 1.0-SNAPSHOT
  20. [INFO] ------------------------------------------------------------------------
  21. [INFO]
  22. [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ openhmis-plm ---
  23. [INFO]
  24. [INFO] ------------------------------------------------------------------------
  25. [INFO] Building OpenHMIS Persistent List Manager Module API 1.0-SNAPSHOT
  26. [INFO] ------------------------------------------------------------------------
  27. [INFO]
  28. [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ openhmis-plm-api ---
  29. [INFO] Deleting D:\Code\Eclipse\openhmis\plm\api\target
  30. [INFO]
  31. [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ openhmis-plm-api ---
  32. [debug] execute contextualize
  33. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  34. [INFO] Copying 4 resources
  35. [INFO]
  36. [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ openhmis-plm-api ---
  37. [INFO] Compiling 23 source files to D:\Code\Eclipse\openhmis\plm\api\target\classes
  38. [INFO]
  39. [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ openhmis-plm-api ---
  40. [debug] execute contextualize
  41. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  42. [INFO] Copying 1 resource
  43. [INFO]
  44. [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ openhmis-plm-api ---
  45. [INFO] Compiling 7 source files to D:\Code\Eclipse\openhmis\plm\api\target\test-classes
  46. [INFO]
  47. [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ openhmis-plm-api ---
  48. [INFO] Surefire report directory: D:\Code\Eclipse\openhmis\plm\api\target\surefire-reports
  49.  
  50. -------------------------------------------------------
  51. T E S T S
  52. -------------------------------------------------------
  53.  
  54. Results :
  55.  
  56. Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
  57.  
  58. [INFO]
  59. [INFO] ------------------------------------------------------------------------
  60. [INFO] Building OpenHMIS Persistent List Manager Module OMOD 1.0-SNAPSHOT
  61. [INFO] ------------------------------------------------------------------------
  62. [INFO]
  63. [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ openhmis-plm-omod ---
  64. [INFO] Deleting D:\Code\Eclipse\openhmis\plm\omod\target
  65. [INFO]
  66. [INFO] --- maven-openmrs-plugin:1.0.1:initialize-module (init) @ openhmis-plm-omod ---
  67. [INFO]
  68. [INFO] --- maven-dependency-plugin:2.4:unpack-dependencies (Expand moduleApplicationContext and messages)
  69. @ openhmis-plm-omod ---
  70. [INFO] Unpacking D:\Code\Eclipse\openhmis\plm\api\target\classes to D:\Code\Eclipse\openhmis\plm\omod\target\classes with includes "**/*" and excludes ""
  71. org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory.
  72. at org.codehaus.plexus.archiver.AbstractUnArchiver.validate(AbstractUnArchiver.java:185)
  73. at org.codehaus.plexus.archiver.AbstractUnArchiver.extract(AbstractUnArchiver.java:118)
  74. at org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack(AbstractDependencyMojo.java:258)
  75. at org.apache.maven.plugin.dependency.UnpackDependenciesMojo.execute(UnpackDependenciesMojo.java:88)
  76. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
  77. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
  78. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  79. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
  80. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
  81. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
  82. at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
  83. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
  84. at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
  85. at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
  86. at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
  87. at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
  88. at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
  89. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  90. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  91. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  92. at java.lang.reflect.Method.invoke(Method.java:597)
  93. at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
  94. at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
  95. at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
  96. at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
  97. [INFO] ------------------------------------------------------------------------
  98. [INFO] Reactor Summary:
  99. [INFO]
  100. [INFO] OpenHMIS Persistent List Manager Module ........... SUCCESS [0.123s]
  101. [INFO] OpenHMIS Persistent List Manager Module API ....... SUCCESS [3.515s]
  102. [INFO] OpenHMIS Persistent List Manager Module OMOD ...... FAILURE [0.592s]
  103. [INFO] ------------------------------------------------------------------------
  104. [INFO] BUILD FAILURE
  105. [INFO] ------------------------------------------------------------------------
  106. [INFO] Total time: 4.763s
  107. [INFO] Finished at: Mon Jun 25 18:05:09 EAT 2012
  108. [INFO] Final Memory: 29M/490M
  109. [INFO] ------------------------------------------------------------------------
  110. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.4:unpack-dependencies (Expand moduleApplicationContext and messages) on project openhmis-plm-omod: Error unpacking file: D:\Code\Eclipse\openhmis\plm\api\target\classes to: D:\Code\Eclipse\openhmis\plm\omod\target\classes
  111. [ERROR] org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory.
  112. [ERROR] -> [Help 1]
  113. [ERROR]
  114. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  115. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  116. [ERROR]
  117. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  118. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  119. [ERROR]
  120. [ERROR] After correcting the problems, you can resume the build with the command
  121. [ERROR] mvn <goals> -rf :openhmis-plm-omod
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement