prevent automatic adaptation of scm connection url

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

prevent automatic adaptation of scm connection url

Ilya Basin
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: prevent automatic adaptation of scm connection url

Hervé BOUTEMY
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: [hidden email]
> For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]