This commit 
https://github.com/DSpace/DSpace/commit/4607bb90a6609f4319cc5f86abab631609d5a521
 updated Mirage2 build dependencies, otherwise there shouldn’t have been any 
changes to Mirage2. Perhaps mvn clean might help? Or then try running Space 
prior to that commit to see if that had somehow caused the breakage.

br,

Ilja Sidoroff
University of Helsinki
 
> On 12 Oct 2016, at 11:04, Ari <ariha...@jyu.fi> wrote:
> 
> Hi,
> I just tried to compile latest DSpace 6 version with Mirage2. Previously I 
> had no problems with Mirage2 but now it seems that .css files are not 
> generated. In the log (below) I can see error with compass. 
> Any ideas what could cause that?
> 
> 
> 
> urls[25] = 
> file:/usr/share/tomcat/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.8/plexus-utils-1.5.8.jar
> Number of foreign imports: 1
> import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
> 
> -----------------------------------------------------
> 
>     at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:125)
>     ... 23 more
> Caused by: java.lang.NoClassDefFoundError: 
> Lorg/eclipse/aether/RepositorySystemSession;
>     at java.lang.Class.getDeclaredFields0(Native Method)
>     at java.lang.Class.privateGetDeclaredFields(Class.java:2509)
>     at java.lang.Class.getDeclaredFields(Class.java:1819)
>     at 
> com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:661)
>     at 
> com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:366)
>     at 
> com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:165)
>     at 
> com.google.inject.internal.InjectorImpl.getInternalDependencies(InjectorImpl.java:609)
>     at com.google.inject.internal.InjectorImpl.cleanup(InjectorImpl.java:565)
>     at 
> com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:551)
>     at 
> com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:865)
>     at 
> com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:790)
>     at 
> com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:278)
>     at 
> com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:210)
>     at 
> com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:986)
>     at 
> com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1019)
>     at 
> com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:982)
>     at 
> com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)
>     at 
> org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:45)
>     at 
> com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
>     at 
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
>     at 
> com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
>     at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
>     at 
> org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138)
>     at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)
>     at 
> com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
>     at 
> com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
>     at 
> com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
>     at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
>     at 
> com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)
>     at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
>     at com.google.inject.Scopes$1$1.get(Scopes.java:59)
>     at 
> org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83)
>     at 
> org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49)
>     at 
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253)
>     at 
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245)
>     at 
> org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:455)
>     at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:92)
>     ... 23 more
> Caused by: java.lang.ClassNotFoundException: 
> org.eclipse.aether.RepositorySystemSession
>     at 
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
>     at 
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
>     at 
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
>     ... 60 more
> [INFO] ------ (Mirage2) de.saumya.mojo:gem-maven-plugin:1.0.6:exec
> [WARNING] Compass can't find any Sass files to compile.
> [WARNING] Is your compass configuration correct?.
> [WARNING] If you're trying to start a new project, you have left off the 
> directory argument.
> [WARNING] Run "compass -h" to get help.
> [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:110)
>     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:101)
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>     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:84)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>     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:290)
>     at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>     at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414)
>     at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)
> 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:101)
>     ... 23 more
> [INFO] 
> [INFO] --- maven-war-plugin:2.6:war (default-war) @ xmlui-mirage2 ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [xmlui-mirage2] in 
> [/dspace-src/dspace/modules/xmlui-mirage2/target/xmlui-mirage2-6.0-rc4-SNAPSHOT]
> [INFO] Processing war project
> [INFO] Copying webapp webResources 
> [/dspace-src/dspace/modules/xmlui-mirage2/target/themes] to 
> [/dspace-src/dspace/modules/xmlui-mirage2/target/xmlui-mirage2-6.0-rc4-SNAPSHOT]
> [INFO] Copying webapp resources 
> [/dspace-src/dspace/modules/xmlui-mirage2/src/main/webapp]
> [INFO] Processing overlay [ id org.dspace:dspace-xmlui-mirage2]
> [INFO] Webapp assembled in [183 msecs]
> [INFO] Building war: 
> /dspace-src/dspace/modules/xmlui-mirage2/target/xmlui-mirage2-6.0-rc4-SNAPSHOT.war
> [INFO]                                                                        
>  
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building DSpace XML-UI (Manakin) :: Local Customizations 
> 6.0-rc4-SNAPSHOT
> [INFO] 
> ------------------------------------------------------------------------
> Downloading: 
> http://repo.maven.apache.org/maven2/org/dspace/dspace-xmlui-lang/maven-metadata.xml
> 
> 
> 
> 
> -- 
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to