maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samuel Langlois (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MJAVADOC-101) Embedded error: Error rendering Maven report
Date Mon, 04 Dec 2006 10:03:44 GMT
    [ http://jira.codehaus.org/browse/MJAVADOC-101?page=comments#action_81701 ] 
            
Samuel Langlois commented on MJAVADOC-101:
------------------------------------------

I have the same error with maven-javadoc-plugin version 2.1
I attach the result of "mvn javadoc:javadoc -X"
Is there any workaround?

Thanks

> Embedded error: Error rendering Maven report
> --------------------------------------------
>
>                 Key: MJAVADOC-101
>                 URL: http://jira.codehaus.org/browse/MJAVADOC-101
>             Project: Maven 2.x Javadoc Plugin
>          Issue Type: Bug
>         Environment: XP
> java version "1.4.2_10"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
> Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)
>            Reporter: Bose Daggubati
>         Attachments: javadoc-2.1.log, Maven Site issue.txt, pom.xml, pom.xml
>
>
> 2 errors
> 1 warning
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: Exit code: 1 - C:/ExpressContact/StandAlone/RandomizationEngine/src/main/java/com/express_scripts/imms/randeng/domain/Client.java:21:
warning: as of release 1.4, assert
> is a keyword, and may not be used as an identifier
>     assert (planTypeId == null) || (bplId == null) : "A Client (from a Randomization
Standpoint) should not have both a PLAN TYPE ID and BPL ID";
>     ^
> C:/ExpressContact/StandAlone/RandomizationEngine/src/main/java/com/express_scripts/imms/randeng/domain/Client.java:21:
not a statement
>     assert (planTypeId == null) || (bplId == null) : "A Client (from a Randomization
Standpoint) should not have both a PLAN TYPE ID and BPL ID";
>                                 ^
> C:/ExpressContact/StandAlone/RandomizationEngine/src/main/java/com/express_scripts/imms/randeng/domain/Client.java:21:
';' expected
>     assert (planTypeId == null) || (bplId == null) : "A Client (from a Randomization
Standpoint) should not have both a PLAN TYPE ID and BPL ID";
>                                                    ^
> [INFO] ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error during page generation
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         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:324)
>         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:97)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
>         ... 16 more
> Caused by: org.apache.maven.doxia.siterenderer.RendererException: Error rendering Maven
report: Exit code: 1 - C:/ExpressContact/StandAlone/RandomizationEngine/src/main/java/com/express_scripts/imms/randeng/domain/C
> lient.java:21: warning: as of release 1.4, assert is a keyword, and may not be used as
an identifier
>     assert (planTypeId == null) || (bplId == null) : "A Client (from a Randomization
Standpoint) should not have both a PLAN TYPE ID and BPL ID";
>     ^
> C:/ExpressContact/StandAlone/RandomizationEngine/src/main/java/com/express_scripts/imms/randeng/domain/Client.java:21:
not a statement
>     assert (planTypeId == null) || (bplId == null) : "A Client (from a Randomization
Standpoint) should not have both a PLAN TYPE ID and BPL ID";
>                                 ^
> C:/ExpressContact/StandAlone/RandomizationEngine/src/main/java/com/express_scripts/imms/randeng/domain/Client.java:21:
';' expected
>     assert (planTypeId == null) || (bplId == null) : "A Client (from a Randomization
Standpoint) should not have both a PLAN TYPE ID and BPL ID";
>                                                    ^
>         at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:71)
>         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)
>         ... 18 more
> Caused by: org.apache.maven.reporting.MavenReportException: Exit code: 1 - C:/ExpressContact/StandAlone/RandomizationEngine/src/main/java/com/express_scripts/imms/randeng/domain/Client.java:21:
warning: as of releas
> e 1.4, assert is a keyword, and may not be used as an identifier
>     assert (planTypeId == null) || (bplId == null) : "A Client (from a Randomization
Standpoint) should not have both a PLAN TYPE ID and BPL ID";
>     ^
> C:/ExpressContact/StandAlone/RandomizationEngine/src/main/java/com/express_scripts/imms/randeng/domain/Client.java:21:
not a statement
>     assert (planTypeId == null) || (bplId == null) : "A Client (from a Randomization
Standpoint) should not have both a PLAN TYPE ID and BPL ID";
>                                 ^
> C:/ExpressContact/StandAlone/RandomizationEngine/src/main/java/com/express_scripts/imms/randeng/domain/Client.java:21:
';' expected
>     assert (planTypeId == null) || (bplId == null) : "A Client (from a Randomization
Standpoint) should not have both a PLAN TYPE ID and BPL ID";
>                                                    ^
>         at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:845)
>         at org.apache.maven.plugin.javadoc.JavadocReport.generate(JavadocReport.java:104)
>         at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:67)
>         ... 22 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 37 seconds
> [INFO] Finished at: Tue Nov 14 13:31:30 CST 2006
> [INFO] Final Memory: 28M/50M
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message