protected void mergeDeploymentRepository_UniqueVersion( DeploymentRepository target, DeploymentRepository source, boolean sourceDominant, Map<Object, Object> context ) { if ( sourceDominant ) { target.setUniqueVersion( source.isUniqueVersion() ); target.setLocation( "uniqueVersion", source.getLocation( "uniqueVersion" ) ); } }
@Override protected void mergeDistributionManagement_Repository( DistributionManagement target, DistributionManagement source, boolean sourceDominant, Map<Object, Object> context ) { DeploymentRepository src = source.getRepository(); if ( src != null ) { DeploymentRepository tgt = target.getRepository(); if ( sourceDominant || tgt == null ) { tgt = new DeploymentRepository(); tgt.setLocation( "", src.getLocation( "" ) ); target.setRepository( tgt ); mergeDeploymentRepository( tgt, src, sourceDominant, context ); } } }
@Override protected void mergeDistributionManagement_SnapshotRepository( DistributionManagement target, DistributionManagement source, boolean sourceDominant, Map<Object, Object> context ) { DeploymentRepository src = source.getSnapshotRepository(); if ( src != null ) { DeploymentRepository tgt = target.getSnapshotRepository(); if ( sourceDominant || tgt == null ) { tgt = new DeploymentRepository(); tgt.setLocation( "", src.getLocation( "" ) ); target.setSnapshotRepository( tgt ); mergeDeploymentRepository( tgt, src, sourceDominant, context ); } } }
protected void mergeDeploymentRepository_UniqueVersion( DeploymentRepository target, DeploymentRepository source, boolean sourceDominant, Map<Object, Object> context ) { if ( sourceDominant ) { target.setUniqueVersion( source.isUniqueVersion() ); target.setLocation( "uniqueVersion", source.getLocation( "uniqueVersion" ) ); } }
@Override protected void mergeDistributionManagement_Repository( DistributionManagement target, DistributionManagement source, boolean sourceDominant, Map<Object, Object> context ) { DeploymentRepository src = source.getRepository(); if ( src != null ) { DeploymentRepository tgt = target.getRepository(); if ( sourceDominant || tgt == null ) { tgt = new DeploymentRepository(); tgt.setLocation( "", src.getLocation( "" ) ); target.setRepository( tgt ); mergeDeploymentRepository( tgt, src, sourceDominant, context ); } } }
@Override protected void mergeDistributionManagement_SnapshotRepository( DistributionManagement target, DistributionManagement source, boolean sourceDominant, Map<Object, Object> context ) { DeploymentRepository src = source.getSnapshotRepository(); if ( src != null ) { DeploymentRepository tgt = target.getSnapshotRepository(); if ( sourceDominant || tgt == null ) { tgt = new DeploymentRepository(); tgt.setLocation( "", src.getLocation( "" ) ); target.setSnapshotRepository( tgt ); mergeDeploymentRepository( tgt, src, sourceDominant, context ); } } }