@Override
    public List<ImageConfiguration> customizeConfig(List<ImageConfiguration> configs) {
        try {
            ProcessorConfig generatorConfig =
                ProfileUtil.blendProfileWithConfiguration(ProfileUtil.GENERATOR_CONFIG, profile, ResourceDirCreator.getFinalResourceDir(resourceDir, environment), generator);
            GeneratorContext ctx = new GeneratorContext.Builder()
                .config(generatorConfig)
                .project(project)
                .logger(log)
                .runtimeMode(mode)
                .strategy(buildStrategy)
                .useProjectClasspath(false)
                .build();
            return GeneratorManager.generate(configs, ctx, true);
        } catch (Exception e) {
            throw new IllegalArgumentException("Cannot extract generator config: " + e,e);
        }
    }
@Override
    public List<ImageConfiguration> customizeConfig(List<ImageConfiguration> configs) {
        try {
            ProcessorConfig generatorConfig =
                ProfileUtil.blendProfileWithConfiguration(ProfileUtil.GENERATOR_CONFIG, profile, ResourceDirCreator.getFinalResourceDir(resourceDir, environment), generator);
            GeneratorContext ctx = new GeneratorContext.Builder()
                .config(generatorConfig)
                .project(project)
                .logger(log)
                .runtimeMode(mode)
                .strategy(buildStrategy)
                .useProjectClasspath(false)
                .build();
            return GeneratorManager.generate(configs, ctx, true);
        } catch (Exception e) {
            throw new IllegalArgumentException("Cannot extract generator config: " + e,e);
        }
    }
@ Override public List < ImageConfiguration > customizeConfig ( List < ImageConfiguration > configs ) { try { ProcessorConfig generatorConfig = ProfileUtil . blendProfileWithConfiguration ( ProfileUtil . GENERATOR_CONFIG , profile , ResourceDirCreator . getFinalResourceDir ( resourceDir , environment ) , generator ) ; GeneratorContext ctx = new GeneratorContext . Builder ( ) . config ( generatorConfig ) . project ( project ) . logger ( log ) . runtimeMode ( mode ) . strategy ( buildStrategy ) . useProjectClasspath ( false ) . build ( ) ; return GeneratorManager . generate ( configs , ctx , true ) ; } catch ( Exception e ) { throw new IllegalArgumentException ( "Cannot extract generator config: " + e , e ) ; } }
Customization hook called by the base plugin.

@param configs configuration to customize
@return the configuration customized by our generators.
Customization hook called by the base plugin .