[
https://issues.apache.org/jira/browse/MJAVADOC-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957404#comment-17957404
]
Olivier Lamy commented on MJAVADOC-26:
--------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[olamy/maven-javadoc-plugin#416|https://github.com/olamy/maven-javadoc-plugin/issues/416].
> Javadoc:jar goal executes for non-Java projects
> -----------------------------------------------
>
> Key: MJAVADOC-26
> URL: https://issues.apache.org/jira/browse/MJAVADOC-26
> Project: Maven Javadoc Plugin (Moved to GitHub Issues)
> Issue Type: Bug
> Reporter: David Jackman
> Assignee: John Dennis Casey
> Priority: Major
> Attachments: JavadocJar.patch
>
>
> When the javadoc:javadoc goal is attempted for a project that does not have
> Java source, it correctly displays a message to this effect and jumps out.
> However, the javadoc:jar goal doesn't do this (although it does display a
> message)--it will build a javadoc jar containing no Javadocs.
> I've attached a patch that fixes the issue (very simple fix).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)