protected void mergeReportPlugin_GroupId( ReportPlugin target, ReportPlugin source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getGroupId(); if ( src != null ) { if ( sourceDominant || target.getGroupId() == null ) { target.setGroupId( src ); target.setLocation( "groupId", source.getLocation( "groupId" ) ); } } }
protected void mergeReportPlugin_ArtifactId( ReportPlugin target, ReportPlugin source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getArtifactId(); if ( src != null ) { if ( sourceDominant || target.getArtifactId() == null ) { target.setArtifactId( src ); target.setLocation( "artifactId", source.getLocation( "artifactId" ) ); } } }
protected void mergeReportPlugin_Version( ReportPlugin target, ReportPlugin source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getVersion(); if ( src != null ) { if ( sourceDominant || target.getVersion() == null ) { target.setVersion( src ); target.setLocation( "version", source.getLocation( "version" ) ); } } }
plugin.setLocation( "", element.getLocation( "" ) ); plugin.setGroupId( null ); mergeReportPlugin( plugin, element, sourceDominant, context );
InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); reportPlugin.setLocation( "", _location ); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- ) reportPlugin.setLocation( "groupId", _location ); reportPlugin.setGroupId( interpolatedTrimmed( parser.nextText(), "groupId" ) ); reportPlugin.setLocation( "artifactId", _location ); reportPlugin.setArtifactId( interpolatedTrimmed( parser.nextText(), "artifactId" ) ); reportPlugin.setLocation( "version", _location ); reportPlugin.setVersion( interpolatedTrimmed( parser.nextText(), "version" ) ); reportPlugin.setLocation( "inherited", _location ); reportPlugin.setInherited( interpolatedTrimmed( parser.nextText(), "inherited" ) ); reportPlugin.setLocation( "configuration", _location ); reportPlugin.setConfiguration( org.codehaus.plexus.util.xml.Xpp3DomBuilder.build( parser, true ) );
protected void mergeReportPlugin_ArtifactId( ReportPlugin target, ReportPlugin source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getArtifactId(); if ( src != null ) { if ( sourceDominant || target.getArtifactId() == null ) { target.setArtifactId( src ); target.setLocation( "artifactId", source.getLocation( "artifactId" ) ); } } }
protected void mergeReportPlugin_GroupId( ReportPlugin target, ReportPlugin source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getGroupId(); if ( src != null ) { if ( sourceDominant || target.getGroupId() == null ) { target.setGroupId( src ); target.setLocation( "groupId", source.getLocation( "groupId" ) ); } } }
protected void mergeReportPlugin_Version( ReportPlugin target, ReportPlugin source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getVersion(); if ( src != null ) { if ( sourceDominant || target.getVersion() == null ) { target.setVersion( src ); target.setLocation( "version", source.getLocation( "version" ) ); } } }
plugin.setLocation( "", element.getLocation( "" ) ); plugin.setGroupId( null ); mergeReportPlugin( plugin, element, sourceDominant, context );
InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); reportPlugin.setLocation( "", _location ); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- ) reportPlugin.setLocation( "groupId", _location ); reportPlugin.setGroupId( getTrimmedValue( parser.nextText() ) ); reportPlugin.setLocation( "artifactId", _location ); reportPlugin.setArtifactId( getTrimmedValue( parser.nextText() ) ); reportPlugin.setLocation( "version", _location ); reportPlugin.setVersion( getTrimmedValue( parser.nextText() ) ); reportPlugin.setLocation( "inherited", _location ); reportPlugin.setInherited( getTrimmedValue( parser.nextText() ) ); reportPlugin.setLocation( "configuration", _location ); reportPlugin.setConfiguration( org.codehaus.plexus.util.xml.Xpp3DomBuilder.build( parser, true ) );