maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Boutemy (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SCM-801) Correct SCM URLs mangled in children
Date Wed, 09 Sep 2015 06:12:46 GMT

    [ https://issues.apache.org/jira/browse/SCM-801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14736259#comment-14736259
] 

Hervé Boutemy commented on SCM-801:
-----------------------------------

1. if the solution asked is to add a field to the POM and change inheritance algorithm, this
issue has to be changed into MNG (I documented and unit-tested everything lately: see http://maven.apache.org/ref/3-LATEST/maven-model-builder/
and http://maven.apache.org/ref/3-LATEST/maven-model-builder/testapidocs/src-html/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.html#line.40

2. if the solution is to make Maven Project Info Reports Plugin display fixed information,
it was done in MPIR version 2.8: see MPIR-290

3. if you know plugins/tools other than Maven Project Info Reports Plugin reading information
from POM and having the issue, please name them, that will help me understand who I have to
explain the problem

4. IMHO, the right fix would be in SCM (with this Jiea issue) by adding a new "path" field
in git scm url: plugins using the SCM API to parse the scm url would have the right repo url
when asking for repo and could get the path inside the repo using a new "getPath()" API

> Correct SCM URLs mangled in children
> ------------------------------------
>
>                 Key: SCM-801
>                 URL: https://issues.apache.org/jira/browse/SCM-801
>             Project: Maven SCM
>          Issue Type: Bug
>            Reporter: Caleb Cushing
>
> http://stackoverflow.com/a/26753032/206466
> a lot of git repositories require the repository name to end it .git, only for a few
services could this configuration ever be correct.
> Because I know asking for the behavior to stop auto appending would break backwards compatibility,
instead I'd like to see a field added that would allow us to override the behavior, so that
we don't have to duplicate this section in every sub pom.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message