protected void mergePluginExecution_Id( PluginExecution target, PluginExecution source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getId(); if ( src != null ) { if ( sourceDominant || target.getId() == null ) { target.setId( src ); target.setLocation( "id", source.getLocation( "id" ) ); } } }
protected void mergePluginExecution_Phase( PluginExecution target, PluginExecution source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getPhase(); if ( src != null ) { if ( sourceDominant || target.getPhase() == null ) { target.setPhase( src ); target.setLocation( "phase", source.getLocation( "phase" ) ); } } }
InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); pluginExecution.setLocation( "", _location ); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- ) pluginExecution.setLocation( "id", _location ); pluginExecution.setId( interpolatedTrimmed( parser.nextText(), "id" ) ); pluginExecution.setLocation( "phase", _location ); pluginExecution.setPhase( interpolatedTrimmed( parser.nextText(), "phase" ) ); InputLocation _locations; _locations = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); pluginExecution.setLocation( "goals", _locations ); while ( parser.nextTag() == XmlPullParser.START_TAG ) pluginExecution.setLocation( "inherited", _location ); pluginExecution.setInherited( interpolatedTrimmed( parser.nextText(), "inherited" ) ); pluginExecution.setLocation( "configuration", _location ); pluginExecution.setConfiguration( org.codehaus.plexus.util.xml.Xpp3DomBuilder.build( parser, true ) );
protected void mergePluginExecution_Id( PluginExecution target, PluginExecution source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getId(); if ( src != null ) { if ( sourceDominant || target.getId() == null ) { target.setId( src ); target.setLocation( "id", source.getLocation( "id" ) ); } } }
protected void mergePluginExecution_Phase( PluginExecution target, PluginExecution source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getPhase(); if ( src != null ) { if ( sourceDominant || target.getPhase() == null ) { target.setPhase( src ); target.setLocation( "phase", source.getLocation( "phase" ) ); } } }
InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); pluginExecution.setLocation( "", _location ); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- ) pluginExecution.setLocation( "id", _location ); pluginExecution.setId( getTrimmedValue( parser.nextText() ) ); pluginExecution.setLocation( "phase", _location ); pluginExecution.setPhase( getTrimmedValue( parser.nextText() ) ); InputLocation _locations; _locations = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); pluginExecution.setLocation( "goals", _locations ); while ( parser.nextTag() == XmlPullParser.START_TAG ) pluginExecution.setLocation( "inherited", _location ); pluginExecution.setInherited( getTrimmedValue( parser.nextText() ) ); pluginExecution.setLocation( "configuration", _location ); pluginExecution.setConfiguration( org.codehaus.plexus.util.xml.Xpp3DomBuilder.build( parser, true ) );