You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Bezuhlyi <be...@gmail.com> on 2014/02/18 10:53:35 UTC

Re: Trouble with javadoc and package name

It's about if you have:

    [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (default-cli) on
project coolproject-api: MavenReportException: Error while creating archive:
    [ERROR] Exit code: 1 - javadoc: warning - No source files for package
org.coolproject.api
    [ERROR] javadoc: warning - No source files for package
org.coolproject.api
    [ERROR] javadoc: warning - No source files for package
org.coolproject.api.listeners
    [ERROR] javadoc: error - No public or protected classes found to
document.

Java compiler understands sources directories with package-style names like:
    coolproject-api/java/org.coolproject.api/

and there are no problems with it, but *maven-javadoc-plugin* doesn't. So
try to change your "physical" packages layout to:
    coolproject-api/java/org/coolproject/api/



--
View this message in context: http://maven.40175.n5.nabble.com/Trouble-with-javadoc-and-package-name-tp79373p5785194.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org