values.setProperty("groupId", project.getGroupId());
values.setProperty("version", project.getVersion());
interpolator.addValueSource(new PrefixedPropertiesValueSource(possiblePrefixes, values, true));
RecursionInterceptor recursionInterceptor = new PrefixAwareRecursionInterceptor(possiblePrefixes);
try {
endTag = interpolator.interpolate(tagNameFormat, recursionInterceptor);
} catch (InterpolationException e) {
throw new MojoExecutionException("Could not interpolate specified tag name format: " + tagNameFormat,
e);
}
}