{
StringSearchInterpolator interpolator = new StringSearchInterpolator();
List<String> pomPrefixes = Arrays.asList( "pom.", "project." );
interpolator.addValueSource( new PrefixedObjectValueSource( pomPrefixes, model, false ) );
interpolator.addValueSource( new MapBasedValueSource( model.getProperties() ) );
interpolator.addValueSource( new ObjectBasedValueSource( model ) );
try
{
value = interpolator.interpolate( value, new PrefixAwareRecursionInterceptor( pomPrefixes ) );
}
catch ( InterpolationException e )