[
http://jira.codehaus.org/browse/MTAGLIST-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253864#action_253864
]
Will May commented on MTAGLIST-55:
----------------------------------
I am experiencing this issue as well. After a quick look through the code, I
believe the issue is caused by using the stagingDirectory parameter when doing
a site:stage.
I checked out trunk and modified it to log the relative path and xref location
and noticed that it was trying to find the xref files within the target
directory and not within the stagingDirectory.
Output:
{noformat}
[WARNING] Relative path - ./xref
[WARNING] Relative path exists? - false
[WARNING] xrefLocation -
F:\projects\branches\Mobile\darwin\airmiles-test-support\target\site\xref
[WARNING] xrefLocation exists? - false
{noformat}
> Xref link generation regression with Maven 3
> --------------------------------------------
>
> Key: MTAGLIST-55
> URL: http://jira.codehaus.org/browse/MTAGLIST-55
> Project: Maven 2.x Taglist Plugin
> Issue Type: Bug
> Affects Versions: 2.4
> Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100)
> Java version: 1.6.0_20
> Java home: /usr/lib/jvm/java-6-openjdk/jre
> Default locale: en_GB, platform encoding: UTF-8
> OS name: "linux" version: "2.6.32-27-generic" arch: "i386" Family: "unix"
> Reporter: Marc Rohlfs
> Priority: Minor
> Attachments: MTAGLIST-55_sample.zip
>
>
> When the site reports are created with Maven 3, the this plugin doesn't
> generate the links to the Source Xref pages, when the JXR Plugin hasn't been
> executed before.
> The plugin looks for the xrefLocation directory and if it doesn't exist, it
> checks if the JXR plugin is configured for the project (see
> http://mojo.codehaus.org/taglist-maven-plugin/xref/org/codehaus/mojo/taglist/TagListReport.html#342).
> To properly generate the Xref links when the report is created with Maven 3,
> the plugin should also check the reportPlugins paramerter of the Site plugin
> configuration.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email