continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Banck, Arent-Jan" <ajba...@informatica.com>
Subject RE: Errors building continuum-site on toc macro
Date Fri, 26 Oct 2007 09:03:58 GMT
Thanks,
Can indeed be fixed by adding to the pom:
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>2.0-beta-6-SNAPSHOT</version>
      </plugin> 

- Arent-Jan

-----Original Message-----
From: oliver.lamy@gmail.com [mailto:oliver.lamy@gmail.com] On Behalf Of
olivier lamy
Sent: Thursday, October 25, 2007 2:25 PM
To: continuum-dev@maven.apache.org
Subject: Re: Errors building continuum-site on toc macro

Hi,
Have you try with last maven-site-plugin snapshot ?
I think you have to.
--
Olivier

2007/10/25, Banck, Arent-Jan <ajbanck@informatica.com>:
> Hi,
> I am trying to build continuum-dev, but get errors on some apt files 
> on the toc macro. When this happens the generated html has is 0
length.
> Do I need to configure anything to avoid this error?
>
> [WARNING] Error loading report
> org.apache.maven.changelog.FileActivityReport - AbstractMethodError:
> canGenerateReport()
> [INFO] Skipped "About" report, file "index.html" already exists for 
> the English version.
> [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 [ERROR] Error parsing
> C:\maven\svn\continuum-trunk\continuum-site\src\site\apt\documentation
> \1
> _1\administrator_guides\pr
> ofiles.apt: line [11] Unable to find macro used in the APT document
> org.apache.maven.doxia.module.apt.AptParseException: Unable to find 
> macro used in the APT document
>         at
> org.apache.maven.doxia.module.apt.AptParser.parse(AptParser.java:131)
>         at
> org.apache.maven.doxia.DefaultDoxia.parse(DefaultDoxia.java:52)
>         at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderDocument
> (D
> efaultSiteRenderer.java:264)
>         at
> org.apache.maven.doxia.siterenderer.DoxiaDocumentRenderer.renderDocume
> nt
> (DoxiaDocumentRenderer.java:43)
>         at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(D
> ef
> aultSiteRenderer.java:239)
>         at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(Default
> Si
> teRenderer.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(DefaultPlugin
> Ma
> nager.java:443)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defau
> lt
> LifecycleExecutor.java:539)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneG
> oa
> l(DefaultLifecycleExecutor.java:493)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defaul
> tL
> ifecycleExecutor.java:463)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand
> le
> Failures(DefaultLifecycleExecutor.java:311)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment
> s(
> DefaultLifecycleExecutor.java:278)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLif
> ec
> ycleExecutor.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.j
> av
> a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> or
> Impl.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.apache.maven.doxia.module.apt.AptParseException: Unable

> to find macro used in the APT document
>         at
> org.apache.maven.doxia.module.apt.AptParser$MacroBlock.traverse(AptPar
> se
> r.java:2153)
>         at
> org.apache.maven.doxia.module.apt.AptParser.traverseSectionBlocks(AptP
> ar
> ser.java:261)
>         at
> org.apache.maven.doxia.module.apt.AptParser.traverseSection(AptParser.
> ja
> va:214)
>         at
>
org.apache.maven.doxia.module.apt.AptParser.traverseBody(AptParser.java:
> 173)
>         at
> org.apache.maven.doxia.module.apt.AptParser.parse(AptParser.java:123)
>         ... 25 more
> Caused by:
org.apache.maven.doxia.macro.manager.MacroNotFoundException:
> Cannot find macro with id = toc
>


--
Olivier

Mime
View raw message