You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alina Vasiljeva (JIRA)" <ji...@apache.org> on 2018/07/27 07:31:00 UTC

[jira] [Commented] (JXR-68) ignores classes with same name in other packages

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

Alina Vasiljeva commented on JXR-68:
------------------------------------

/maven-jxr/maven-jxr/src/main/java/org/apache/maven/jxr/DirectoryIndexer.java is using "className" as the key in "allClasses" map (in getPackageInfo() method).

Using unique key (full name instead of simple name) should potentially solve the problem.

> ignores classes with same name in other packages
> ------------------------------------------------
>
>                 Key: JXR-68
>                 URL: https://issues.apache.org/jira/browse/JXR-68
>             Project: Maven JXR
>          Issue Type: Bug
>          Components: maven2 jxr plugin
>    Affects Versions: 2.1
>            Reporter: Paul Sundling
>            Priority: Major
>
> say you the following classes
> package1/MyClass
> package2/MyClass
> While both will show up in javadocs plugin, only one will show up in JXR report.
> Let me know if you need a test case.



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