The version of yuicompressor-maven-plugin used is not compatible with openjdk. (see mailing list archive).
On Sat, Jan 9, 2010 at 21:06, Jaroslaw Zabiello <hipertrac...@gmail.com> wrote: > $ uname -a > Linux Ubuntu-904-jaunty-64-minimal 2.6.28-11-server #42-Ubuntu SMP Fri > Apr 17 02:45:36 UTC 2009 x86_64 GNU/Linux > > $ mvn -v > Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) > Java version: 1.6.0_0 > Java home: /usr/lib/jvm/java-6-openjdk/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux" version: "2.6.28-11-server" arch: "amd64" Family: > "unix" > > /home/httpd/liftweb.org/app/ror/public/1.1-M8/lift-base/lift-webkit$ > mvn site > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Lift WebKit > [INFO] task-segment: [site] > [INFO] > ------------------------------------------------------------------------ > [INFO] [resources:copy-resources {execution: default-copy-resources}] > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 1 resource > [INFO] Setting property: classpath.resource.loader.class => > 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. > [INFO] Setting property: velocimacro.messages.on => 'false'. > [INFO] Setting property: resource.loader => 'classpath'. > [INFO] Setting property: resource.manager.logwhenfound => 'false'. > [INFO] ************************************************************** > [INFO] Starting Jakarta Velocity v1.4 > [INFO] RuntimeInstance initializing. > [INFO] Default Properties File: org/apache/velocity/runtime/defaults/ > velocity.properties > [INFO] Default ResourceManager initializing. (class > org.apache.velocity.runtime.resource.ResourceManagerImpl) > [INFO] Resource Loader Instantiated: > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader > [INFO] ClasspathResourceLoader : initialization starting. > [INFO] ClasspathResourceLoader : initialization complete. > [INFO] ResourceCache : initialized. (class > org.apache.velocity.runtime.resource.ResourceCacheImpl) > [INFO] Default ResourceManager initialization complete. > [INFO] Loaded System Directive: > org.apache.velocity.runtime.directive.Literal > [INFO] Loaded System Directive: > org.apache.velocity.runtime.directive.Macro > [INFO] Loaded System Directive: > org.apache.velocity.runtime.directive.Parse > [INFO] Loaded System Directive: > org.apache.velocity.runtime.directive.Include > [INFO] Loaded System Directive: > org.apache.velocity.runtime.directive.Foreach > [INFO] Created: 20 parsers. > [INFO] Velocimacro : initialization starting. > [INFO] Velocimacro : adding VMs from VM library template : > VM_global_library.vm > [ERROR] ResourceManager : unable to find resource > 'VM_global_library.vm' in any resource loader. > [INFO] Velocimacro : error using VM library template > VM_global_library.vm : > org.apache.velocity.exception.ResourceNotFoundException: Unable to > find resource 'VM_global_library.vm' > [INFO] Velocimacro : VM library template macro registration complete. > [INFO] Velocimacro : allowInline = true : VMs can be defined inline in > templates > [INFO] Velocimacro : allowInlineToOverride = false : VMs defined > inline may NOT replace previous VM definitions > [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline > will be global in scope if allowed. > [INFO] Velocimacro : initialization complete. > [INFO] Velocity successfully started. > [INFO] Preparing javadoc:javadoc > [INFO] [enforcer:enforce {execution: default-enforce}] > [INFO] Preparing javadoc:test-javadoc > [INFO] [enforcer:enforce {execution: default-enforce}] > [INFO] [resources:resources {execution: default-resources}] > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 33 resources > [INFO] [scala:compile {execution: scala-compile}] > [INFO] Checking for multiple versions of scala > [INFO] includes = [**/*.scala,**/*.java,] > [INFO] excludes = [] > [INFO] Compiling 0 source files to /home/httpd/liftweb.org/app/ror/ > public/1.1-M8/lift-base/lift-webkit/target/classes > [INFO] Nothing to compile - all classes are up to date > [INFO] [yuicompressor:compress {execution: default}] > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] null > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > java.lang.RuntimeException > at > com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSourceNumber > (JavaScriptCompressor.java:299) > at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse > (JavaScriptCompressor.java:335) > at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init> > (JavaScriptCompressor.java:532) > at net.sf.alchim.mojo.yuicompressor.YuiCompressorMojo.processFile > (YuiCompressorMojo.java:178) > at net.sf.alchim.mojo.yuicompressor.MojoSupport.processDir > (MojoSupport.java:151) > at net.sf.alchim.mojo.yuicompressor.MojoSupport.execute > (MojoSupport.java:103) > at org.apache.maven.plugin.DefaultPluginManager.executeMojo > (DefaultPluginManager.java:490) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > (DefaultLifecycleExecutor.java:694) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle > (DefaultLifecycleExecutor.java:556) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle > (DefaultLifecycleExecutor.java:1205) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle > (DefaultLifecycleExecutor.java:1038) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > (DefaultLifecycleExecutor.java:663) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle > (DefaultLifecycleExecutor.java:556) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal > (DefaultLifecycleExecutor.java:535) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures > (DefaultLifecycleExecutor.java:387) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments > (DefaultLifecycleExecutor.java:348) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute > (DefaultLifecycleExecutor.java:180) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) > at org.apache.maven.cli.compat.CompatibleMain.main > (CompatibleMain.java:60) > 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:616) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java: > 315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: > 430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 5 seconds > [INFO] Finished at: Sat Jan 09 21:04:08 CET 2010 > [INFO] Final Memory: 99M/635M > [INFO] > ------------------------------------------------------------------------ > > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to lift...@googlegroups.com. > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > > > >
-- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.