Guest User

Untitled

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