You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2010/12/08 10:54:57 UTC

[jira] Updated: (MPIR-209) Wrong links in modules overview page if module artifactId does not match directory structure

     [ http://jira.codehaus.org/browse/MPIR-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl updated MPIR-209:
-------------------------------

    Attachment: MPIR-209.zip

Attaching a sample project (adapted from the one at MPIR-201) that illustrates the problem. Run 'mvn clean site site:stage' and check the link in modules.html in the staging site.

> Wrong links in modules overview page if module artifactId does not match directory structure
> --------------------------------------------------------------------------------------------
>
>                 Key: MPIR-209
>                 URL: http://jira.codehaus.org/browse/MPIR-209
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Lukas Theussl
>         Attachments: MPIR-209.zip
>
>
> The site plugin docs state that 'If subprojects inherit the site URL from a parent POM, they will automatically append their <artifactId> to form their effective deployment location.' However, the modules overview page created by the pir plugin apparently uses the sub-modules directory names instead of the artifactId, leading to wrong links if the artifactId is different from the module name. The links in the modules menu (which is created by the site plugin) is correct.

-- 
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