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

Dan Tran edited comment on SCM-757 at 6/23/14 11:19 AM:
--------------------------------------------------------

hack like this works

{code}
        if ( this.checkoutDirectory.getPath().contains( "${project.basedir}" ))
        {
            //under maven tree and run without a project, project.basedir is 
not set.
            // we need to conpensate this
            this.checkoutDirectory = new File( this.getBasedir(), 
"target/checkout");
        }
{code}


was (Author: danttran):
hack like this works

        if ( this.checkoutDirectory.getPath().contains( "${project.basedir}" ))
        {
            //under maven tree and 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://jira.codehaus.org/browse/SCM-757
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>    Affects Versions: 1.9
>            Reporter: Dan Tran
>            Assignee: Dan Tran
>             Fix For: 1.10
>
>
> This used to work before



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to