You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Martin Ackermann (JIRA)" <ji...@codehaus.org> on 2011/01/27 19:35:58 UTC
[jira] Created: (MSITE-547) Links to child modules do not work when
using flat structure
Links to child modules do not work when using flat structure
-------------------------------------------------------------
Key: MSITE-547
URL: http://jira.codehaus.org/browse/MSITE-547
Project: Maven 2.x and 3.x Site Plugin
Issue Type: Bug
Components: site:deploy
Affects Versions: 3.0-beta-3
Environment: Maven 3.0.1, Windows XP SP3
Reporter: Martin Ackermann
Attachments: trial-maven.zip
trial-maven-child-module has trial-maven-product as parent. When they are both in the same directory (flat structure), "mvn site-deploy" does not generate working links for the site. See attached example project.
If trial-maven-child-module is a sub-directory of trial-maven-product (deep structure), "mvn site-deploy" generates working links.
--
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-547) Links to child modules do not work when
using flat structure
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukas Theussl updated MSITE-547:
--------------------------------
Component/s: relative links
multi module
Maven 3
> Links to child modules do not work when using flat structure
> -------------------------------------------------------------
>
> Key: MSITE-547
> URL: http://jira.codehaus.org/browse/MSITE-547
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: Maven 3, multi module, relative links, site:deploy
> Affects Versions: 3.0-beta-3
> Environment: Maven 3.0.1, Windows XP SP3
> Reporter: Martin Ackermann
> Attachments: trial-maven-with-urls-and-sitexml.zip, trial-maven.zip
>
>
> trial-maven-child-module has trial-maven-product as parent. When they are both in the same directory (flat structure), "mvn site-deploy" does not generate working links for the site. See attached example project.
> If trial-maven-child-module is a sub-directory of trial-maven-product (deep structure), "mvn site-deploy" generates working links.
--
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-547) Links to child modules do not work when
using flat structure
Posted by "Martin Ackermann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Ackermann updated MSITE-547:
-----------------------------------
Attachment: trial-maven-with-urls-and-sitexml.zip
> Links to child modules do not work when using flat structure
> -------------------------------------------------------------
>
> Key: MSITE-547
> URL: http://jira.codehaus.org/browse/MSITE-547
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: site:deploy
> Affects Versions: 3.0-beta-3
> Environment: Maven 3.0.1, Windows XP SP3
> Reporter: Martin Ackermann
> Attachments: trial-maven-with-urls-and-sitexml.zip, trial-maven.zip
>
>
> trial-maven-child-module has trial-maven-product as parent. When they are both in the same directory (flat structure), "mvn site-deploy" does not generate working links for the site. See attached example project.
> If trial-maven-child-module is a sub-directory of trial-maven-product (deep structure), "mvn site-deploy" generates working links.
--
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-547) Links to child modules do not work
when using flat structure
Posted by "Martin Ackermann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253409#action_253409 ]
Martin Ackermann commented on MSITE-547:
----------------------------------------
In trial-maven.zip, I did not specify the <url> in any of my poms.
If I add "<url>file://${user.dir}/target/site-deploy</url>" to the parent POM in trial maven and "<url>file://${user.dir}/target/site-deploy/${artifactId}</url>" to the POMs of trial-maven-product and trial-maven-child-module, the resulting links work. But only with default site.xml.
As soon as I add a custom site.xml with custom menus, the links get broken when using "<url>". See example project trial-maven-with-urls-and-sitexml.zip. It doesn't help if I use "<item name="Dependencies" href="./dependencies.html" />" instead of "<item name="Dependencies" href="dependencies.html" />".
BTW, I have set distributionManagement.site.url to "file://${user.dir}/target/site-deploy".
> Links to child modules do not work when using flat structure
> -------------------------------------------------------------
>
> Key: MSITE-547
> URL: http://jira.codehaus.org/browse/MSITE-547
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: site:deploy
> Affects Versions: 3.0-beta-3
> Environment: Maven 3.0.1, Windows XP SP3
> Reporter: Martin Ackermann
> Attachments: trial-maven-with-urls-and-sitexml.zip, trial-maven.zip
>
>
> trial-maven-child-module has trial-maven-product as parent. When they are both in the same directory (flat structure), "mvn site-deploy" does not generate working links for the site. See attached example project.
> If trial-maven-child-module is a sub-directory of trial-maven-product (deep structure), "mvn site-deploy" generates working links.
--
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-547) Links to child modules do not work when
using flat structure
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukas Theussl closed MSITE-547.
-------------------------------
Resolution: Fixed
Fix Version/s: 3.0-beta-4
Assignee: Lukas Theussl
This seems fixed in 3.0-beta-4-SNAPSHOT, please test.
> Links to child modules do not work when using flat structure
> -------------------------------------------------------------
>
> Key: MSITE-547
> URL: http://jira.codehaus.org/browse/MSITE-547
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: Maven 3, multi module, relative links, site:deploy
> Affects Versions: 3.0-beta-3
> Environment: Maven 3.0.1, Windows XP SP3
> Reporter: Martin Ackermann
> Assignee: Lukas Theussl
> Fix For: 3.0-beta-4
>
> Attachments: trial-maven-with-urls-and-sitexml.zip, trial-maven.zip
>
>
> trial-maven-child-module has trial-maven-product as parent. When they are both in the same directory (flat structure), "mvn site-deploy" does not generate working links for the site. See attached example project.
> If trial-maven-child-module is a sub-directory of trial-maven-product (deep structure), "mvn site-deploy" generates working links.
--
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-547) Links to child modules do not work
when using flat structure
Posted by "Martin Ackermann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259772#action_259772 ]
Martin Ackermann commented on MSITE-547:
----------------------------------------
Checked with 3.0-beta-4-SNAPSHOT as of today and it worked for both example projects. Thank you for fixing this.
> Links to child modules do not work when using flat structure
> -------------------------------------------------------------
>
> Key: MSITE-547
> URL: http://jira.codehaus.org/browse/MSITE-547
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: Maven 3, multi module, relative links, site:deploy
> Affects Versions: 3.0-beta-3
> Environment: Maven 3.0.1, Windows XP SP3
> Reporter: Martin Ackermann
> Assignee: Lukas Theussl
> Fix For: 3.0-beta-4
>
> Attachments: trial-maven-with-urls-and-sitexml.zip, trial-maven.zip
>
>
> trial-maven-child-module has trial-maven-product as parent. When they are both in the same directory (flat structure), "mvn site-deploy" does not generate working links for the site. See attached example project.
> If trial-maven-child-module is a sub-directory of trial-maven-product (deep structure), "mvn site-deploy" generates working links.
--
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-547) Links to child modules do not work
when using flat structure
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253299#action_253299 ]
Lukas Theussl commented on MSITE-547:
-------------------------------------
Did you specify <url> tags in *all* your poms? See http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/faq.html#Use_of_url
> Links to child modules do not work when using flat structure
> -------------------------------------------------------------
>
> Key: MSITE-547
> URL: http://jira.codehaus.org/browse/MSITE-547
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: site:deploy
> Affects Versions: 3.0-beta-3
> Environment: Maven 3.0.1, Windows XP SP3
> Reporter: Martin Ackermann
> Attachments: trial-maven.zip
>
>
> trial-maven-child-module has trial-maven-product as parent. When they are both in the same directory (flat structure), "mvn site-deploy" does not generate working links for the site. See attached example project.
> If trial-maven-child-module is a sub-directory of trial-maven-product (deep structure), "mvn site-deploy" generates working links.
--
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