org.apache.maven.plugin.PluginExecutionException: Execution null of goal de.saumya.mojo:gem-maven-plugin:1.0.6:exec failed: Java returned: 1

Sakai JIRA | CTU Developers | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    If something failed, the global build result is SUCCESS. Like this: [INFO] npm ERR! Exit status 1 [INFO] npm ERR! [INFO] npm ERR! Failed at the Mirage2@0.1.1 postinstall script. [INFO] npm ERR! This is most likely a problem with the Mirage2 package, [INFO] npm ERR! not with npm itself. [INFO] npm ERR! Tell the author that this fails on your system: [INFO] npm ERR! bower install [INFO] npm ERR! You can get their info via: [INFO] npm ERR! npm owner ls Mirage2 [INFO] npm ERR! There is likely additional logging output above. [INFO] npm ERR! System Linux 2.6.32-131.17.1.el6.x86_64 [INFO] npm ERR! command "/opt/dspace-src-50/dspace/modules/xmlui-mirage2/target/themes/Mirage2/node/node" "/opt/dspace-src-50/dspace/modules/xmlui-mirage2/target/themes/Mirage2/node/npm/bin/npm-cli.js" "install" "--color=false" [INFO] npm ERR! cwd /opt/dspace-src-50/dspace/modules/xmlui-mirage2/target/themes/Mirage2 [INFO] npm ERR! node -v v0.10.31 [INFO] npm ERR! npm -v 1.4.23 [INFO] npm ERR! code ELIFECYCLE [INFO] npm ERR! [INFO] npm ERR! Additional logging details can be found in: [INFO] npm ERR! /opt/dspace-src-50/dspace/modules/xmlui-mirage2/target/themes/Mirage2/npm-debug.log [INFO] npm ERR! not ok code 0 [ERROR] MojoFailureException: org.apache.maven.plugin.MojoFailureException: Failed to run task at com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute(NpmMojo.java:45) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) at com.soebes.maven.plugins.iterator.ExecutorMojo.executeMojo(ExecutorMojo.java:302) at com.soebes.maven.plugins.iterator.ExecutorMojo.execute(ExecutorMojo.java:235) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: 'npm install --color=false' failed. (error code 1) at com.github.eirslett.maven.plugins.frontend.lib.NodeTaskExecutor.execute(NodeTaskExecutor.java:38) at com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute(NpmMojo.java:43) ... 24 more [INFO] ------ (Mirage2) com.github.eirslett:frontend-maven-plugin:0.0.16:grunt [INFO] Running 'grunt classic_mirage_color_scheme no-compass-prod --no-color' in /opt/dspace-src-50/dspace/modules/xmlui-mirage2/target/themes/Mirage2 . . . [INFO] Done, without errors. [INFO] ------ (Mirage2) de.saumya.mojo:gem-maven-plugin:1.0.6:exec [INFO] error styles/main.scss (Line 16: File to import not found or unreadable: ../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap. [INFO] Load paths: [INFO] Compass::SpriteImporter [INFO] /opt/dspace-src-50/dspace/modules/xmlui-mirage2/target/themes/Mirage2/styles [INFO] /opt/dspace-src-50/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-core-1.0.3/stylesheets) [INFO] Compilation failed in 1 files. [WARNING] [INFO] [ERROR] PluginManagerException: org.apache.maven.plugin.PluginExecutionException: Execution null of goal de.saumya.mojo:gem-maven-plugin:1.0.6:exec failed: Java returned: 1 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143) at com.soebes.maven.plugins.iterator.ExecutorMojo.executeMojo(ExecutorMojo.java:302) at com.soebes.maven.plugins.iterator.ExecutorMojo.execute(ExecutorMojo.java:235) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: Java returned: 1 at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87) at de.saumya.mojo.ruby.script.AntLauncher.doExecute(AntLauncher.java:107) at de.saumya.mojo.ruby.script.AntLauncher.executeIn(AntLauncher.java:141) at de.saumya.mojo.ruby.script.Script.executeIn(Script.java:108) at de.saumya.mojo.gem.ExecMojo.executeWithGems(ExecMojo.java:106) at de.saumya.mojo.gem.AbstractGemMojo.executeJRuby(AbstractGemMojo.java:469) at de.saumya.mojo.jruby.AbstractJRubyMojo.execute(AbstractJRubyMojo.java:298) at de.saumya.mojo.gem.AbstractGemMojo.execute(AbstractGemMojo.java:222) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) ... 23 more [INFO] [INFO] --- maven-war-plugin:2.4:war (default-war) @ xmlui-mirage2 --- [INFO] Packaging webapp [INFO] Assembling webapp [xmlui-mirage2] in [/opt/dspace-src-50/dspace/modules/xmlui-mirage2/target/xmlui-mirage2-5.0] [INFO] Processing war project . . . [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] DSpace Addon Modules ............................... SUCCESS [ 3.575 s] [INFO] DSpace Kernel :: Additions and Local Customizations SUCCESS [ 13.753 s] [INFO] DSpace XML-UI Mirage2 Theme :: Local Customisations SUCCESS [02:50 min] [INFO] DSpace XML-UI (Manakin) :: Local Customizations .... SUCCESS [ 18.223 s] [INFO] DSpace JSP-UI :: Local Customizations .............. SUCCESS [ 10.036 s] [INFO] DSpace RDF :: Local Customizations ................. SUCCESS [ 13.565 s] [INFO] DSpace REST :: Local Customizations ................ SUCCESS [ 13.503 s] [INFO] DSpace SWORD :: Local Customizations ............... SUCCESS [ 8.846 s] [INFO] DSpace SWORD v2 :: Local Customizations ............ SUCCESS [ 8.750 s] [INFO] DSpace SOLR :: Local Customizations ................ SUCCESS [ 11.696 s] [INFO] DSpace OAI-PMH :: Local Customizations ............. SUCCESS [ 8.802 s] [INFO] DSpace Assembly and Configuration .................. SUCCESS [01:02 min] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 05:45 min [INFO] Finished at: 2015-02-16T21:52:29+01:00 [INFO] Final Memory: 58M/411M [INFO] ------------------------------------------------------------------------ The first time I did not have any prerequisities installed (bower, grunt, ruby, compass), nevertheless the compilation finished "SUCCESSful". I am not alone, this guy had the same problem -- http://sourceforge.net/p/dspace/mailman/message/32993367. Some information on this site -- https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace (7. Build the Installation Package) or https://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization -- about prerequisities would be useful.

    Sakai JIRA | 2 years ago | CTU Developers
    org.apache.maven.plugin.PluginExecutionException: Execution null of goal de.saumya.mojo:gem-maven-plugin:1.0.6:exec failed: Java returned: 1
  2. 0

    If something failed, the global build result is SUCCESS. Like this: [INFO] npm ERR! Exit status 1 [INFO] npm ERR! [INFO] npm ERR! Failed at the Mirage2@0.1.1 postinstall script. [INFO] npm ERR! This is most likely a problem with the Mirage2 package, [INFO] npm ERR! not with npm itself. [INFO] npm ERR! Tell the author that this fails on your system: [INFO] npm ERR! bower install [INFO] npm ERR! You can get their info via: [INFO] npm ERR! npm owner ls Mirage2 [INFO] npm ERR! There is likely additional logging output above. [INFO] npm ERR! System Linux 2.6.32-131.17.1.el6.x86_64 [INFO] npm ERR! command "/opt/dspace-src-50/dspace/modules/xmlui-mirage2/target/themes/Mirage2/node/node" "/opt/dspace-src-50/dspace/modules/xmlui-mirage2/target/themes/Mirage2/node/npm/bin/npm-cli.js" "install" "--color=false" [INFO] npm ERR! cwd /opt/dspace-src-50/dspace/modules/xmlui-mirage2/target/themes/Mirage2 [INFO] npm ERR! node -v v0.10.31 [INFO] npm ERR! npm -v 1.4.23 [INFO] npm ERR! code ELIFECYCLE [INFO] npm ERR! [INFO] npm ERR! Additional logging details can be found in: [INFO] npm ERR! /opt/dspace-src-50/dspace/modules/xmlui-mirage2/target/themes/Mirage2/npm-debug.log [INFO] npm ERR! not ok code 0 [ERROR] MojoFailureException: org.apache.maven.plugin.MojoFailureException: Failed to run task at com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute(NpmMojo.java:45) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) at com.soebes.maven.plugins.iterator.ExecutorMojo.executeMojo(ExecutorMojo.java:302) at com.soebes.maven.plugins.iterator.ExecutorMojo.execute(ExecutorMojo.java:235) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: 'npm install --color=false' failed. (error code 1) at com.github.eirslett.maven.plugins.frontend.lib.NodeTaskExecutor.execute(NodeTaskExecutor.java:38) at com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute(NpmMojo.java:43) ... 24 more [INFO] ------ (Mirage2) com.github.eirslett:frontend-maven-plugin:0.0.16:grunt [INFO] Running 'grunt classic_mirage_color_scheme no-compass-prod --no-color' in /opt/dspace-src-50/dspace/modules/xmlui-mirage2/target/themes/Mirage2 . . . [INFO] Done, without errors. [INFO] ------ (Mirage2) de.saumya.mojo:gem-maven-plugin:1.0.6:exec [INFO] error styles/main.scss (Line 16: File to import not found or unreadable: ../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap. [INFO] Load paths: [INFO] Compass::SpriteImporter [INFO] /opt/dspace-src-50/dspace/modules/xmlui-mirage2/target/themes/Mirage2/styles [INFO] /opt/dspace-src-50/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-core-1.0.3/stylesheets) [INFO] Compilation failed in 1 files. [WARNING] [INFO] [ERROR] PluginManagerException: org.apache.maven.plugin.PluginExecutionException: Execution null of goal de.saumya.mojo:gem-maven-plugin:1.0.6:exec failed: Java returned: 1 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143) at com.soebes.maven.plugins.iterator.ExecutorMojo.executeMojo(ExecutorMojo.java:302) at com.soebes.maven.plugins.iterator.ExecutorMojo.execute(ExecutorMojo.java:235) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: Java returned: 1 at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87) at de.saumya.mojo.ruby.script.AntLauncher.doExecute(AntLauncher.java:107) at de.saumya.mojo.ruby.script.AntLauncher.executeIn(AntLauncher.java:141) at de.saumya.mojo.ruby.script.Script.executeIn(Script.java:108) at de.saumya.mojo.gem.ExecMojo.executeWithGems(ExecMojo.java:106) at de.saumya.mojo.gem.AbstractGemMojo.executeJRuby(AbstractGemMojo.java:469) at de.saumya.mojo.jruby.AbstractJRubyMojo.execute(AbstractJRubyMojo.java:298) at de.saumya.mojo.gem.AbstractGemMojo.execute(AbstractGemMojo.java:222) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) ... 23 more [INFO] [INFO] --- maven-war-plugin:2.4:war (default-war) @ xmlui-mirage2 --- [INFO] Packaging webapp [INFO] Assembling webapp [xmlui-mirage2] in [/opt/dspace-src-50/dspace/modules/xmlui-mirage2/target/xmlui-mirage2-5.0] [INFO] Processing war project . . . [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] DSpace Addon Modules ............................... SUCCESS [ 3.575 s] [INFO] DSpace Kernel :: Additions and Local Customizations SUCCESS [ 13.753 s] [INFO] DSpace XML-UI Mirage2 Theme :: Local Customisations SUCCESS [02:50 min] [INFO] DSpace XML-UI (Manakin) :: Local Customizations .... SUCCESS [ 18.223 s] [INFO] DSpace JSP-UI :: Local Customizations .............. SUCCESS [ 10.036 s] [INFO] DSpace RDF :: Local Customizations ................. SUCCESS [ 13.565 s] [INFO] DSpace REST :: Local Customizations ................ SUCCESS [ 13.503 s] [INFO] DSpace SWORD :: Local Customizations ............... SUCCESS [ 8.846 s] [INFO] DSpace SWORD v2 :: Local Customizations ............ SUCCESS [ 8.750 s] [INFO] DSpace SOLR :: Local Customizations ................ SUCCESS [ 11.696 s] [INFO] DSpace OAI-PMH :: Local Customizations ............. SUCCESS [ 8.802 s] [INFO] DSpace Assembly and Configuration .................. SUCCESS [01:02 min] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 05:45 min [INFO] Finished at: 2015-02-16T21:52:29+01:00 [INFO] Final Memory: 58M/411M [INFO] ------------------------------------------------------------------------ The first time I did not have any prerequisities installed (bower, grunt, ruby, compass), nevertheless the compilation finished "SUCCESSful". I am not alone, this guy had the same problem -- http://sourceforge.net/p/dspace/mailman/message/32993367. Some information on this site -- https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace (7. Build the Installation Package) or https://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization -- about prerequisities would be useful.

    Sakai JIRA | 2 years ago | CTU Developers
    org.apache.maven.plugin.PluginExecutionException: Execution null of goal de.saumya.mojo:gem-maven-plugin:1.0.6:exec failed: Java returned: 1
  3. 0

    Compiling DSpace 6 with Mirage2 theme does not generate CSS files

    Google Groups | 5 months ago | Ari
    org.apache.maven.plugin.PluginExecutionException: Execution null of goal de.saumya.mojo:gem-maven-plugin:1.0.6:exec failed: Java returned: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I came across this issue while working on enabling the Mirage2 theme for our Dspace 4 instance. I checked in the dspace-xmlui-mirage2 project and dspace/modules/xmului-mirage2 modules into our codebase. The build succeeded, but one of the ruby tasks failed with the following error: $ mvn -Denv=local -Dmirage2.on=true package …… [INFO] ------ (Mirage2) de.saumya.mojo:gem-maven-plugin:1.0.0-rc:exec [INFO] error styles/main.scss (Line 16: File to import not found or unreadable: ../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap/bootstrap. [INFO] Load paths: [INFO] /apps/git/drum/dspace/modules/xmlui-mirage2/target/themes/Mirage2/styles [INFO] /apps/git/drum/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-0.12.2/frameworks/blueprint/stylesheets [INFO] /apps/git/drum/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-0.12.2/frameworks/compass/stylesheets [INFO] Compass::SpriteImporter) [INFO] overwrite main.css [WARNING] [ERROR] PluginManagerException: org.apache.maven.plugin.PluginExecutionException: Execution null of goal de.saumya.mojo:gem-maven-plugin:1.0.0-rc:exec failed: Java returned: 1 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110) at com.soebes.maven.plugins.iterator.ExecutorMojo.executeMojo(ExecutorMojo.java:302) at com.soebes.maven.plugins.iterator.ExecutorMojo.execute(ExecutorMojo.java:235) ….. Caused by: Java returned: 1 at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87) at de.saumya.mojo.ruby.script.AntLauncher.doExecute(AntLauncher.java:96) ... 30 more This seems to caused by a structural change in bootstrap-sass gem’s content. I was able to fix it by making the following change: https://github.com/umd-lib/drum/commit/723e297ed927376d21560bc022873ff41a0a029a (Changed ../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap/bootstrap. To ../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap.)

    Sakai JIRA | 2 years ago | Mohamed Mohideen Abdul Rasheed
    org.apache.maven.plugin.PluginExecutionException: Execution null of goal de.saumya.mojo:gem-maven-plugin:1.0.0-rc:exec failed: Java returned: 1
  6. 0

    I came across this issue while working on enabling the Mirage2 theme for our Dspace 4 instance. I checked in the dspace-xmlui-mirage2 project and dspace/modules/xmului-mirage2 modules into our codebase. The build succeeded, but one of the ruby tasks failed with the following error: $ mvn -Denv=local -Dmirage2.on=true package …… [INFO] ------ (Mirage2) de.saumya.mojo:gem-maven-plugin:1.0.0-rc:exec [INFO] error styles/main.scss (Line 16: File to import not found or unreadable: ../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap/bootstrap. [INFO] Load paths: [INFO] /apps/git/drum/dspace/modules/xmlui-mirage2/target/themes/Mirage2/styles [INFO] /apps/git/drum/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-0.12.2/frameworks/blueprint/stylesheets [INFO] /apps/git/drum/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-0.12.2/frameworks/compass/stylesheets [INFO] Compass::SpriteImporter) [INFO] overwrite main.css [WARNING] [ERROR] PluginManagerException: org.apache.maven.plugin.PluginExecutionException: Execution null of goal de.saumya.mojo:gem-maven-plugin:1.0.0-rc:exec failed: Java returned: 1 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110) at com.soebes.maven.plugins.iterator.ExecutorMojo.executeMojo(ExecutorMojo.java:302) at com.soebes.maven.plugins.iterator.ExecutorMojo.execute(ExecutorMojo.java:235) ….. Caused by: Java returned: 1 at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87) at de.saumya.mojo.ruby.script.AntLauncher.doExecute(AntLauncher.java:96) ... 30 more This seems to caused by a structural change in bootstrap-sass gem’s content. I was able to fix it by making the following change: https://github.com/umd-lib/drum/commit/723e297ed927376d21560bc022873ff41a0a029a (Changed ../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap/bootstrap. To ../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap.)

    Sakai JIRA | 2 years ago | Mohamed Mohideen Abdul Rasheed
    org.apache.maven.plugin.PluginExecutionException: Execution null of goal de.saumya.mojo:gem-maven-plugin:1.0.0-rc:exec failed: Java returned: 1
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.maven.plugin.PluginExecutionException

    Execution null of goal de.saumya.mojo:gem-maven-plugin:1.0.6:exec failed: Java returned: 1

    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo()
  2. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143)
    1 frame
  3. com.soebes.maven
    ExecutorMojo.execute
    1. com.soebes.maven.plugins.iterator.ExecutorMojo.executeMojo(ExecutorMojo.java:302)
    2. com.soebes.maven.plugins.iterator.ExecutorMojo.execute(ExecutorMojo.java:235)
    2 frames
  4. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
    1 frame
  5. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
    9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
    9 frames
  6. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
    3 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  8. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    4 frames