You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Greg Luck (JIRA)" <ji...@codehaus.org> on 2007/02/25 01:00:15 UTC
[jira] Created: (MJAVADOC-113) docletPath not working in 2.2 -
Cannot find doclet class ydoc.doclets.YStandard
docletPath not working in 2.2 - Cannot find doclet class ydoc.doclets.YStandard
-------------------------------------------------------------------------------
Key: MJAVADOC-113
URL: http://jira.codehaus.org/browse/MJAVADOC-113
Project: Maven 2.x Javadoc Plugin
Issue Type: Bug
Affects Versions: 2.2
Reporter: Greg Luck
I have two projects which use the javadoc plugin. Ehcache and JPam.
Both started giving this error in the last few days:
[INFO] Velocity successfully started.
[INFO] [javadoc:javadoc]
[WARNING] No docletpath option was found. Please review <docletpath/> or <docletArtifact/> or <doclets/>.
1 error
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
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:330)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
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.apache.maven.plugin.MojoExecutionException: An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
at org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:230)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 16 more
Caused by: org.apache.maven.reporting.MavenReportException: Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:1200)
at org.apache.maven.plugin.javadoc.JavadocReport.generate(JavadocReport.java:128)
at org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:216)
... 18 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Sun Feb 25 09:48:18 EST 2007
[INFO] Final Memory: 9M/17M
[INFO] ------------------------------------------------------------------------
Reverting to 2.0 by adding a version identifier of 2 fixes the problem:
<!-- javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.0</version>
</plugin>
If 2.0 works and 2.2 does not, is this a bug in 2.2 javadoc, or is it a bug in the parent project: org.apache.maven.plugins. The version in 2.2 is 4, in 2.0 it was 3.
<parent>
<artifactId>maven-plugins</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<version>4</version>
</parent>
I am working around by staying on 2.0.
--
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
[jira] Commented: (MJAVADOC-113) docletPath not working in 2.2 -
Cannot find doclet class ydoc.doclets.YStandard
Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAVADOC-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_96332 ]
Carlos Sanchez commented on MJAVADOC-113:
-----------------------------------------
<pluginRepositories>
<pluginRepository>
<id>apache.snapshots</id>
<name>Apache Snapshot Repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
> docletPath not working in 2.2 - Cannot find doclet class ydoc.doclets.YStandard
> -------------------------------------------------------------------------------
>
> Key: MJAVADOC-113
> URL: http://jira.codehaus.org/browse/MJAVADOC-113
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Greg Luck
>
> I have two projects which use the javadoc plugin. Ehcache and JPam.
> Both started giving this error in the last few days:
> [INFO] Velocity successfully started.
> [INFO] [javadoc:javadoc]
> [WARNING] No docletpath option was found. Please review <docletpath/> or <docletArtifact/> or <doclets/>.
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
> 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:330)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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.apache.maven.plugin.MojoExecutionException: An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> at org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:230)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> ... 16 more
> Caused by: org.apache.maven.reporting.MavenReportException: Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:1200)
> at org.apache.maven.plugin.javadoc.JavadocReport.generate(JavadocReport.java:128)
> at org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:216)
> ... 18 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 18 seconds
> [INFO] Finished at: Sun Feb 25 09:48:18 EST 2007
> [INFO] Final Memory: 9M/17M
> [INFO] ------------------------------------------------------------------------
> Reverting to 2.0 by adding a version identifier of 2 fixes the problem:
> <!-- javadoc -->
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> <version>2.0</version>
> </plugin>
> If 2.0 works and 2.2 does not, is this a bug in 2.2 javadoc, or is it a bug in the parent project: org.apache.maven.plugins. The version in 2.2 is 4, in 2.0 it was 3.
> <parent>
> <artifactId>maven-plugins</artifactId>
> <groupId>org.apache.maven.plugins</groupId>
> <version>4</version>
> </parent>
> I am working around by staying on 2.0.
--
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
[jira] Commented: (MJAVADOC-113) docletPath not working in 2.2 -
Cannot find doclet class ydoc.doclets.YStandard
Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAVADOC-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_90063 ]
Carlos Sanchez commented on MJAVADOC-113:
-----------------------------------------
After fixing MJAVADOC-115 is this fixed ?
> docletPath not working in 2.2 - Cannot find doclet class ydoc.doclets.YStandard
> -------------------------------------------------------------------------------
>
> Key: MJAVADOC-113
> URL: http://jira.codehaus.org/browse/MJAVADOC-113
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Greg Luck
>
> I have two projects which use the javadoc plugin. Ehcache and JPam.
> Both started giving this error in the last few days:
> [INFO] Velocity successfully started.
> [INFO] [javadoc:javadoc]
> [WARNING] No docletpath option was found. Please review <docletpath/> or <docletArtifact/> or <doclets/>.
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
> 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:330)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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.apache.maven.plugin.MojoExecutionException: An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> at org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:230)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> ... 16 more
> Caused by: org.apache.maven.reporting.MavenReportException: Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:1200)
> at org.apache.maven.plugin.javadoc.JavadocReport.generate(JavadocReport.java:128)
> at org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:216)
> ... 18 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 18 seconds
> [INFO] Finished at: Sun Feb 25 09:48:18 EST 2007
> [INFO] Final Memory: 9M/17M
> [INFO] ------------------------------------------------------------------------
> Reverting to 2.0 by adding a version identifier of 2 fixes the problem:
> <!-- javadoc -->
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> <version>2.0</version>
> </plugin>
> If 2.0 works and 2.2 does not, is this a bug in 2.2 javadoc, or is it a bug in the parent project: org.apache.maven.plugins. The version in 2.2 is 4, in 2.0 it was 3.
> <parent>
> <artifactId>maven-plugins</artifactId>
> <groupId>org.apache.maven.plugins</groupId>
> <version>4</version>
> </parent>
> I am working around by staying on 2.0.
--
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
[jira] Closed: (MJAVADOC-113) docletPath not working in 2.2 -
Cannot find doclet class ydoc.doclets.YStandard
Posted by "Greg Luck (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAVADOC-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Luck closed MJAVADOC-113.
------------------------------
Resolution: Fixed
Fix Version/s: 2.3
Thanks guys.
This is working now for my use case using 2.3-SNAPSHOT from the Apache People repo.
I have changed over to it.
> docletPath not working in 2.2 - Cannot find doclet class ydoc.doclets.YStandard
> -------------------------------------------------------------------------------
>
> Key: MJAVADOC-113
> URL: http://jira.codehaus.org/browse/MJAVADOC-113
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Greg Luck
> Fix For: 2.3
>
>
> I have two projects which use the javadoc plugin. Ehcache and JPam.
> Both started giving this error in the last few days:
> [INFO] Velocity successfully started.
> [INFO] [javadoc:javadoc]
> [WARNING] No docletpath option was found. Please review <docletpath/> or <docletArtifact/> or <doclets/>.
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
> 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:330)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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.apache.maven.plugin.MojoExecutionException: An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> at org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:230)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> ... 16 more
> Caused by: org.apache.maven.reporting.MavenReportException: Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:1200)
> at org.apache.maven.plugin.javadoc.JavadocReport.generate(JavadocReport.java:128)
> at org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:216)
> ... 18 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 18 seconds
> [INFO] Finished at: Sun Feb 25 09:48:18 EST 2007
> [INFO] Final Memory: 9M/17M
> [INFO] ------------------------------------------------------------------------
> Reverting to 2.0 by adding a version identifier of 2 fixes the problem:
> <!-- javadoc -->
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> <version>2.0</version>
> </plugin>
> If 2.0 works and 2.2 does not, is this a bug in 2.2 javadoc, or is it a bug in the parent project: org.apache.maven.plugins. The version in 2.2 is 4, in 2.0 it was 3.
> <parent>
> <artifactId>maven-plugins</artifactId>
> <groupId>org.apache.maven.plugins</groupId>
> <version>4</version>
> </parent>
> I am working around by staying on 2.0.
--
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
[jira] Commented: (MJAVADOC-113) docletPath not working in 2.2 -
Cannot find doclet class ydoc.doclets.YStandard
Posted by "Greg Luck (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAVADOC-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_96331 ]
Greg Luck commented on MJAVADOC-113:
------------------------------------
Hi
I am trying to test this. What repository and version number do I need to use? I tried 2.3-SNAPSHOT and SNAPSHOT but neither resolved. What repo do I need?
Greg
> docletPath not working in 2.2 - Cannot find doclet class ydoc.doclets.YStandard
> -------------------------------------------------------------------------------
>
> Key: MJAVADOC-113
> URL: http://jira.codehaus.org/browse/MJAVADOC-113
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Greg Luck
>
> I have two projects which use the javadoc plugin. Ehcache and JPam.
> Both started giving this error in the last few days:
> [INFO] Velocity successfully started.
> [INFO] [javadoc:javadoc]
> [WARNING] No docletpath option was found. Please review <docletpath/> or <docletArtifact/> or <doclets/>.
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
> 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:330)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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.apache.maven.plugin.MojoExecutionException: An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> at org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:230)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> ... 16 more
> Caused by: org.apache.maven.reporting.MavenReportException: Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:1200)
> at org.apache.maven.plugin.javadoc.JavadocReport.generate(JavadocReport.java:128)
> at org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:216)
> ... 18 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 18 seconds
> [INFO] Finished at: Sun Feb 25 09:48:18 EST 2007
> [INFO] Final Memory: 9M/17M
> [INFO] ------------------------------------------------------------------------
> Reverting to 2.0 by adding a version identifier of 2 fixes the problem:
> <!-- javadoc -->
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> <version>2.0</version>
> </plugin>
> If 2.0 works and 2.2 does not, is this a bug in 2.2 javadoc, or is it a bug in the parent project: org.apache.maven.plugins. The version in 2.2 is 4, in 2.0 it was 3.
> <parent>
> <artifactId>maven-plugins</artifactId>
> <groupId>org.apache.maven.plugins</groupId>
> <version>4</version>
> </parent>
> I am working around by staying on 2.0.
--
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
[jira] Commented: (MJAVADOC-113) docletPath not working in 2.2 -
Cannot find doclet class ydoc.doclets.YStandard
Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAVADOC-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_96162 ]
Vincent Siveton commented on MJAVADOC-113:
------------------------------------------
Greg, could we close it?
> docletPath not working in 2.2 - Cannot find doclet class ydoc.doclets.YStandard
> -------------------------------------------------------------------------------
>
> Key: MJAVADOC-113
> URL: http://jira.codehaus.org/browse/MJAVADOC-113
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Greg Luck
>
> I have two projects which use the javadoc plugin. Ehcache and JPam.
> Both started giving this error in the last few days:
> [INFO] Velocity successfully started.
> [INFO] [javadoc:javadoc]
> [WARNING] No docletpath option was found. Please review <docletpath/> or <docletArtifact/> or <doclets/>.
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
> 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:330)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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.apache.maven.plugin.MojoExecutionException: An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> at org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:230)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> ... 16 more
> Caused by: org.apache.maven.reporting.MavenReportException: Exit code: 1 - javadoc: error - Cannot find doclet class ydoc.doclets.YStandard
> Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages
> at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:1200)
> at org.apache.maven.plugin.javadoc.JavadocReport.generate(JavadocReport.java:128)
> at org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:216)
> ... 18 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 18 seconds
> [INFO] Finished at: Sun Feb 25 09:48:18 EST 2007
> [INFO] Final Memory: 9M/17M
> [INFO] ------------------------------------------------------------------------
> Reverting to 2.0 by adding a version identifier of 2 fixes the problem:
> <!-- javadoc -->
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> <version>2.0</version>
> </plugin>
> If 2.0 works and 2.2 does not, is this a bug in 2.2 javadoc, or is it a bug in the parent project: org.apache.maven.plugins. The version in 2.2 is 4, in 2.0 it was 3.
> <parent>
> <artifactId>maven-plugins</artifactId>
> <groupId>org.apache.maven.plugins</groupId>
> <version>4</version>
> </parent>
> I am working around by staying on 2.0.
--
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