oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OODT-175) cas-wm-webapp javadoc fails maven build
Date Tue, 26 Apr 2011 04:47:03 GMT

    [ https://issues.apache.org/jira/browse/OODT-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025068#comment-13025068
] 

Chris A. Mattmann commented on OODT-175:
----------------------------------------

Since this webapp is going away, it's not a huge issue, but I've got a fix for this I'll commit
as part of working on OODT-156. 

> cas-wm-webapp javadoc fails maven build
> ---------------------------------------
>
>                 Key: OODT-175
>                 URL: https://issues.apache.org/jira/browse/OODT-175
>             Project: OODT
>          Issue Type: Bug
>    Affects Versions: 0.2
>         Environment: none
>            Reporter: Brian Foster
>            Assignee: Chris A. Mattmann
>            Priority: Minor
>             Fix For: 0.3
>
>
> building cas-wm-webapp with java 1.6 (i.e. trunk/webapp/workflow) complains that javadoc
can't run because there are no public or protected classes . . .
> here is the java version i'm using on my mac:
> $ java -version
> java version "1.6.0_24"
> Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334)
> Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)
> here is the stack trace:
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.7:javadoc
(attach-javadocs) on project cas-wm-webapp: An error has occurred in JavaDocs report generation:
> Exit code: 1 - javadoc: error - No public or protected classes found to document.
> Command line was: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javadoc
@options @packages
> Refer to the generated Javadoc files in '/Users/bfoster/Documents/oodt-workspace/oodt-trunk/webapp/workflow/target/site/apidocs'
dir.
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>     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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoExecutionException: An error has occurred in JavaDocs
report generation:
> Exit code: 1 - javadoc: error - No public or protected classes found to document.
> Command line was: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javadoc
@options @packages
> Refer to the generated Javadoc files in '/Users/bfoster/Documents/oodt-workspace/oodt-trunk/webapp/workflow/target/site/apidocs'
dir.
>     at org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:298)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>     ... 19 more
> Caused by: org.apache.maven.reporting.MavenReportException:
> Exit code: 1 - javadoc: error - No public or protected classes found to document.
> Command line was: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javadoc
@options @packages
> Refer to the generated Javadoc files in '/Users/bfoster/Documents/oodt-workspace/oodt-trunk/webapp/workflow/target/site/apidocs'
dir.
>     at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeJavadocCommandLine(AbstractJavadocMojo.java:5021)
>     at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:1964)
>     at org.apache.maven.plugin.javadoc.JavadocReport.generate(JavadocReport.java:124)
>     at org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:292)
>     ... 21 more
> [ERROR]
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message