org.apache.maven.lifecycle.LifecycleExecutionException

Failed to execute goal io.fabric8:docker-maven-plugin:0.16.2:push (default-cli) on project docker: Unable to parse configuration of mojo io.fabric8:docker-maven-plugin:0.16.2:push for parameter authConfig: Cannot find 'authConfig' in class io.fabric8.maven.docker.config.ImageConfiguration

Solutions on the web4816

  • Failed to execute goal io.fabric8:docker-maven-plugin:0.16.2:push (default-cli) on project docker: Unable to parse configuration of mojo io.fabric8:docker-maven-plugin:0.16.2:push for parameter authConfig: Cannot find 'authConfig' in class io.fabric8.maven.docker.config.ImageConfiguration
  • Failed to execute goal io.fabric8:docker-maven-plugin:0.14.2:start (default-cli) on project com.tibco.bwce.banq.account.service.application: Execution default-cli of goal io.fabric8:docker-maven-plugin:0.14.2:start failed: Failed to create contained configuration for [tibco/bwce/banq]
  • via GitHub by rhuss
    , 2 months ago
    Failed to execute goal io.fabric8:fabric8-maven-plugin:3.2.18:resource (default-cli) on project fabric8-maven-sample-xml-config: Unable to parse configuration of mojo io.fabric8:fabric8-maven-plugin:3.2.18:resource for parameter deployment: Cannot find 'deployment' in class io.fabric8.maven.core.config.ResourceConfig
  • Stack trace

    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.fabric8:docker-maven-plugin:0.16.2:push (default-cli) on project docker: Unable to parse configuration of mojo io.fabric8:docker-maven-plugin:0.16.2:push for parameter authConfig: Cannot find 'authConfig' in class io.fabric8.maven.docker.config.ImageConfiguration at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:220) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.PluginConfigurationException: Unable to parse configuration of mojo io.fabric8:docker-maven-plugin:0.16.2:push for parameter authConfig: Cannot find 'authConfig' in class io.fabric8.maven.docker.config.ImageConfiguration at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:689) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:621) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more Caused by: org.codehaus.plexus.component.configurator.ComponentConfigurationException: Cannot find 'authConfig' in class io.fabric8.maven.docker.config.ImageConfiguration at org.eclipse.sisu.plexus.CompositeBeanHelper.setProperty(CompositeBeanHelper.java:252) at org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:101) at org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.fromConfiguration(ObjectWithFieldsConverter.java:57) at org.codehaus.plexus.component.configurator.converters.composite.AbstractCollectionConverter.fromChildren(AbstractCollectionConverter.java:54) at org.codehaus.plexus.component.configurator.converters.composite.CollectionConverter.fromConfiguration(CollectionConverter.java:68) at org.eclipse.sisu.plexus.CompositeBeanHelper.convertProperty(CompositeBeanHelper.java:268) at org.eclipse.sisu.plexus.CompositeBeanHelper.setProperty(CompositeBeanHelper.java:210) at org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:101) at org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:34) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:659) ... 23 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 4 months ago
    4 times, 8 months ago
    Unknown user
    2 times, 1 year ago