Guest User

Untitled

a guest
Mar 7th, 2013
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.54 KB | None | 0 0
  1. mvn install
  2. [INFO] Scanning for projects...
  3. [WARNING] The POM for org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
  4. [WARNING]
  5. [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:formentry-release-tests:jar:5.0.7-SNAPSHOT
  6. [WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead.
  7. [WARNING]
  8. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  9. [WARNING]
  10. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  11. [WARNING]
  12. [INFO] ------------------------------------------------------------------------
  13. [INFO] Reactor Build Order:
  14. [INFO]
  15. [INFO] FormEntry
  16. [INFO] FormEntry API
  17. [INFO] FormEntry OMOD
  18. [INFO] formentry-release-tests
  19. [INFO]
  20. [INFO] ------------------------------------------------------------------------
  21. [INFO] Building FormEntry 5.0.7-SNAPSHOT
  22. [INFO] ------------------------------------------------------------------------
  23. [INFO]
  24. [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ formentry ---
  25. [INFO] Installing /media/KJoseph/Projects/openMRS/Modules/openmrs-module-formentry/pom.xml to /home/k-joseph/.m2/repository/org/openmrs/module/formentry/5.0.7-SNAPSHOT/formentry-5.0.7-SNAPSHOT.pom
  26. [INFO]
  27. [INFO] ------------------------------------------------------------------------
  28. [INFO] Building FormEntry API 5.0.7-SNAPSHOT
  29. [INFO] ------------------------------------------------------------------------
  30. [INFO]
  31. [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ formentry-api ---
  32. [debug] execute contextualize
  33. [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
  34. [INFO] Copying 11 resources
  35. [INFO]
  36. [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ formentry-api ---
  37. [INFO] Nothing to compile - all classes are up to date
  38. [INFO]
  39. [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ formentry-api ---
  40. [debug] execute contextualize
  41. [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
  42. [INFO] skip non existing resourceDirectory /media/KJoseph/Projects/openMRS/Modules/openmrs-module-formentry/api/src/test/resources
  43. [INFO]
  44. [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ formentry-api ---
  45. [INFO] No sources to compile
  46. [INFO]
  47. [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ formentry-api ---
  48. [INFO] Surefire report directory: /media/KJoseph/Projects/openMRS/Modules/openmrs-module-formentry/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] --- maven-jar-plugin:2.3.2:jar (default-jar) @ formentry-api ---
  60. [INFO]
  61. [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ formentry-api ---
  62. [INFO] Installing /media/KJoseph/Projects/openMRS/Modules/openmrs-module-formentry/api/target/formentry-api-5.0.7-SNAPSHOT.jar to /home/k-joseph/.m2/repository/org/openmrs/module/formentry-api/5.0.7-SNAPSHOT/formentry-api-5.0.7-SNAPSHOT.jar
  63. [INFO] Installing /media/KJoseph/Projects/openMRS/Modules/openmrs-module-formentry/api/pom.xml to /home/k-joseph/.m2/repository/org/openmrs/module/formentry-api/5.0.7-SNAPSHOT/formentry-api-5.0.7-SNAPSHOT.pom
  64. [INFO]
  65. [INFO] ------------------------------------------------------------------------
  66. [INFO] Building FormEntry OMOD 5.0.7-SNAPSHOT
  67. [INFO] ------------------------------------------------------------------------
  68. [INFO]
  69. [INFO] --- maven-openmrs-plugin:1.0.1:initialize-module (init) @ formentry-omod ---
  70. [INFO]
  71. [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ formentry-omod ---
  72. [debug] execute contextualize
  73. [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
  74. [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
  75. [INFO] Copying 13 resources
  76. [INFO] Copying 33 resources to web/module
  77. [INFO] Copying 0 resource to web/module
  78. [INFO] Copying 33 resources to web/module
  79. [INFO]
  80. [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ formentry-omod ---
  81. [INFO] Nothing to compile - all classes are up to date
  82. [INFO]
  83. [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ formentry-omod ---
  84. [debug] execute contextualize
  85. [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
  86. [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
  87. [INFO] Copying 4 resources
  88. [INFO] Copying 1 resource
  89. [INFO]
  90. [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ formentry-omod ---
  91. [INFO] Nothing to compile - all classes are up to date
  92. [INFO]
  93. [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ formentry-omod ---
  94. [INFO] Surefire report directory: /media/KJoseph/Projects/openMRS/Modules/openmrs-module-formentry/omod/target/surefire-reports
  95.  
  96. -------------------------------------------------------
  97. T E S T S
  98. -------------------------------------------------------
  99. Running org.openmrs.module.formentry.FormEntryUtilTest
  100. Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.325 sec
  101. Running org.openmrs.module.formentry.test.PublishInfoPathTest
  102. Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 1.615 sec
  103. Running org.openmrs.module.formentry.test.TestFormEntryError
  104. FormEntryService.class.getClassLoader(): sun.misc.Launcher$AppClassLoader@18d107f
  105. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.168 sec
  106. Running org.openmrs.module.formentry.test.TestFormSchemaBuilder
  107. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
  108.  
  109. Results :
  110.  
  111. Tests run: 20, Failures: 0, Errors: 0, Skipped: 1
  112.  
  113. [INFO]
  114. [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ formentry-omod ---
  115. [INFO] Building jar: /media/KJoseph/Projects/openMRS/Modules/openmrs-module-formentry/omod/target/formentry-5.0.7-SNAPSHOT.jar
  116. [INFO] META-INF/maven/org.openmrs.module/formentry-omod/pom.xml already added, skipping
  117. [INFO] META-INF/maven/org.openmrs.module/formentry-omod/pom.properties already added, skipping
  118. [INFO]
  119. [INFO] --- maven-openmrs-plugin:1.0.1:package-module (pack) @ formentry-omod ---
  120. Mar 7, 2013 6:06:56 PM org.sonatype.guice.bean.reflect.Logs$JULSink warn
  121. WARNING: Error injecting: org.motech.openmrs.plugin.PackageModuleMojo
  122. java.lang.NoClassDefFoundError: org/codehaus/plexus/archiver/AbstractArchiver
  123. at java.lang.Class.getDeclaredConstructors0(Native Method)
  124. at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
  125. at java.lang.Class.getDeclaredConstructors(Class.java:1836)
  126. at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
  127. at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:98)
  128. at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:629)
  129. at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:831)
  130. at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:758)
  131. at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:255)
  132. at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:204)
  133. at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:954)
  134. at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:987)
  135. at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:950)
  136. at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1000)
  137. at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:45)
  138. at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84)
  139. at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52)
  140. at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
  141. at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
  142. at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138)
  143. at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108)
  144. at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
  145. at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
  146. at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
  147. at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)
  148. at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011)
  149. at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)
  150. at com.google.inject.Scopes$1$1.get(Scopes.java:59)
  151. at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83)
  152. at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49)
  153. at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253)
  154. at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245)
  155. at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:455)
  156. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:92)
  157. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
  158. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  159. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
  160. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
  161. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
  162. at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
  163. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
  164. at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
  165. at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
  166. at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
  167. at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
  168. at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
  169. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  170. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  171. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  172. at java.lang.reflect.Method.invoke(Method.java:597)
  173. at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
  174. at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
  175. at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
  176. at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
  177. Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.archiver.AbstractArchiver
  178. at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
  179. at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
  180. at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
  181. ... 54 more
  182. [INFO] ------------------------------------------------------------------------
  183. [INFO] Reactor Summary:
  184. [INFO]
  185. [INFO] FormEntry ......................................... SUCCESS [0.371s]
  186. [INFO] FormEntry API ..................................... SUCCESS [3.579s]
  187. [INFO] FormEntry OMOD .................................... FAILURE [26.843s]
  188. [INFO] formentry-release-tests ........................... SKIPPED
  189. [INFO] ------------------------------------------------------------------------
  190. [INFO] BUILD FAILURE
  191. [INFO] ------------------------------------------------------------------------
  192. [INFO] Total time: 31.618s
  193. [INFO] Finished at: Thu Mar 07 18:06:56 EAT 2013
  194. [INFO] Final Memory: 9M/309M
  195. [INFO] ------------------------------------------------------------------------
  196. [ERROR] Failed to execute goal org.openmrs.maven.plugins:maven-openmrs-plugin:1.0.1:package-module (pack) on project formentry-omod: Execution pack of goal org.openmrs.maven.plugins:maven-openmrs-plugin:1.0.1:package-module failed: A required class was missing while executing org.openmrs.maven.plugins:maven-openmrs-plugin:1.0.1:package-module: org/codehaus/plexus/archiver/AbstractArchiver
  197. [ERROR] -----------------------------------------------------
  198. [ERROR] realm = plugin>org.openmrs.maven.plugins:maven-openmrs-plugin:1.0.1
  199. [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
  200. [ERROR] urls[0] = file:/home/k-joseph/.m2/repository/org/openmrs/maven/plugins/maven-openmrs-plugin/1.0.1/maven-openmrs-plugin-1.0.1.jar
  201. [ERROR] urls[1] = file:/home/k-joseph/.m2/repository/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.jar
  202. [ERROR] urls[2] = file:/home/k-joseph/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
  203. [ERROR] urls[3] = file:/home/k-joseph/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.1/plexus-interpolation-1.1.jar
  204. [ERROR] urls[4] = file:/home/k-joseph/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
  205. [ERROR] urls[5] = file:/home/k-joseph/.m2/repository/org/apache/maven/shared/file-management/1.2.1/file-management-1.2.1.jar
  206. [ERROR] urls[6] = file:/home/k-joseph/.m2/repository/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar
  207. [ERROR] urls[7] = file:/home/k-joseph/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.5/plexus-utils-1.5.5.jar
  208. [ERROR] Number of foreign imports: 1
  209. [ERROR] import: Entry[import from realm ClassRealm[project>org.openmrs.module:formentry-omod:5.0.7-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
  210. [ERROR]
  211. [ERROR] -----------------------------------------------------: org.codehaus.plexus.archiver.AbstractArchiver
  212. [ERROR] -> [Help 1]
  213. [ERROR]
  214. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  215. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  216. [ERROR]
  217. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  218. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
  219. [ERROR]
  220. [ERROR] After correcting the problems, you can resume the build with the command
  221. [ERROR] mvn <goals> -rf :formentry-omod
Advertisement
Add Comment
Please, Sign In to add comment