* @return PluginManagement
*/
private PluginManagement parsePluginManagement( String tagName, XmlPullParser parser, boolean strict )
throws IOException, XmlPullParserException
{
PluginManagement pluginManagement = new PluginManagement();
java.util.Set parsed = new java.util.HashSet();
while ( parser.nextTag() == XmlPullParser.START_TAG )
{
if ( checkFieldWithDuplicate( parser, "plugins", null, parsed ) )
{
java.util.List plugins = new java.util.ArrayList/*<Plugin>*/();
pluginManagement.setPlugins( plugins );
while ( parser.nextTag() == XmlPullParser.START_TAG )
{
if ( parser.getName().equals( "plugin" ) )
{
plugins.add( parsePlugin( "plugin", parser, strict ) );