maven-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/MRELEASE-927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Antoine updated MRELEASE-927:
-----------------------------
    Environment: 
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T18:37:52+01:00)
Maven home: C:\maven\apache-maven-3.2.1
Java version: 1.6.0_26, vendor: Sun Microsystems Inc.
Java home: C:\jdk\1.6.0-26\jre
Default locale: fr_FR, platform encoding: cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"


  was:
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"



> Releasing flat multi-module projects using git
> ----------------------------------------------
>
>                 Key: MRELEASE-927
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-927
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.5.1
>         Environment: Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T18:37:52+01:00)
> Maven home: C:\maven\apache-maven-3.2.1
> Java version: 1.6.0_26, vendor: Sun Microsystems Inc.
> Java home: C:\jdk\1.6.0-26\jre
> Default locale: fr_FR, platform encoding: cp1252
> OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
>            Reporter: Antoine
>            Assignee: Mark Struberg
>
> When releasing a project as follows:
> ./parent/pom.xml
> ./module-a/pom.xml
> ./module-b/pom.xml
> From the parent directory, with an scm config in the parent pom.xml (only) as follows:
> <scm>
>   <connection>scm:git:ssh://github.com/repox.git</connection>
>   <developerConnection>scm:git:ssh://github.com/repox.git</developerConnection>
>   <tag>master</tag>
>   <url>https://github.com/view/repox.git</url>
> </scm>
> In org/apache/maven/shared/release/util/ReleaseUtils.java:182 it does this indiscriminately:
> url = realignScmUrl( parentLevels, url );
> This will trim the repo url from 'ssh://github.com/repox.git' -> 'ssh://github.com',
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
(v6.3.4#6332)

Mime
View raw message