You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andreas Sewe (Jira)" <ji...@apache.org> on 2020/05/25 17:00:08 UTC

[jira] [Commented] (JXR-154) xref-test package summary lists also classes from main source directories

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

Andreas Sewe commented on JXR-154:
----------------------------------

For the record, the full {{git bisect}} history:
{noformat}
git bisect start
# good: [224c62f3d0098042fb0a9d228434082e249c4c5b] [maven-release-plugin] prepare release jxr-3.0.0
git bisect good 224c62f3d0098042fb0a9d228434082e249c4c5b
# bad: [82193ede1e036a0e66e1591295f2311982a17c73] remove unused imports (#24)
git bisect bad 82193ede1e036a0e66e1591295f2311982a17c73
# bad: [ab343d1704760cf448031802979915f2d7f7e044] README improvement
git bisect bad ab343d1704760cf448031802979915f2d7f7e044
# bad: [85fb8b1b444d76a86e0cd1b19039b2637da6fd19] [JXR-147] make build Reproducible
git bisect bad 85fb8b1b444d76a86e0cd1b19039b2637da6fd19
# good: [910158efbc691cc8ebbd7120ba97d62abc78b056] added a link to plugin documentation
git bisect good 910158efbc691cc8ebbd7120ba97d62abc78b056
# bad: [b4117e7ef0795eed02e2ace3c9c4c310f5391aac] [JXR-142] Switch to JSR330 Dependency Injection, [JXR-144] Require Maven 3.1.0
git bisect bad b4117e7ef0795eed02e2ace3c9c4c310f5391aac
# good: [6f50a1c74d0d3aabe1f0223c5b3791f713ab7276] Add non-forking jxr/test-jxr goals
git bisect good 6f50a1c74d0d3aabe1f0223c5b3791f713ab7276
# first bad commit: [b4117e7ef0795eed02e2ace3c9c4c310f5391aac] [JXR-142] Switch to JSR330 Dependency Injection, [JXR-144] Require Maven 3.1.0 {noformat}

> xref-test package summary lists also classes from main source directories
> -------------------------------------------------------------------------
>
>                 Key: JXR-154
>                 URL: https://issues.apache.org/jira/browse/JXR-154
>             Project: Maven JXR
>          Issue Type: Bug
>          Components: maven2 jxr plugin
>    Affects Versions: 3.1.0
>         Environment: Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Maven home: /opt/apache-maven
> Java version: 1.8.0_201, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-oracle/jre
> Default locale: en_CA, platform encoding: UTF-8
> OS name: "linux", version: "4.15.0-101-generic", arch: "amd64", family: "unix
>            Reporter: Andreas Sewe
>            Priority: Major
>              Labels: regression
>         Attachments: it.patch
>
>
> This is a regression from 3.0.0:
> The {{xref-test}} report lists not only classes from the test source directories, but also from the main source directories in its {{package-summary.html}}. This is not only unexpected, but the respective links to the actual sources are also dead.
> Using {{git bisect}}, I was able to narrow this bug (introduced between jxr-3.0.0 and 82193ede1e036a0e66e1591295f2311982a17c73) down to the following commit:
> {noformat}
> b4117e7ef0795eed02e2ace3c9c4c310f5391aac is the first bad commit
> commit b4117e7ef0795eed02e2ace3c9c4c310f5391aac
> Author: rfscholte <rf...@apache.org>
> Date:   Fri Jul 5 00:11:29 2019 +0200    [JXR-142] Switch to JSR330 Dependency Injection,
>     [JXR-144] Require Maven 3.1.0:040000 040000 9bd9a415b2e3d94406911ca475603de67b504be9 dc78032a3f63c806041f360da96e9468c955f421 M	maven-jxr-plugin
> :040000 040000 a9bbe183fcbc2b22afae203be4483fd9c1dd2a1b c15f3e82de0050ffa3834c0ff076fa8a6b57c31a M	maven-jxr
> :100644 100644 e61a9f56ba6ea12165b72967873f72ed7611f894 be2f7ecc125a573c7316c048dc521c40c60aa5f1 M	pom.xml
> bisect run success {noformat}
> using the attached patch [^it.patch] to the most basic integration test, {{simple-project}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)