Guest User

Untitled

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