You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2015/08/26 22:29:46 UTC
[jira] [Commented] (MNG-5878) Subversion SCM module URLs
incorrectly build when module name != artifactId
[ https://issues.apache.org/jira/browse/MNG-5878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14715455#comment-14715455 ]
Hervé Boutemy commented on MNG-5878:
------------------------------------
feature added in branch [812e1e9d|http://git-wip-us.apache.org/repos/asf/maven/commit/812e1e9d]
principe is to define {{project.directory}} property in child pom.xml that will be used instead of artifactId when defined
(and this property in not inherited to further childs of child)
> Subversion SCM module URLs incorrectly build when module name != artifactId
> ---------------------------------------------------------------------------
>
> Key: MNG-5878
> URL: https://issues.apache.org/jira/browse/MNG-5878
> Project: Maven
> Issue Type: New Feature
> Components: Inheritance and Interpolation
> Affects Versions: 3.3.3
> 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.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org