Robert Burrell Donkin ha scritto:
> the maven site generation for JAMES server is broken for me. it seems
> that the master stage directory is not longer included. anyone know
> why?
> 
> - robert
> 
> [EMAIL PROTECTED] /opt/development/james-workspace $ mvn site

I've no time right now, I hope I can look at it later or tomorrow:
can you try a "mvn package install" first and the the "mvn site"?

The problem is that it does not find the test jar: maybe there is a
problem in the default m2 lifecycle for "site" that does not take care
of making test jars available in a reactor build.

What maven version are you using?

I also noticed there is an XML error in dns_configuration.xml that
probably will not create its page, but this is not related with the
dependency problem.

Stefano

[...]
> [ERROR] Error parsing
> /opt/development/james-workspace/src/site/xdoc/dns_configuration.xml:
> line [-1] Error parsing the model.
> org.apache.maven.doxia.parser.ParseException: Error parsing the model.
>         at 
> org.apache.maven.doxia.module.xdoc.XdocParser.parse(XdocParser.java:55)
>         at org.apache.maven.doxia.DefaultDoxia.parse(DefaultDoxia.java:52)
>         at 
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderDocument(DefaultSiteRenderer.java:264)
>         at 
> org.apache.maven.doxia.siterenderer.DoxiaDocumentRenderer.renderDocument(DoxiaDocumentRenderer.java:43)
>         at 
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:239)
>         at 
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:115)
>         at 
> org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124)
>         at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
>         at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>         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:585)
>         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.codehaus.plexus.util.xml.pull.XmlPullParserException:
> end tag name </p> must match start tag name <strong> from line 60
> (position: TEXT seen ...</strong> seconds.</p>... @60:382)
>         at 
> org.codehaus.plexus.util.xml.pull.MXParser.parseEndTag(MXParser.java:1686)
>         at 
> org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1128)
>         at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1090)
>         at 
> org.apache.maven.doxia.module.xdoc.XdocParser.parseXdoc(XdocParser.java:312)
>         at 
> org.apache.maven.doxia.module.xdoc.XdocParser.parse(XdocParser.java:51)
>         ... 25 more
> [INFO] Generate "JavaDocs" report.
[...]
> Missing:
> ----------
> 1) org.apache.james:james-server-imap-api:test-jar:tests:3.0-SNAPSHOT
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.james
> -DartifactId=james-server-imap-api \
>           -Dversion=3.0-SNAPSHOT -Dclassifier=tests
> -Dpackaging=test-jar -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file
> there:       mvn deploy:deploy-file -DgroupId=org.apache.james
> -DartifactId=james-server-imap-api \
>           -Dversion=3.0-SNAPSHOT -Dclassifier=tests
> -Dpackaging=test-jar -Dfile=/path/to/file \
>            -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>         1) org.apache.james:james-server-imap-codec-library:jar:3.0-SNAPSHOT
>         2) org.apache.james:james-server-imap-api:test-jar:tests:3.0-SNAPSHOT
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact:
>   org.apache.james:james-server-imap-codec-library:jar:3.0-SNAPSHOT
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   parent-james-stage-m1
> (file:///opt/development/james-workspace/imap-codec-library/../stage),
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   local-james-stage-m1
> (file:///opt/development/james-workspace/imap-codec-library/stage),
>   apache.releases (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
> 
> 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 25 seconds
> [INFO] Finished at: Sat Nov 10 07:47:03 GMT 2007
> [INFO] Final Memory: 34M/81M
> [INFO] 
> ------------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to