You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Mark Webb <el...@gmail.com> on 2007/06/22 21:23:16 UTC

building javadocs

How can I build the javadocs for MINA?  I tried "mvn site" and get the
following error:

[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Apache MINA Core API
[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] 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] [site:site]
[WARNING] Unable to load parent project from repository: Could not find the
model file 'XXXXX/mina-core/../pom.xml'.
[INFO] Generate "Continuous Integration" report.
[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
[INFO] Generate "Dependencies" report.
[INFO] Generate "Issue Tracking" report.
[INFO] Generate "Project License" report.
[INFO] Generate "Mailing Lists" report.
[INFO] Generate "About" report.
[INFO] Generate "Project Summary" report.
[INFO] Generate "Source Repository" report.
[INFO] Generate "Project Team" report.
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Fri Jun 22 15:21:41 EDT 2007
[INFO] Final Memory: 15M/80M
[INFO]
------------------------------------------------------------------------

Re: building javadocs

Posted by Enrique Rodriguez <en...@gmail.com>.
On 6/22/07, Mark Webb <el...@gmail.com> wrote:
> I think what happened was:
>
> 1. I checked out trunk
> 2. ran "mvn eclipse:eclipse"
> 3. imported the eclipse projects into my eclipse workspace
> 4. tried running "mvn site" from workspace/mina-core and got the errors

MINA uses Confluence for the site so I suspect something isn't
configured at all to build a site.  Since you just want the javadocs
you can run:

$ mvn javadoc:javadoc

That worked for me on trunk.

Enrique

Re: building javadocs

Posted by Mark Webb <el...@gmail.com>.
I think what happened was:

1. I checked out trunk
2. ran "mvn eclipse:eclipse"
3. imported the eclipse projects into my eclipse workspace
4. tried running "mvn site" from workspace/mina-core and got the errors


On 6/22/07, Maarten Bosteels <mb...@gmail.com> wrote:
>
> Mark,
>
> I think you should go up one directory. I just checked out both 1.1 and
> the
> trunk and both build fine:
>
> However, when I cd into ./trunk/core and run "mvn site" I get the same
> errors as you.
>
> HTH
> Maarten
>
>
> On 6/22/07, Mark Webb <el...@gmail.com> wrote:
> >
> > How can I build the javadocs for MINA?  I tried "mvn site" and get the
> > following error:
> >
> > [INFO] Scanning for projects...
> > [INFO]
> >
> >
> ----------------------------------------------------------------------------
> > [INFO] Building Apache MINA Core API
> > [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] 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] [site:site]
> > [WARNING] Unable to load parent project from repository: Could not find
> > the
> > model file 'XXXXX/mina-core/../pom.xml'.
> > [INFO] Generate "Continuous Integration" report.
> > [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> got
> > 0
> > [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> > [INFO] Generate "Dependencies" report.
> > [INFO] Generate "Issue Tracking" report.
> > [INFO] Generate "Project License" report.
> > [INFO] Generate "Mailing Lists" report.
> > [INFO] Generate "About" report.
> > [INFO] Generate "Project Summary" report.
> > [INFO] Generate "Source Repository" report.
> > [INFO] Generate "Project Team" report.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESSFUL
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 4 seconds
> > [INFO] Finished at: Fri Jun 22 15:21:41 EDT 2007
> > [INFO] Final Memory: 15M/80M
> > [INFO]
> > ------------------------------------------------------------------------
> >
>



-- 
..Cheers
Mark

Re: building javadocs

Posted by Maarten Bosteels <mb...@gmail.com>.
Mark,

I think you should go up one directory. I just checked out both 1.1 and the
trunk and both build fine:

However, when I cd into ./trunk/core and run "mvn site" I get the same
errors as you.

HTH
Maarten


On 6/22/07, Mark Webb <el...@gmail.com> wrote:
>
> How can I build the javadocs for MINA?  I tried "mvn site" and get the
> following error:
>
> [INFO] Scanning for projects...
> [INFO]
>
> ----------------------------------------------------------------------------
> [INFO] Building Apache MINA Core API
> [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] 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] [site:site]
> [WARNING] Unable to load parent project from repository: Could not find
> the
> model file 'XXXXX/mina-core/../pom.xml'.
> [INFO] Generate "Continuous Integration" report.
> [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got
> 0
> [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> [INFO] Generate "Dependencies" report.
> [INFO] Generate "Issue Tracking" report.
> [INFO] Generate "Project License" report.
> [INFO] Generate "Mailing Lists" report.
> [INFO] Generate "About" report.
> [INFO] Generate "Project Summary" report.
> [INFO] Generate "Source Repository" report.
> [INFO] Generate "Project Team" report.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Fri Jun 22 15:21:41 EDT 2007
> [INFO] Final Memory: 15M/80M
> [INFO]
> ------------------------------------------------------------------------
>