You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "werner mueller (JIRA)" <ji...@codehaus.org> on 2010/10/05 13:53:32 UTC
[jira] Created: (MSITE-509) site-deploy with flat project layout
generates wrong url
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
[jira] Commented: (MSITE-509) site-deploy with flat project layout
generates wrong url
Posted by "werner mueller (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Closed: (MSITE-509) site-deploy with flat project layout
generates wrong url for breadcrumb
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukas Theussl closed MSITE-509.
-------------------------------
Resolution: Not A Bug
Assignee: Lukas Theussl
You have to add a <url> to *all* sub-modules, as [documented|http://maven.apache.org/plugins/maven-site-plugin/faq.html#Use_of_url].
> site-deploy with flat project layout generates wrong url for breadcrumb
> -----------------------------------------------------------------------
>
> Key: MSITE-509
> URL: http://jira.codehaus.org/browse/MSITE-509
> Project: Maven 2.x and 3.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
> Assignee: Lukas Theussl
> 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
[jira] Updated: (MSITE-509) site-deploy with flat project layout
generates wrong url for breadcrumb
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MSITE-509:
----------------------------------
Summary: site-deploy with flat project layout generates wrong url for breadcrumb (was: site-deploy with flat project layout generates wrong url)
> site-deploy with flat project layout generates wrong url for breadcrumb
> -----------------------------------------------------------------------
>
> 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
[jira] Commented: (MSITE-509) site-deploy with flat project layout
generates wrong url
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237568#action_237568 ]
Dennis Lundberg commented on MSITE-509:
---------------------------------------
Which URL is wrong? Is it in the generated site?
What is the value of that URL and what value do you think it should have?
> 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