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


Solutions on the web3673

Solution icon of github
via GitHub by ppatierno
, 8 months ago
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

Solution icon of github
Failed to execute goal io.fabric8:docker-maven-plugin:0.20.1:build (default-cli) on project test-service: Execution default-cli of goal io.fabric8:docker-maven-plugin:0.20.1:build failed.

Solution icon of stackoverflow
via Stack Overflow by user2664210
, 1 month ago
Failed to execute goal io.fabric8:docker-maven-plugin:0.16.4:build (default-cli) on project <project_name>: Execution default-cli of goal io.fabric8:docker-maven-plugin:0.16.4:build failed.

Solution icon of github
via GitHub by aporo69
, 1 year ago
Failed to execute goal io.fabric8:docker-maven-plugin:0.15.2:build (Build Docker images) on project docker-maven-plugin-verbose-bug: Execution Build Docker images of goal io.fabric8:docker-maven-plugin:0.15.2:build failed: Conversion = '%'

Solution icon of github
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]

Solution icon of github
via GitHub by hwellmann
, 6 months ago
Failed to execute goal io.fabric8:docker-maven-plugin:0.20.0:start (default-cli) on project sabio-docker-foo: Execution default-cli of goal io.fabric8:docker-maven-plugin:0.20.0:start failed: JSONObject["auth"] not found.

Solution icon of github
via GitHub by rhuss
, 11 months ago
Failed to execute goal io.fabric8:fabric8-maven-plugin:3.1.86:build (default) on project micro: Execution default of goal io.fabric8:fabric8-maven-plugin:3.1.86:build failed: A JSONObject text

Solution icon of github
Failed to execute goal io.fabric8:docker-maven-plugin:0.21.0:build (build-image) on project assembly: Execution build-image of goal io.fabric8:docker-maven-plugin:0.21.0:build failed: Index: 0, Size: 0

Solution icon of github
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

Solution icon of github
Failed to execute goal com.spotify:dockerfile-maven-plugin:1.2.2:build (default) on project simple-docker: Execution default of goal com.spotify:dockerfile-maven-plugin:1.2.2:build failed.

Stack trace

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

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, 11 months ago