Skip to content

Commit

Permalink
[MPLUGINTESTING-51] ResolverExpressionEvaluatorStub ignores project.b…
Browse files Browse the repository at this point in the history
…asedir

Submitted-by: Hannes De Clercq

This closes #3
  • Loading branch information
michael-o committed May 28, 2016
1 parent 84ccf24 commit d4f268e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -81,11 +81,11 @@ public Object evaluate( String expr )
}
}

if ( "basedir".equals( expression ) )
if ( "basedir".equals( expression ) || "project.basedir".equals( expression ) )
{
return PlexusTestCase.getBasedir();
}
else if ( expression.startsWith( "basedir" ) )
else if ( expression.startsWith( "basedir" )|| expression.startsWith( "project.basedir" ) )
{
int pathSeparator = expression.indexOf( "/" );

Expand Down

0 comments on commit d4f268e

Please sign in to comment.