hgschmie opened a new issue, #11256:
URL: https://github.com/apache/maven/issues/11256

   ### New feature, improvement proposal
   
   I have a project that is structured like this:
   
   +-- build root (hold all the build information) - POM project
   |
   +- code-a - actual deployed code - jar project
   +- code-b - actual deployed code - jar project
   
   The project only publishes the contents of the "code-a" and the "code-b" 
folder.
   
   For convenience's sake, I put things like license, developer etc. in the 
build root. This also includes the "scm" section.
   
   However, now my code modules get a rewritten scm section:
   
   root:
   ```
   <scm>
       <connection>scm:git:git://github.com/group/repo.git</connection>
       
<developerConnection>scm:git:[email protected]:group/repo.git</developerConnection>
       <url>https://github.com/group/repo</url>
       <tag>HEAD</tag>
   </scm>
   ```
   
   code-a:
   ```
   <scm>
       <connection>scm:git:git://github.com/group/repo.git/code-a</connection>
       
<developerConnection>scm:git:[email protected]:group/repo.git/code-a</developerConnection>
       <url>https://github.com/group/repo/code-a</url>
       <tag>HEAD</tag>
   </scm>
   ```
   
   code-b:
   ```
   <scm>
       <connection>scm:git:git://github.com/group/repo.git/code-b</connection>
       
<developerConnection>scm:git:[email protected]:group/repo.git/code-b</developerConnection>
       <url>https://github.com/group/repo/code-b</url>
       <tag>HEAD</tag>
   </scm>
   ```
   
   Clearly, that made sense in the stone ages with CVS and SVN but with git, 
all modules have the same URLs. The rewriting actually breaks these links.
   
   I have not found a way to turn this off for scm providers that do not 
require URL rewriting. It seems that this should be something where the SCM 
provider can control this for the effective poms of sub-modules. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to