Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0
-
None
-
None
Description
I've got an apt.vm file which leads to an AptParseException. Nevertheless, mvn site reports the build as a success.
[ERROR] Error parsing /home/ckutz/procurement/eclipse_ws/argo-procurement/src/site/apt/release-notes.apt.vm: line [94] expected SECTION2, found SECTION4
org.apache.maven.doxia.module.apt.AptParseException: expected SECTION2, found SECTION4
at org.apache.maven.doxia.module.apt.AptParser.parse(AptParser.java:189)
at org.apache.maven.doxia.DefaultDoxia.parse(DefaultDoxia.java:59)
at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderDocument(DefaultSiteRenderer.java:376)
at org.apache.maven.doxia.siterenderer.DoxiaDocumentRenderer.renderDocument(DoxiaDocumentRenderer.java:52)
at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:303)
at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:135)
at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:133)
at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:100)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
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.doxia.module.apt.AptParseException: expected SECTION2, found SECTION4
at org.apache.maven.doxia.module.apt.AptParser.expectedBlock(AptParser.java:914)
at org.apache.maven.doxia.module.apt.AptParser.traverseSection(AptParser.java:277)
at org.apache.maven.doxia.module.apt.AptParser.traverseSection(AptParser.java:313)
at org.apache.maven.doxia.module.apt.AptParser.traverseBody(AptParser.java:255)
at org.apache.maven.doxia.module.apt.AptParser.parse(AptParser.java:181)
... 25 more
[INFO] Generating "Dependency Convergence" report.
[..snip...]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14 seconds
[INFO] Finished at: Fri Apr 24 12:25:10 CEST 2009
[INFO] Final Memory: 83M/1958M
[INFO] ------------------------------------------------------------------------
Note: this is a multimodule project with the faulty apt.vm being in the 'parent' module
Attachments
Issue Links
- depends upon
-
MSITE-298 Update to Doxia 1.1.1
- Closed