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:48:58 UTC

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

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


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

        

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

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPIR-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl closed MPIR-209.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4
         Assignee: Lukas Theussl

Fixed in [r1044251|http://svn.apache.org/viewvc?rev=1044251&view=rev]

> 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
>            Assignee: Lukas Theussl
>             Fix For: 2.4
>
>         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

        

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

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPIR-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246843#action_246843 ] 

Lukas Theussl commented on MPIR-209:
------------------------------------

MPIR-201 is a more general problem where the deployment URL given in distributionManagement differs from the module names.

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

        

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

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ 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