You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/12/09 16:24:00 UTC

[jira] [Commented] (MJAVADOC-548) Directoryname mixed up with excludePackageNames

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

Hudson commented on MJAVADOC-548:
---------------------------------

Build succeeded in Jenkins: Maven TLP » maven-javadoc-plugin » master #86

See https://builds.apache.org/job/maven-box/job/maven-javadoc-plugin/job/master/86/

> Directoryname mixed up with excludePackageNames
> -----------------------------------------------
>
>                 Key: MJAVADOC-548
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-548
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>          Components: javadoc
>    Affects Versions: 2.10.4, 3.0.1
>         Environment: Windows 7 x64
> Apache Maven 3.5.4
>            Reporter: Jesko Jochum
>            Assignee: Robert Scholte
>            Priority: Minor
>             Fix For: 3.0.2
>
>         Attachments: mjavadoc-548-example.zip
>
>
> The setting {{excludePackageNames}} is not working, as I would expect, or should be renamed to something like {{excludePathNames}} with an updated description, to reveal what it is really doing.
> I have the default layout for the sources, i.e. they get stored in the {{${project.basedir}\src\main\java}} subfolder of my project.
>  For testing purposes I sometimes create classes in the subpackage {{my.companyname.temp}}, which I do not want to have included in the generated javadoc, why I use the following {{excludePackageNames}} setting:
> {noformat}
> ...
> <!-- Exclude files in temporary packages -->
> <excludePackageNames>*.temp.*</excludePackageNames>
> ...
> {noformat}
> in my {{pom.xml}}.
> By doing this, I wanted to exclude all .java sources in the folders {{${project.basedir}\src\main\java*\temp*}} from the javadoc generation, but what I got was an exclusion of all .java sources, if there is a subfolder with the name {{temp}} in any segment of the path, even in the {{$\{project.basedir}}}.
> So, after moving the project into e.g. the folder {{D:\temp\}} no javadoc gets generated at all.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)