[
http://jira.codehaus.org/browse/MSITE-509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237671#action_237671
]
werner mueller commented on MSITE-509:
--------------------------------------
hello
there is a link that points to the current module on the top-right side of the
generated site (in the screenshot the orange box)
For example the parent-module the created page:
file:///c:/temp/company-sites/flat-multi-modules/0.0.1-SNAPSHOT/parent-module/dependency-management.html
the link on that page points back to:
file:///c:/temp/company-sites/flat-multi-modules/0.0.1-SNAPSHOT/parent-module/temp/company-sites/flat-multi-modules/0.0.1-SNAPSHOT/parent-module
the html link is:
{code}
<a title="parent-module"
href="temp/company-sites/flat-multi-modules/0.0.1-SNAPSHOT/parent-module">parent-module</a>
{code}
which is not correct if relative.
i think it could simply be 'index.html' (not sure if reporting plugins have
subfolders, in that case it would be wrong for those report pages)
thanks a lot
> site-deploy with flat project layout generates wrong url
> --------------------------------------------------------
>
> Key: MSITE-509
> URL: http://jira.codehaus.org/browse/MSITE-509
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: multi module, relative links, site:deploy
> Affects Versions: 2.1.1
> Environment: windows, maven 2.2.1
> Reporter: werner mueller
> Priority: Minor
> Attachments: flat-site-template.zip, screenshot.05-10-2010
> 13.19.04.png
>
>
> The site plugin generates a wrong default url when executing the site-deploy
> goal (the link pointing to the project.url?)
> It is a bit weird the ${project.url} is referenced to calculate the relative
> links. That was a but unexpected. The site deploy url often contains scp://
> urls while project.url points to the web location. If we map subdomains to
> projects this sort of never works as the site deploy url and the project-url
> have no common url parts.
> There is no configuration to adjust the flat layout for the site plugin?
> I'll attach an example project and a screenshot.
> There are similar issues reported with the breadcrumb navigation.
--
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