maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MRELEASE-1019) mvn release perform fails when the tag has the same name than a branch
Date Mon, 04 Mar 2019 12:56:00 GMT
Emmanuel Lecharny created MRELEASE-1019:
-------------------------------------------

             Summary: mvn release perform fails when the tag has the same name than a branch
                 Key: MRELEASE-1019
                 URL: https://issues.apache.org/jira/browse/MRELEASE-1019
             Project: Maven Release Plugin
          Issue Type: Bug
            Reporter: Emmanuel Lecharny


I tried to cut a release of Apache MINA 2.1.0 for a week, with no success. Actually, the release
was fine, but the packages weren't pushed in the Nexus staging repo.

 

After investigation with Arnaud Héritier, it appeared that the tag we wanted to create collided
with an existing branch, thus the release plugin was fetching the code from the branch, not
from the tag, resulting in the target/checkout directory containing 2.1.1-SNAPSHOT versions
of the code.

 

Renaming the branch to 2.1 solved the issue.

 

We do think that the release plugin should checkout the code from the created tag, and not
from the branch.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message