The issue with Mirage 2 build that you are seeing is likely the one reported here:
https://jira.duraspace.org/browse/DS-4115 It has not been fixed in an official release (will be fixed in 6.4, once that's released), but you can patch it locally immediately. See this comment (in the above ticket) for details: https://jira.duraspace.org/browse/DS-4115?focusedCommentId=62075&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-62075 - Tim On Thu, Jan 31, 2019 at 8:08 AM Diego Spano <[email protected]> wrote: > Chin, give a view to these links: > > https://jira.duraspace.org/browse/DS-4115 > > https://github.com/DSpace/DSpace/pull/2309/files/e631fd14efa111c692fa9eda837d58c20b82d139 > > > Regards > > Diego > > > El jueves, 31 de enero de 2019, 10:56:29 (UTC-3), Chin U. Kim escribió: >> >> Hello All, >> >> I'm receiving a Java error and I can't seem to find the fix. >> >> This is for Dspace version 6.2 and maven version 3.5 on Redhat Linux 7.3 >> and Java version 1.8.0_191 >> >> The following is the error; >> >> [ERROR] Failed to execute goal >> de.saumya.mojo:gem-maven-plugin:1.0.6:initialize (default) on project >> xmlui-mirage2: Execution default of goal >> de.saumya.mojo:gem-maven-plugin:1.0.6:initialize failed: Java returned: 1 >> -> [Help 1] >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute >> goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize (default) on project >> xmlui-mirage2: Execution default of goal >> de.saumya.mojo:gem-maven-plugin:1.0.6:initialize failed: Java returned: 1 >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:213) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:154) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:146) >> at >> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject >> (LifecycleModuleBuilder.java:117) >> at >> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject >> (LifecycleModuleBuilder.java:81) >> at >> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build >> (SingleThreadedBuilder.java:56) >> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute >> (LifecycleStarter.java:128) >> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) >> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) >> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) >> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) >> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) >> at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) >> at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke >> (NativeMethodAccessorImpl.java:62) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke >> (DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke (Method.java:498) >> 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: org.apache.maven.plugin.PluginExecutionException: Execution >> default of goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize failed: >> Java returned: 1 >> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo >> (DefaultBuildPluginManager.java:148) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:208) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:154) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:146) >> at >> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject >> (LifecycleModuleBuilder.java:117) >> at >> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject >> (LifecycleModuleBuilder.java:81) >> at >> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build >> (SingleThreadedBuilder.java:56) >> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute >> (LifecycleStarter.java:128) >> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) >> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) >> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) >> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) >> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) >> at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) >> at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke >> (NativeMethodAccessorImpl.java:62) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke >> (DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke (Method.java:498) >> 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: org.apache.tools.ant.BuildException: 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.executeScript >> (AntLauncher.java:174) >> at de.saumya.mojo.ruby.script.AntLauncher.executeScript >> (AntLauncher.java:159) >> at de.saumya.mojo.ruby.script.AntLauncher.executeScript >> (AntLauncher.java:153) >> at de.saumya.mojo.ruby.script.Script.execute (Script.java:81) >> at de.saumya.mojo.ruby.gems.GemsInstaller.installGems >> (GemsInstaller.java:196) >> at de.saumya.mojo.ruby.gems.GemsInstaller.installGems >> (GemsInstaller.java:114) >> at de.saumya.mojo.ruby.gems.GemsInstaller.installGems >> (GemsInstaller.java:102) >> at de.saumya.mojo.ruby.gems.GemsInstaller.installPom >> (GemsInstaller.java:61) >> at de.saumya.mojo.gem.AbstractGemMojo.executeJRuby >> (AbstractGemMojo.java:356) >> 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:137) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:208) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:154) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:146) >> at >> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject >> (LifecycleModuleBuilder.java:117) >> at >> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject >> (LifecycleModuleBuilder.java:81) >> at >> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build >> (SingleThreadedBuilder.java:56) >> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute >> (LifecycleStarter.java:128) >> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) >> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) >> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) >> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) >> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) >> at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) >> at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke >> (NativeMethodAccessorImpl.java:62) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke >> (DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke (Method.java:498) >> 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) >> [ERROR] >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, >> please read the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn <goals> -rf :xmlui-mirage2 >> >> >> >> -- > All messages to this mailing list should adhere to the DuraSpace Code of > Conduct: https://duraspace.org/about/policies/code-of-conduct/ > --- > You received this message because you are subscribed to the Google Groups > "DSpace Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/dspace-community. > For more options, visit https://groups.google.com/d/optout. > -- Tim Donohue Technical Lead for DSpace & DSpaceDirect DuraSpace.org | DSpace.org | DSpaceDirect.org -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-community. For more options, visit https://groups.google.com/d/optout.
