You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Leonardo (Jira)" <ji...@apache.org> on 2021/08/25 17:14:00 UTC

[jira] [Comment Edited] (MRELEASE-1068) Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:perform (default-cli) on project XXXXXX: could not perform a local checkout

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

Leonardo edited comment on MRELEASE-1068 at 8/25/21, 5:13 PM:
--------------------------------------------------------------

Worked! (y)
{quote}maven-release-plugin - 3.0.0-M4 without specify the maven-scm-plugin (/){quote}
{quote}
maven-release-plugin -  2.5.3 +maven-scm-plugin - 1.11.3 (x)

{quote}


was (Author: vendrusculo):
Worked! (y)
{quote}{{<plugin>}}
{{ <groupId>org.apache.maven.plugins</groupId>}}
{{ <artifactId>maven-release-plugin</artifactId>}}
{{ <version>3.0.0-M4</version>}}
{{ <configuration>}}
{{ <pushChanges>false</pushChanges>}}
{{ <localCheckout>true</localCheckout>}}
{{ </configuration> }}
{{ </plugin>}}
{{ <plugin>}}
{{ <groupId>org.apache.maven.plugins</groupId>}}
{{ <artifactId>maven-scm-plugin</artifactId>}}
{{ <version>1.11.2</version>}}
{{ <configuration>}}
{{ <connectionType>connection</connectionType>}}
{{ </configuration>}}
{{ </plugin>}}
{quote}

> Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:perform (default-cli) on project XXXXXX: could not perform a local checkout
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-1068
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-1068
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: perform
>    Affects Versions: 2.5.3
>         Environment: Plugin Configuration:
> <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-release-plugin</artifactId>
>         <version>2.5.3</version>
>         <configuration>
>           <pushChanges>false</pushChanges>
>           <localCheckout>true</localCheckout>
>         </configuration>
> </plugin>
>            Reporter: Leonardo
>            Priority: Minor
>              Labels: Jenkins, checkout, local
>
> I'm trying to use a Jenkins pipeline to release a library and I'm getting this error:
> Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:perform (default-cli) on project XXXXXXX: could not perform a local checkout
> As far I identify the problem in fact is beacuse the workDirectory has an "@" in the project base dir (/var/lib/jenkins/workspace/xxxxxx@2/) because I'm running the job in an agent into another agent, but, I was also able to reproduce it on Windows machine moving my project base dir to a directory with @ in the path name.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)