You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2015/12/25 17:24:49 UTC

[jira] [Comment Edited] (MRELEASE-331) SCM urls are broken for all modules, except the parent

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

Hervé Boutemy edited comment on MRELEASE-331 at 12/25/15 4:24 PM:
------------------------------------------------------------------

>> Is this still an issue?

Yes, it is.
I met the same problems that are described here: http://code.google.com/p/ppwcode/issues/detail?id=100
I'm using a parent-pom that defines
{code:xml}<connection>scm:hg:https://(my-hg-server)/${project.groupId}.${project.artifactId}/</connection>{code}

I inherit this in a child pom (not a module of the parent pom!) and in my effective pom, I end up with this:
{code:xml}<connection>scm:hg:https://(my-hg-server)/${project.groupId}.${project.artifactId}/${project.artifactId}/</connection>{code}

This renders inheritance of scm-settings useless for me.

Btw, I tried it with and without a trailing slash at the end of the URL.
Im using maven 3.0.3.


was (Author: ts):
>> Is this still an issue?

Yes, it is.
I met the same problems that are described here: http://code.google.com/p/ppwcode/issues/detail?id=100
I'm using a parent-pom that defines
<connection>scm:hg:https://(my-hg-server)/${project.groupId}.${project.artifactId}/</connection>

I inherit this in a child pom (not a module of the parent pom!) and in my effective pom, I end up with this:
<connection>scm:hg:https://(my-hg-server)/${project.groupId}.${project.artifactId}/${project.artifactId}/</connection>

This renders inheritance of scm-settings useless for me.

Btw, I tried it with and without a trailing slash at the end of the URL.
Im using maven 3.0.3.

> SCM urls are broken for all modules, except the parent 
> -------------------------------------------------------
>
>                 Key: MRELEASE-331
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-331
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: scm
>    Affects Versions: 2.0-beta-7
>            Reporter: Siveton Vincent
>            Priority: Blocker
>              Labels: scrub-review-started
>
> This comes from the parent pom, which is missing a / at the end of the scm urls.
> See: http://www.nabble.com/Re%3A-svn-commit%3A-r635240---in--maven-plugin-tools-trunk%3A-.--maven-plugin-plugin--maven-plugin-tools-ant--maven-plugin-tools-api--maven-plugin-tools-beanshell--maven-plugin-tools-java--maven-plugin-tools-javadoc--maven-plugin-tools-model--tt15929761s177.html



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