MPLUGIN-58: File Parameter Evaluation
Submitted by: Benjamin Bentmann Reviewed by: Vincent Siveton o patch applied git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@613502 13f79535-47bb-0310-9956-ffa450edef68master
parent
510eadd9a3
commit
dfebacc116
|
|
@ -128,7 +128,13 @@ public class ResolverExpressionEvaluatorStub
|
|||
{
|
||||
return file;
|
||||
}
|
||||
|
||||
return new File( PlexusTestCase.getBasedir() + File.pathSeparator + file.getPath() );
|
||||
else if ( file.isAbsolute() )
|
||||
{
|
||||
return file;
|
||||
}
|
||||
else
|
||||
{
|
||||
return new File( PlexusTestCase.getBasedir(), file.getPath() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue