You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andreas Sewe (JIRA)" <ji...@codehaus.org> on 2010/03/18 23:58:22 UTC
[jira] Created: (MSITE-466) Breadcrumbs to grandparent in flat
multi-module project broken
Breadcrumbs to grandparent in flat multi-module project broken
--------------------------------------------------------------
Key: MSITE-466
URL: http://jira.codehaus.org/browse/MSITE-466
Project: Maven 2.x Site Plugin
Issue Type: Bug
Components: multi module, relative links
Affects Versions: 2.1
Environment: Apache Maven 2.2.0 (r788681; 2009-06-26 15:04:01+0200)
Java version: 1.6.0_17
Reporter: Andreas Sewe
Attachments: example-site.tar.gz
Breadcrumbs are broken in multi-module builds which use a flat (site) layout. The attached three projects (parent, child, grandchild) demonstrate this. After running {{mvn clean install site-deploy}} the contents of the three directories {{file:///tmp/example.org/${project.artifactId}}} mirror the structure and content of the website. But while all "Module" and "Parent Project" links are correctly resolved, the grandparent breadcrumb in {{file:///tmp/example.org/grandparent/index.html}}} is broken; the {{href}} contains one {{../}} too many.
--
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-466) Breadcrumbs to grandparent in flat
multi-module project broken
Posted by "Ulrich David (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=215948#action_215948 ]
Ulrich David commented on MSITE-466:
------------------------------------
When I add {{<url>http://www.example.org/${project.artifactId}/</url>}} (mind the trailing slash) to _all_ poms, it works.
Still a bug or to be documented.
> Breadcrumbs to grandparent in flat multi-module project broken
> --------------------------------------------------------------
>
> Key: MSITE-466
> URL: http://jira.codehaus.org/browse/MSITE-466
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: multi module, relative links
> Affects Versions: 2.1
> Environment: Apache Maven 2.2.0 (r788681; 2009-06-26 15:04:01+0200)
> Java version: 1.6.0_17
> Reporter: Andreas Sewe
> Attachments: example-site.tar.gz
>
>
> Breadcrumbs are broken in multi-module builds which use a flat (site) layout. The attached three projects (parent, child, grandchild) demonstrate this. After running {{mvn clean install site-deploy}} the contents of the three directories {{file:///tmp/example.org/${project.artifactId}}} mirror the structure and content of the website. But while all "Module" and "Parent Project" links are correctly resolved, the grandparent breadcrumb in {{file:///tmp/example.org/grandparent/index.html}}} is broken; the {{href}} contains one {{../}} too many.
--
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-466) Breadcrumbs to grandparent in flat
multi-module project broken
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukas Theussl closed MSITE-466.
-------------------------------
Resolution: Not A Bug
Assignee: Lukas Theussl
You need a <url> element in *all* your sub-modules as [documented|http://maven.apache.org/plugins/maven-site-plugin/faq.html#Use_of_url]. I have added a note about the trailing slash.
> Breadcrumbs to grandparent in flat multi-module project broken
> --------------------------------------------------------------
>
> Key: MSITE-466
> URL: http://jira.codehaus.org/browse/MSITE-466
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: multi module, relative links
> Affects Versions: 2.1
> Environment: Apache Maven 2.2.0 (r788681; 2009-06-26 15:04:01+0200)
> Java version: 1.6.0_17
> Reporter: Andreas Sewe
> Assignee: Lukas Theussl
> Attachments: example-site.tar.gz
>
>
> Breadcrumbs are broken in multi-module builds which use a flat (site) layout. The attached three projects (parent, child, grandchild) demonstrate this. After running {{mvn clean install site-deploy}} the contents of the three directories {{file:///tmp/example.org/${project.artifactId}}} mirror the structure and content of the website. But while all "Module" and "Parent Project" links are correctly resolved, the grandparent breadcrumb in {{file:///tmp/example.org/grandparent/index.html}}} is broken; the {{href}} contains one {{../}} too many.
--
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