protected PluginDescriptor getPluginDescriptor() {
if(pluginDescriptor == null) {
try {
InputStream is = getClass().getResourceAsStream("/META-INF/maven/plugin.xml");
try {
XmlStreamReader reader = ReaderFactory.newXmlReader(is);
InterpolationFilterReader interpolationFilterReader = new InterpolationFilterReader(
new BufferedReader(reader), container.getContext().getContextData());
PlexusContainer pc = getContainer();
pluginDescriptor = new PluginDescriptorBuilder().build(interpolationFilterReader);