Hi all, I thought this looked eerily familiar - see http://dspace.2283337.n4.nabble.com/Mirage-2-td4676411.html and https://wiki.duraspace.org/display/DSDOC6x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-CommonBuildIssues Have you tried the steps in there? Ie, run mvn as a non-root user, check directory permissions, and try switching git over to use the https protocol rather than the git protocol (for the user you're running mvn as).
cheers, Andrea On Tue, 5 Feb 2019 at 01:44, Kev Evans <[email protected]> wrote: > Hi Tim, > > Many thanks, that worked.. well almost. > > I am now seeing: > > 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] > /usr/local/cer-src/dspace/modules/xmlui-mirage2/target/themes/MirageCER/styles > [INFO] > /usr/local/cer-src/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-core-1.0.3/stylesheets > > Are you able to give more advice? > > Kev > > On Friday, 1 February 2019 15:53:42 UTC, Tim Donohue wrote: >> >> 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 Fri, Feb 1, 2019 at 9:43 AM Kev Evans <[email protected]> wrote: >> >>> Hi George >>> >>> mvn -version >>> >>> Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; >>> 2018-10-24T19:41:4 7+01:00) >>> Maven home: /opt/maven >>> Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: >>> /usr/lib/jvm/java- 1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/jre >>> Default locale: en_GB, platform encoding: UTF-8 >>> OS name: "linux", version: "3.10.0-957.1.3.el7.x86_64", arch: "amd64", >>> family: "unix" >>> >>> >>> On Friday, 1 February 2019 12:47:28 UTC, Kev Evans wrote: >>> >>>> Hi All, >>>> >>>> I have run into a problem with installing Mirage 2 theme on Dspace 6.3 >>>> on Centos 7. >>>> >>>> I've seen a number of posts related to this issue. But has anybody able >>>> to find a solution? I'm out of options! >>>> >>>> Help please >>>> >>>> Kev >>>> >>>> >>>> [root@xxxxxxxxxl dspace-src]# mvn -U -e clean package -Dmirage2.on=true >>>> >>>> >>>> [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:215) >>>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >>>> (MojoExecutor.java:156) >>>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >>>> (MojoExecutor.java:148) >>>> 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:288) >>>> at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) >>>> 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:210) >>>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >>>> (MojoExecutor.java:156) >>>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >>>> (MojoExecutor.java:148) >>>> 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:288) >>>> at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) >>>> 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:210) >>>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >>>> (MojoExecutor.java:156) >>>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >>>> (MojoExecutor.java:148) >>>> 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:288) >>>> at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) >>>> 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) >>>> >>>> -- >>> 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 Technical Support" 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-tech. >>> 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 Technical Support" 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-tech. > For more options, visit https://groups.google.com/d/optout. > -- Dr Andrea Schweer Research Technologies Manager, ITS Programme & Commercial The University of Waikato, Hamilton, New Zealand +64-7-837 9120 -- 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 Technical Support" 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-tech. For more options, visit https://groups.google.com/d/optout.
