[
http://jira.codehaus.org/browse/MOJO-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_121275
]
David Vicente commented on MOJO-1012:
-------------------------------------
HI,
could you give me the maven's version you used to make your build ?
I've had this problem before with directory's name and artifactId which are
different but i've already corrected
Best regards
David
> Broken links in multimodule reports because of artifactId != directory name
> ---------------------------------------------------------------------------
>
> Key: MOJO-1012
> URL: http://jira.codehaus.org/browse/MOJO-1012
> Project: Mojo
> Issue Type: Bug
> Components: dashboard
> Reporter: Christoph Ewerlin
> Assignee: David Vicente
> Priority: Minor
> Attachments: dashboard_broken_link.zip
>
>
> Links in dashboard detailed reports are broken, if the directory a submodule
> was in during build does not match the artifact id.
> Consider the following setup:
> pom.xml
> |-- module1
> |--- pom.xml
> |--- some java sources
> where main pom includes module1:
> <modules>
> <module>module1</module>
> </modules>
> but artifact id of the project in directory module1 is e.g.
> "dashboard_broken_link.module1"
> <groupId>com.sdm.foo</groupId>
> <artifactId>dashboard_broken_link.module1</artifactId>
> Building a maven site and deploying it with mvn site:deploy will result in
> the following directory structure on the server:
> |
> |-- dashboard-report.html
> |-- dashboard-report-details.html
> |-- dashboard_broken_link.module1 (directory)
> |-- dashboard-report.html
> The link in when clicking on e.g. "Checkstyle Report Summary" and "Dashboard
> Broken Link Example Module1" will point to
> "/module1/dashboard-report.html#checkstyle" instead of
> "/dashboard_broken_link.module1/dashboard-report.html#checkstyle".
> Seems to be a bug for me, or is it just something I am missing here?
> Find a toy project included in the attachment.
--
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