maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine (JIRA)" <>
Subject [jira] [Created] (MRELEASE-927) Releasing flat multi-module projects using git
Date Mon, 02 Nov 2015 13:04:27 GMT
Antoine created MRELEASE-927:

             Summary: Releasing flat multi-module projects using git
                 Key: MRELEASE-927
             Project: Maven Release Plugin
          Issue Type: Bug
          Components: prepare
    Affects Versions: 2.3.1
         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
Maven home: /usr/share/maven
Java version: 1.6.0_31, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.7.4", arch: "x86_64", family: "mac"

            Reporter: Antoine
            Assignee: Mark Struberg
             Fix For: 2.5

When releasing a project as follows:


>From the parent directory, with an scm config in the parent pom.xml (only) as follows:


In org/apache/maven/shared/release/util/ it does this indiscriminately:

url = realignScmUrl( parentLevels, url );

This will trim the repo url from 'ssh://' -> 'ssh://', which
will cause a failure when pushing the tag.

This type of realignment is not appropriate when using a git scm type.

This message was sent by Atlassian JIRA

View raw message