Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1.1
-
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: "unixApache 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
Description
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:
b4117e7ef0795eed02e2ace3c9c4c310f5391aac is the first bad commit commit b4117e7ef0795eed02e2ace3c9c4c310f5391aac Author: rfscholte <rfscholte@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
using the attached patch it.patch to the most basic integration test, simple-project.