protected String getPluginParameter()

in src/main/java/org/apache/maven/report/projectinfo/AbstractProjectInfoReport.java [247:259]


    protected String getPluginParameter(String pluginId, String param) {
        Plugin plugin = getPlugin(pluginId);
        if (plugin != null) {
            Xpp3Dom xpp3Dom = (Xpp3Dom) plugin.getConfiguration();
            if (xpp3Dom != null
                    && xpp3Dom.getChild(param) != null
                    && StringUtils.isNotEmpty(xpp3Dom.getChild(param).getValue())) {
                return xpp3Dom.getChild(param).getValue();
            }
        }

        return null;
    }