You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Basin Ilya <ba...@gmail.com> on 2018/02/06 07:31:50 UTC
prevent automatic adaptation of scm connection url
Hi list.
I have a multi-module project. The parent pom has something like:
<scm>
<connection>scm:git:http://0.0.0.0/dummy/for/buildnumber-maven-plugin.git</connection>
</scm>
Strangely, in the effective pom of submodules the module directory name is appended to the urls:
<scm>
<connection>scm:git:http://0.0.0.0/dummy/for/buildnumber-maven-plugin.git/submodule</connection>
</scm>
I know it makes sense for SVN, but git urls can't contain subdirs, do they?
And where is this documented?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: prevent automatic adaptation of scm connection url
Posted by Hervé BOUTEMY <he...@free.fr>.
see https://issues.apache.org/jira/browse/MNG-6059 for a new feature to avoid artifactId addition
the current behaviour is documented in
http://maven.apache.org/ref/3.5.2/maven-model-builder/index.html#Inheritance_Assembly
Regards,
Hervé
Le mardi 6 février 2018, 08:31:50 CET Basin Ilya a écrit :
> Hi list.
> I have a multi-module project. The parent pom has something like:
>
> <scm>
> <connection>scm:git:http://0.0.0.0/dummy/for/buildnumber-maven-plugin.git<
> /connection> </scm>
>
> Strangely, in the effective pom of submodules the module directory name is
> appended to the urls:
>
> <scm>
> <connection>scm:git:http://0.0.0.0/dummy/for/buildnumber-maven-plugin.git/
> submodule</connection> </scm>
>
> I know it makes sense for SVN, but git urls can't contain subdirs, do they?
>
> And where is this documented?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org