Advertisement
jbjares

exec-plugin-issue

Jun 8th, 2016
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 8.53 KB | None | 0 0
  1. [INFO]
  2. [INFO] ------------------------------------------------------------------------
  3. [INFO] Building Vital Istanbul Demo: Frontend 1.0-SNAPSHOT
  4. [INFO] ------------------------------------------------------------------------
  5. [INFO]
  6. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ vital-istanbul-demo-ui ---
  7. [INFO]
  8. [INFO] --- exec-maven-plugin:1.4.0:exec (exec-npm-install) @ vital-istanbul-demo-ui ---
  9. [WARNING] Error injecting: org.codehaus.mojo.exec.ExecMojo
  10. java.lang.NoClassDefFoundError: org/apache/commons/exec/ExecuteStreamHandler
  11.         at java.lang.Class.getDeclaredConstructors0(Native Method)
  12.         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
  13.         at java.lang.Class.getDeclaredConstructors(Class.java:2020)
  14.         at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
  15.         at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)
  16.         at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:658)
  17.         at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:882)
  18.         at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:805)
  19.         at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:282)
  20.         at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:214)
  21.         at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:1006)
  22.         at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1038)
  23.         at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1001)
  24.         at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
  25.         at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
  26.         at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
  27.         at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
  28.         at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:65)
  29.         at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
  30.         at org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
  31.         at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
  32.         at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
  33.         at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:63)
  34.         at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
  35.         at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
  36.         at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
  37.         at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
  38.         at org.eclipse.sisu.inject.Guice4$1.get(Guice4.java:162)
  39.         at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81)
  40.         at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
  41.         at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
  42.         at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
  43.         at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:517)
  44.         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
  45.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  46.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  47.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
  48.         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
  49.         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
  50.         at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
  51.         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
  52.         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
  53.         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
  54.         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
  55.         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
  56.         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
  57.         at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
  58.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  59.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  60.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  61.         at java.lang.reflect.Method.invoke(Method.java:497)
  62.         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
  63.         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
  64.         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
  65.         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
  66. Caused by: java.lang.ClassNotFoundException: org.apache.commons.exec.ExecuteStreamHandler
  67.         at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
  68.         at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
  69.         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
  70.         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
  71.         ... 55 more
  72. [INFO] ------------------------------------------------------------------------
  73. [INFO] Reactor Summary:
  74. [INFO]
  75. [INFO] Vital Istanbul Demo ................................ SUCCESS [  1.023 s]
  76. [INFO] Vital Istanbul Demo: EJB ........................... SUCCESS [  4.316 s]
  77. [INFO] Vital Istanbul Demo: WAR ........................... SUCCESS [  2.723 s]
  78. [INFO] Vital Istanbul Demo: EAR ........................... SUCCESS [ 12.771 s]
  79. [INFO] Vital Istanbul Demo: Frontend ...................... FAILURE [  0.209 s]
  80. [INFO] ------------------------------------------------------------------------
  81. [INFO] BUILD FAILURE
  82. [INFO] ------------------------------------------------------------------------
  83. [INFO] Total time: 21.661 s
  84. [INFO] Finished at: 2016-06-08T16:35:16+01:00
  85. [INFO] Final Memory: 42M/409M
  86. [INFO] ------------------------------------------------------------------------
  87. [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (exec-npm-install) on project vital-istanbul-demo-ui: Execution exec-npm-install of goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec failed: A required class was missing while executing org.codehaus.mojo:exec-maven-plugin:1.4.0:exec: org/apache/commons/exec/ExecuteStreamHandler
  88. [ERROR] -----------------------------------------------------
  89. [ERROR] realm =    plugin>org.codehaus.mojo:exec-maven-plugin:1.4.0
  90. [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
  91. [ERROR] urls[0] = file:/C:/Users/JoaoBoscoJares/.m2/repository/org/codehaus/mojo/exec-maven-plugin/1.4.0/exec-maven-plugin-1.4.0.jar
  92. [ERROR] urls[1] = file:/C:/Users/JoaoBoscoJares/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
  93. [ERROR] Number of foreign imports: 1
  94. [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
  95. [ERROR]
  96. [ERROR] -----------------------------------------------------: org.apache.commons.exec.ExecuteStreamHandler
  97. [ERROR] -> [Help 1]
  98. [ERROR]
  99. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  100. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  101. [ERROR]
  102. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  103. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
  104. [ERROR]
  105. [ERROR] After correcting the problems, you can resume the build with the command
  106. [ERROR]   mvn <goals> -rf :vital-istanbul-demo-ui
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement