plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/ResourceMojo.java
private List<ImageConfiguration> getResolvedImages(List<ImageConfiguration> images, final Logger log)
        throws MojoExecutionException {
        List<ImageConfiguration> ret;
        ret = ConfigHelper.resolveImages(
            log,
            images,
            (ImageConfiguration image) -> imageConfigResolver.resolve(image, project, session),
            null,  // no filter on image name yet (TODO: Maybe add this, too ?)
                (List<ImageConfiguration> configs) -> {
                    try {
                        GeneratorContext ctx = new GeneratorContext.Builder()
                                .config(extractGeneratorConfig())
                                .project(project)
                                .runtimeMode(runtimeMode)
                                .logger(log)
                                .strategy(buildStrategy)
                                .useProjectClasspath(useProjectClasspath)
                                .build();
                        return GeneratorManager.generate(configs, ctx, true);
                    } catch (Exception e) {
                        throw new IllegalArgumentException("Cannot extract generator: " + e, e);
                    }
            });

        Date now = getBuildReferenceDate();
        storeReferenceDateInPluginContext(now);
        String minimalApiVersion = ConfigHelper.initAndValidate(ret, null /* no minimal api version */,
            new ImageNameFormatter(project, now), log);
        return ret;
    }
private List<ImageConfiguration> getResolvedImages(List<ImageConfiguration> images, final Logger log)
        throws MojoExecutionException {
        List<ImageConfiguration> ret;
        ret = ConfigHelper.resolveImages(
            log,
            images,
            (ImageConfiguration image) -> imageConfigResolver.resolve(image, project, session),
            null,  // no filter on image name yet (TODO: Maybe add this, too ?)
                (List<ImageConfiguration> configs) -> {
                    try {
                        GeneratorContext ctx = new GeneratorContext.Builder()
                                .config(extractGeneratorConfig())
                                .project(project)
                                .runtimeMode(runtimeMode)
                                .logger(log)
                                .strategy(buildStrategy)
                                .useProjectClasspath(useProjectClasspath)
                                .build();
                        return GeneratorManager.generate(configs, ctx, true);
                    } catch (Exception e) {
                        throw new IllegalArgumentException("Cannot extract generator: " + e, e);
                    }
            });

        Date now = getBuildReferenceDate();
        storeReferenceDateInPluginContext(now);
        String minimalApiVersion = ConfigHelper.initAndValidate(ret, null /* no minimal api version */,
            new ImageNameFormatter(project, now), log);
        return ret;
    }
private List < ImageConfiguration > getResolvedImages ( List < ImageConfiguration > images , final Logger log ) throws MojoExecutionException { List < ImageConfiguration > ret ; ret = ConfigHelper . resolveImages ( log , images , ( ImageConfiguration image ) -> imageConfigResolver . resolve ( image , project , session ) , null , // no filter on image name yet (TODO: Maybe add this, too ?) ( List < ImageConfiguration > configs ) -> { try { GeneratorContext ctx = new GeneratorContext . Builder ( ) . config ( extractGeneratorConfig ( ) ) . project ( project ) . runtimeMode ( runtimeMode ) . logger ( log ) . strategy ( buildStrategy ) . useProjectClasspath ( useProjectClasspath ) . build ( ) ; return GeneratorManager . generate ( configs , ctx , true ) ; } catch ( Exception e ) { throw new IllegalArgumentException ( "Cannot extract generator: " + e , e ) ; } } ) ; Date now = getBuildReferenceDate ( ) ; storeReferenceDateInPluginContext ( now ) ; String minimalApiVersion = ConfigHelper . initAndValidate ( ret , null /* no minimal api version */ , new ImageNameFormatter ( project , now ) , log ) ; return ret ; }
==================================================================================
==================================================================================