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

ASF GitHub Bot commented on SCM-757:
------------------------------------

jira-importer commented on issue #966:
URL: https://github.com/apache/maven-scm/issues/966#issuecomment-2964636464

   **[Dan 
Tran](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dantran)** 
commented
   
   hack like this works
   
   ```
   if ( this.checkoutDirectory.getPath().contains( "${project.basedir}" ))
   {
       //under maven 3.x, when run without a project, project.basedir is not 
set.
       // we need to conpensate this
       this.checkoutDirectory = new File( this.getBasedir(), "target/checkout");
   }
   ```
   
   




> bootstrap/checkout/export goals now requires -Dproject.basedir=. set at 
> command line
> ------------------------------------------------------------------------------------
>
>                 Key: SCM-757
>                 URL: https://issues.apache.org/jira/browse/SCM-757
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-plugin
>    Affects Versions: 1.9
>            Reporter: Dan Tran
>            Assignee: Dan Tran
>            Priority: Major
>             Fix For: 1.9.1
>
>
> This used to work before



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to