o Improving exception message.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163297 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Trygve Laugstol 2005-01-06 23:58:52 +00:00
parent 2ab584b37d
commit cd38ae43fc
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ public static Object evaluate( String expression, MavenGoalExecutionContext cont
}
catch ( ComponentLookupException e )
{
throw new PluginConfigurationException( "Cannot lookup component: ", e );
throw new PluginConfigurationException( "Cannot lookup component: " + role + ".", e );
}
}
else if ( expression.equals( "#localRepository" ) )
@ -112,7 +112,7 @@ else if ( expression.startsWith( "#" ) )
value = System.getProperty( expression.substring( 1 ) );
}
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
// If we strike and we are not dealing with an expression then we will
// will let the value pass through unaltered so that users can hardcode
// literal values. Expressions that evaluate to null will be passed