You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2014/11/27 15:20:10 UTC
[jira] (MPIR-312) Subversion SCM module URLs incorrectly build when
module name != artifactId
Michael Osipov created MPIR-312:
-----------------------------------
Summary: Subversion SCM module URLs incorrectly build when module name != artifactId
Key: MPIR-312
URL: https://jira.codehaus.org/browse/MPIR-312
Project: Maven Project Info Reports Plugin
Issue Type: Bug
Components: scm
Affects Versions: 2.7
Reporter: Michael Osipov
Say you have this project structure:
{noformat}
/
|-- module1
|-- module2
{noformat}
and artifactIds are named:
{noformat}
my-parent
|-- my-module1
|-- my-module2
{noformat}
Prefix {{my-}} is omitted for brevity in module names. For instance, Jersey does that.
When the SCM report is built, the artifactId is always used for path composition which leads to incorrect URLs. You can of course set the parameter {{checkoutDirectoryName}} but this would be extremely tedious for all modules down the tree.
The code should obtain the module name and use it for URL composition.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)