org.apache.maven.lifecycle.LifecycleExecutionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 698#276923807
    via GitHub by ppatierno
    ,
  • GitHub comment 198#215113601
    via GitHub by rhauch
    ,
  • GitHub comment 198#215116548
    via GitHub by rhuss
    ,
    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.fabric8:docker-maven-plugin:0.19.0:build (default) on project dispatch-router: Execution default of goal io.fabric8:docker-maven-plugin:0.19.0:build failed: Invalid port mapping '15671:5671' Required format: '<hostIP>(/tcp|udp)' See the reference manual for more details at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) 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.PluginExecutionException: Execution default of goal io.fabric8:docker-maven-plugin:0.19.0:build failed: Invalid port mapping '15671:5671' Required format: '<hostIP>(/tcp|udp)' See the reference manual for more details at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more Caused by: java.lang.IllegalArgumentException: Invalid port mapping '15671:5671' Required format: '<hostIP>(/tcp|udp)' See the reference manual for more details at io.fabric8.maven.docker.assembly.DockerFileBuilder.validatePortExposure(DockerFileBuilder.java:258) at io.fabric8.maven.docker.assembly.DockerFileBuilder.addPorts(DockerFileBuilder.java:243) at io.fabric8.maven.docker.assembly.DockerFileBuilder.content(DockerFileBuilder.java:105) at io.fabric8.maven.docker.assembly.DockerFileBuilder.write(DockerFileBuilder.java:82) at io.fabric8.maven.docker.assembly.DockerAssemblyManager.createDockerTarArchive(DockerAssemblyManager.java:111) at io.fabric8.maven.docker.service.ArchiveService.createArchive(ArchiveService.java:102) at io.fabric8.maven.docker.service.BuildService.buildImage(BuildService.java:66) at io.fabric8.maven.docker.AbstractBuildSupportMojo.buildImage(AbstractBuildSupportMojo.java:67) at io.fabric8.maven.docker.BuildMojoNoFork.buildAndTag(BuildMojoNoFork.java:55) at io.fabric8.maven.docker.BuildMojoNoFork.executeInternal(BuildMojoNoFork.java:46) at io.fabric8.maven.docker.AbstractDockerMojo.execute(AbstractDockerMojo.java:208) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ... 21 more

    Users with the same issue

    tvrmsmithtvrmsmith
    1 times, last one,