Hmm, scala:doc doesn't like this.

Please do a mvn clean before doing the site generation.
"mvn clean site" should work.

Cheers, Indrajit

On 10/01/10 8:11 PM, JAZ wrote:
On Sat, Jan 9, 2010 at 8:55 PM, David Pollak
<[email protected]>  wrote:

There is a known issue with the openjdk and the YUI compressor library.  If
it's possible for you to try the Sun JDK, I think things should work.

There is no problem in Mac OS-X 10.6.2, but it is in Ubuntu (I only
changed JAVA_HOME and PATH pointing to the latest Sun JDK)

$ java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)


$ mvn -v
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_17
Java home: /opt/jdk1.6.0_17/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.28-11-server" arch: "amd64" Family: "unix"

$ 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 site -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Lift Web Framework
[INFO]   Lift Base Components
[INFO]   Lift Common
[INFO]   Lift Actor
[INFO]   Lift Json
[INFO]   Lift Util
[INFO]   Lift WebKit
[INFO]   Lift Persistence Components
[INFO]   Lift Mapper
[INFO]   Lift JPA
[INFO]   Lift Record
[INFO]   Lift Addon Modules
[INFO]   Lift TestKit
[INFO]   Lift OSGi
[INFO]   Lift Wizard
[INFO]   Lift Widgets
[INFO]   Lift Machine
[INFO]   Lift Textile
[INFO]   Lift Facebook
[INFO]   Lift AMQP
[INFO]   Lift XMPP
[INFO]   Lift OpenID
[INFO]   Lift OAuth
[INFO]   Lift PayPal
[INFO]   Lift JTA
[INFO]   Lift Core (full lift)
[INFO] ------------------------------------------------------------------------
[INFO] Building Lift Web Framework
[INFO]    task-segment: [site]
[INFO] ------------------------------------------------------------------------
[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}]
[INFO] Preparing javadoc:test-javadoc
[INFO] [enforcer:enforce {execution: default}]
[INFO] [resources:copy-resources {execution: default-copy-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] [scala:compile {execution: default}]
[INFO] Checking for multiple versions of scala
[INFO] includes = [**/*.scala,**/*.java,]
[INFO] excludes = []
[WARNING] No source files found.
[INFO] Preparing surefire-report:report-only
[INFO] [enforcer:enforce {execution: default}]
[INFO] [site:site {execution: default-site}]
[INFO] Generating "Changes Report" report.
[WARNING] [XHTML Sink] Modified invalid anchor name: 'Changes in Lift
Web Framework' to 'Changes_in_Lift_Web_Framework'
[WARNING] [XHTML Sink] Modified invalid anchor name: 'Release History'
to 'Release_History'
[INFO] Generating "Dependency Convergence" report.
[INFO] Generating "Project Plugins" report.
[INFO] Generating "Project License" report.
[INFO] Generating "Project Team" report.
[INFO] Generating "Project Summary" report.
[INFO] Generating "Continuous Integration" report.
[INFO] Generating "About" report.
[INFO] Generating "Issue Tracking" report.
[INFO] Generating "Source Repository" report.
[INFO] Generating "Mailing Lists" report.
[INFO] Generating "Dependencies" report.
[INFO] Generating "Surefire Report" report.
[INFO] Generating "ScalaDocs" report.
[INFO] Generating Sitemap.
[INFO] ------------------------------------------------------------------------
[INFO] Building Lift Base Components
[INFO]    task-segment: [site]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing javadoc:javadoc
[INFO] [enforcer:enforce {execution: default}]
[INFO] Preparing javadoc:test-javadoc
[INFO] [enforcer:enforce {execution: default}]
[INFO] [resources:copy-resources {execution: default-copy-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] [scala:compile {execution: default}]
[INFO] Checking for multiple versions of scala
[INFO] includes = [**/*.scala,**/*.java,]
[INFO] excludes = []
[WARNING] No source files found.
[INFO] Preparing surefire-report:report-only
[INFO] [enforcer:enforce {execution: default}]
[INFO] [site:site {execution: default-site}]
[INFO] Generating "Surefire Report" report.
[INFO] Generating "Dependency Convergence" report.
[INFO] Generating "Project Plugins" report.
[INFO] Generating "Project Summary" report.
[INFO] Generating "About" report.
[INFO] Generating "Dependencies" report.
[INFO] Generating Sitemap.
[INFO] ------------------------------------------------------------------------
[INFO] Building Lift Common
[INFO]    task-segment: [site]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing javadoc:javadoc
[INFO] [enforcer:enforce {execution: default}]
[INFO] Preparing javadoc:test-javadoc
[INFO] [enforcer:enforce {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/usr/local/src/SCALA/liftweb/framework/lift-base/lift-common/src/main/resources
[INFO] [resources:copy-resources {execution: default-copy-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [scala:compile {execution: default}]
[INFO] Checking for multiple versions of scala
[INFO] Nothing to compile - all classes are up to date
[INFO] Preparing surefire-report:report-only
[INFO] [enforcer:enforce {execution: default}]
[INFO] [site:site {execution: default-site}]
[INFO] Generating "Surefire Report" report.
[INFO] Generating "ScalaDocs" report.
[INFO] Checking for multiple versions of scala
load packageLinkDefs from
:file:/usr/local/src/SCALA/liftweb/framework/lift-base/lift-common/target/packageLinkDefs.properties
failed to load 
PackageLinkDefs(file:/usr/local/src/SCALA/liftweb/framework/lift-base/lift-common/target/packageLinkDefs.properties)
:/usr/local/src/SCALA/liftweb/framework/lift-base/lift-common/target/packageLinkDefs.properties
(No such file or directory)
Jan 10, 2010 2:23:03 AM org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write page for overview
Jan 10, 2010 2:23:03 AM org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write page for all-classes (list)
Jan 10, 2010 2:23:03 AM org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write index.html
Jan 10, 2010 2:23:03 AM org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write doc for  each classes
[INFO] Generating "Dependency Convergence" report.
[INFO] Generating "Project Plugins" report.
[INFO] Generating "Project Summary" report.
[INFO] Generating "About" report.
[INFO] Generating "Dependencies" report.
[INFO] Generating Sitemap.
[INFO] ------------------------------------------------------------------------
[INFO] Building Lift Actor
[INFO]    task-segment: [site]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing javadoc:javadoc
[INFO] snapshot net.liftweb:lift-common:2.0-SNAPSHOT: checking for
updates from scala-tools.release
[INFO] [enforcer:enforce {execution: default}]
[INFO] Preparing javadoc:test-javadoc
[INFO] [enforcer:enforce {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/usr/local/src/SCALA/liftweb/framework/lift-base/lift-actor/src/main/resources
[INFO] [resources:copy-resources {execution: default-copy-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [scala:compile {execution: default}]
[INFO] Checking for multiple versions of scala
[INFO] Nothing to compile - all classes are up to date
[INFO] Preparing surefire-report:report-only
[INFO] [enforcer:enforce {execution: default}]
[INFO] [site:site {execution: default-site}]
[INFO] Generating "Surefire Report" report.
[INFO] Generating "ScalaDocs" report.
[INFO] Checking for multiple versions of scala
load packageLinkDefs from
:file:/usr/local/src/SCALA/liftweb/framework/lift-base/lift-actor/target/packageLinkDefs.properties
Jan 10, 2010 2:23:15 AM org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write page for overview
Jan 10, 2010 2:23:15 AM org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write page for all-classes (list)
Jan 10, 2010 2:23:15 AM org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write index.html
Jan 10, 2010 2:23:15 AM org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write doc for  each classes
[INFO] Generating "Dependency Convergence" report.
[INFO] Generating "Project Plugins" report.
[INFO] Generating "Project Summary" report.
[INFO] Generating "About" report.
[INFO] Generating "Dependencies" report.
[INFO] Generating Sitemap.
[INFO] ------------------------------------------------------------------------
[INFO] Building Lift Json
[INFO]    task-segment: [site]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing javadoc:javadoc
[INFO] [enforcer:enforce {execution: default}]
[INFO] Preparing javadoc:test-javadoc
[INFO] [enforcer:enforce {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/usr/local/src/SCALA/liftweb/framework/lift-base/lift-json/src/main/resources
[INFO] [resources:copy-resources {execution: default-copy-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [scala:compile {execution: default}]
[INFO] Checking for multiple versions of scala
[INFO] Nothing to compile - all classes are up to date
[INFO] Preparing surefire-report:report-only
[INFO] [enforcer:enforce {execution: default}]
[INFO] [site:site {execution: default-site}]
[INFO] Generating "Surefire Report" report.
[INFO] Generating "ScalaDocs" report.
[INFO] Checking for multiple versions of scala
/usr/local/src/SCALA/liftweb/framework/lift-base/lift-json/src/main/scala/net/liftweb/json/JsonParser.scala:21:
error: JsonParser is already defined as package JsonParser
object JsonParser {
        ^
/usr/local/src/SCALA/liftweb/framework/lift-base/lift-json/src/main/scala/net/liftweb/json/JsonAST.scala:19:
error: JsonAST is already defined as package JsonAST
object JsonAST {
        ^
/usr/local/src/SCALA/liftweb/framework/lift-base/lift-json/src/main/scala/net/liftweb/json/JsonAST.scala:359:
error: JsonDSL is already defined as package JsonDSL
object JsonDSL extends Implicits with Printer {
        ^
load packageLinkDefs from
:file:/usr/local/src/SCALA/liftweb/framework/lift-base/lift-json/target/packageLinkDefs.properties
failed to load 
PackageLinkDefs(file:/usr/local/src/SCALA/liftweb/framework/lift-base/lift-json/target/packageLinkDefs.properties)
:/usr/local/src/SCALA/liftweb/framework/lift-base/lift-json/target/packageLinkDefs.properties
(No such file or directory)
Jan 10, 2010 2:23:31 AM org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write page for overview
Jan 10, 2010 2:23:31 AM org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write page for all-classes (list)
Jan 10, 2010 2:23:31 AM org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write index.html
Jan 10, 2010 2:23:31 AM org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write doc for  each classes
three errors found
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error during page generation

Embedded error: Error rendering Maven report: wrap: Process exited
with an error: 1(Exit value: 1)
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error during
page generation
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
        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:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error
during page generation
        at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:114)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        ... 17 more
Caused by: org.apache.maven.doxia.siterenderer.RendererException:
Error rendering Maven report: wrap: Process exited with an error:
1(Exit value: 1)
        at 
org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:174)
        at 
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:328)
        at 
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:132)
        at 
org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:142)
        at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:109)
        ... 19 more
Caused by: org.apache.maven.reporting.MavenReportException: wrap:
Process exited with an error: 1(Exit value: 1)
        at org_scala_tools_maven.ScalaDocMojo.generate(ScalaDocMojo.java:350)
        at 
org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:164)
        ... 23 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited
with an error: 1(Exit value: 1)
        at 
org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:346)
        at 
org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:149)
        at 
org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:136)
        at 
org_scala_tools_maven_executions.JavaMainCallerByFork.run(JavaMainCallerByFork.java:84)
        at 
org_scala_tools_maven_executions.JavaMainCallerSupport.run(JavaMainCallerSupport.java:97)
        at org_scala_tools_maven.ScalaDocMojo.generate(ScalaDocMojo.java:328)
        ... 24 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 51 seconds
[INFO] Finished at: Sun Jan 10 02:23:31 CET 2010
[INFO] Final Memory: 104M/644M
[INFO] ------------------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to