Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1
-
Fix Version/s: 2.3
-
Component/s: maven2 jxr plugin
-
Labels:None
-
Number of attachments :1
Description
My build pulls jxr 2.1. Although I set the aggregate parameter to true, I still don't get linked cross module references say e.g.
Module A
Interface X
Module B (depends on A)
Class Y implements X
In the aggregate reports Class Y will not link to X.
-
Hide
- jxrtest.jar
- 02/Dec/12 6:25 AM
- 1.42 MB
- Malachi de AElfweald
-
- META-INF/MANIFEST.MF 0.1 kB
- jxr/.idea/.../profiles_settings.xml 0.1 kB
- jxr/.idea/workspace.xml 42 kB
- jxr/.idea/scopes/scope_settings.xml 0.1 kB
- jxr/.idea/modules.xml 0.5 kB
- jxr/.idea/encodings.xml 0.2 kB
- jxr/.idea/misc.xml 3 kB
- jxr/.idea/compiler.xml 2 kB
- jxr/.idea/uiDesigner.xml 9 kB
- jxr/.idea/.name 0.0 kB
- jxr/.idea/vcs.xml 0.2 kB
- jxr/module1/target/.../jxr/Module1.class 0.5 kB
- jxr/module1/target/.../test/jxr/Module1.html 2 kB
- jxr/module1/.../jxr/package-frame.html 0.7 kB
- jxr/module1/.../jxr/package-summary.html 2 kB
- jxr/module1/target/site/xref/index.html 0.8 kB
- jxr/module1/target/.../xref/stylesheet.css 2 kB
- jxr/module1/.../xref/allclasses-frame.html 0.5 kB
- jxr/module1/.../xref/overview-summary.html 2 kB
- jxr/module1/.../xref/overview-frame.html 0.6 kB
- jxr/module1/.../site/project-reports.html 4 kB
- jxr/module1/.../internet-web-browser.png 1.0 kB
- jxr/module1/.../accessories-text-editor.png 0.7 kB
- jxr/module1/.../images/package-x-generic.png 0.7 kB
- jxr/module1/.../images/icon_warning_sml.gif 0.6 kB
- jxr/module1/target/site/images/fix.gif 0.4 kB
- jxr/module1/.../images/contact-new.png 0.7 kB
- jxr/module1/.../images/network-server.png 0.5 kB
- jxr/module1/.../application-certificate.png 0.9 kB
- jxr/module1/.../images/icon_error_sml.gif 0.6 kB
Activity
This issue has been closed as fixed and there is an integration test in place for it.
If you think that this issue is not solved, you will need to give us an example project that shows that this is still broken.
I'll try to put one together for you. In my current use-case, module1 is an apklib and module2 is an apk. Maybe that's part of it?
Example source and output file showing that it doesn't work. You'll notice in jxr-site/module2/xref/org/eoti/test/jxr/Module2.html that line 7 is not linked.
With an apklib/apk combo, this is even worse because the source of the apklib is actually used instead of the raw binary jar. But the results are the same.
What is the command you use?
Which version of Maven are you using?
I don't see any "aggregate" configured in the attached project. Do I have to add that myself?
malachi@methe:~$ mvn --version
Apache Maven 3.0.4 (r1232337; 2012-01-17 00:44:56-0800)
Maven home: /usr/local/maven
Java version: 1.8.0-ea, vendor: Oracle Corporation
Java home: /usr/local/jdk1.8.0/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-3-rt-amd64", arch: "amd64", family: "unix"
Here's the commands I was running:
mvn clean install site:site
mvn site:stage -DstagingDirectory=/home/malachi/work/test/jxr-site
I just tried with and without aggregation. If I use aggregation, the source is at the top-level instead of the module level; but the linkage is the same.
There is now an integration test that shows aggregation working. Since there's no test case in here, I'm closing this as fixed.