Open stalet opened 8 years ago
Can you compare your environment against:
DOCKER_HOST=tcp://192.168.59.103:2376
DOCKER_TLS_VERIFY=1
DOCKER_CERT_PATH=/Users/alexc/.boot2docker/certs/boot2docker-vm
You probably need to set TLS.
I did not set up any local environment variables prior to test the project. So the ones im using i guess is coming from circle.yml:
> grep DOCKER *
circle.yml: DOCKER_HOST: tcp://127.0.0.1:2376
circle.yml: DOCKER_CERT_PATH: $HOME/.docker
circle.yml: DOCKER_TLS_VERIFY: 1
I tried setting the variables, like this:
DOCKER_HOST=tcp://192.168.59.103:2376
DOCKER_TLS_VERIFY=1
DOCKER_CERT_PATH=/home/stalet/.docker
But that did not change anything.
I am trying your examples in maven on a Ubuntu 14.04 machine running oracle java8. I tried using docker-maven-plugin version 2.11.1, 2.11.10 and 2.11.11-SNAPSHOT to no avail. I am also getting the same error on the other example project(search-in-a-box).
Can you please help me ? I want to try out your maven plugin.
`
[DEBUG] CookieSpec selected: best-match [DEBUG] Auth cache not set in the context [DEBUG] Connection request: [route: {s}->https://localhost:2376][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20] [DEBUG] Connection leased: [id: 0][route: {s}->https://localhost:2376][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 20] [DEBUG] Opening connection {s}->https://localhost:2376 [DEBUG] http-outgoing-0: Shutdown connection [DEBUG] Connection discarded [DEBUG] http-outgoing-0: Close connection [DEBUG] Connection released: [id: 0][route: {s}->https://localhost:2376][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20] [INFO] I/O exception (org.apache.http.conn.UnsupportedSchemeException) caught when processing request: https protocol is not supported [DEBUG] https protocol is not supported org.apache.http.conn.UnsupportedSchemeException: https protocol is not supported at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:99) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:357) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:218) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:194) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:85) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72) at com.github.dockerjava.jaxrs.connector.ApacheConnector.apply(ApacheConnector.java:441) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:246) at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:683) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:228) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424) at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:679) at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:408) at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:308) at com.github.dockerjava.jaxrs.VersionCmdExec.execute(VersionCmdExec.java:25) at com.github.dockerjava.jaxrs.VersionCmdExec.execute(VersionCmdExec.java:12) at com.github.dockerjava.jaxrs.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:23) at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:33) at com.alexecollins.docker.mojo.AbstractDockerMojo.dockerClient(AbstractDockerMojo.java:238) at com.alexecollins.docker.mojo.AbstractDockerMojo.execute(AbstractDockerMojo.java:166) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) 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:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) 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) [INFO] Retrying request [DEBUG] CookieSpec selected: best-match [DEBUG] Auth cache not set in the context [DEBUG] Connection request: [route: {s}->https://localhost:2376][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20] [DEBUG] Connection leased: [id: 1][route: {s}->https://localhost:2376][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 20] [DEBUG] Opening connection {s}->https://localhost:2376 [DEBUG] http-outgoing-1: Shutdown connection [DEBUG] Connection discarded [DEBUG] http-outgoing-1: Close connection [DEBUG] Connection released: [id: 1][route: {s}->https://localhost:2376][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20] [INFO] I/O exception (org.apache.http.conn.UnsupportedSchemeException) caught when processing request: https protocol is not supported [DEBUG] https protocol is not supported org.apache.http.conn.UnsupportedSchemeException: https protocol is not supported at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:99) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:357) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:218) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:194) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:85) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72) at com.github.dockerjava.jaxrs.connector.ApacheConnector.apply(ApacheConnector.java:441) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:246) at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:683) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:228) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424) at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:679) at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:408) at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:308) at com.github.dockerjava.jaxrs.VersionCmdExec.execute(VersionCmdExec.java:25) at com.github.dockerjava.jaxrs.VersionCmdExec.execute(VersionCmdExec.java:12) at com.github.dockerjava.jaxrs.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:23) at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:33) at com.alexecollins.docker.mojo.AbstractDockerMojo.dockerClient(AbstractDockerMojo.java:238) at com.alexecollins.docker.mojo.AbstractDockerMojo.execute(AbstractDockerMojo.java:166) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) 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:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) 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) [INFO] Retrying request [DEBUG] CookieSpec selected: best-match [DEBUG] Auth cache not set in the context [DEBUG] Connection request: [route: {s}->https://localhost:2376][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20] [DEBUG] Connection leased: [id: 2][route: {s}->https://localhost:2376][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 20] [DEBUG] Opening connection {s}->https://localhost:2376 [DEBUG] http-outgoing-2: Shutdown connection [DEBUG] Connection discarded [DEBUG] http-outgoing-2: Close connection [DEBUG] Connection released: [id: 2][route: {s}->https://localhost:2376][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20] [INFO] I/O exception (org.apache.http.conn.UnsupportedSchemeException) caught when processing request: https protocol is not supported [DEBUG] https protocol is not supported org.apache.http.conn.UnsupportedSchemeException: https protocol is not supported at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:99) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:357) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:218) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:194) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:85) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72) at com.github.dockerjava.jaxrs.connector.ApacheConnector.apply(ApacheConnector.java:441) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:246) at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:683) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:228) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424) at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:679) at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:408) at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:308) at com.github.dockerjava.jaxrs.VersionCmdExec.execute(VersionCmdExec.java:25) at com.github.dockerjava.jaxrs.VersionCmdExec.execute(VersionCmdExec.java:12) at com.github.dockerjava.jaxrs.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:23) at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:33) at com.alexecollins.docker.mojo.AbstractDockerMojo.dockerClient(AbstractDockerMojo.java:238) at com.alexecollins.docker.mojo.AbstractDockerMojo.execute(AbstractDockerMojo.java:166) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) 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:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) 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) [INFO] Retrying request [DEBUG] CookieSpec selected: best-match [DEBUG] Auth cache not set in the context [DEBUG] Connection request: [route: {s}->https://localhost:2376][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20] [DEBUG] Connection leased: [id: 3][route: {s}->https://localhost:2376][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 20] [DEBUG] Opening connection {s}->https://localhost:2376 [DEBUG] http-outgoing-3: Shutdown connection [DEBUG] Connection discarded [DEBUG] http-outgoing-3: Close connection [DEBUG] Connection released: [id: 3][route: {s}->https://localhost:2376][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20] javax.ws.rs.ProcessingException: org.apache.http.conn.UnsupportedSchemeException: https protocol is not supported at com.github.dockerjava.jaxrs.connector.ApacheConnector.apply(ApacheConnector.java:488) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:246) at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:683) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:228) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424) at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:679) at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:408) at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:308) at com.github.dockerjava.jaxrs.VersionCmdExec.execute(VersionCmdExec.java:25) at com.github.dockerjava.jaxrs.VersionCmdExec.execute(VersionCmdExec.java:12) at com.github.dockerjava.jaxrs.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:23) at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:33) at com.alexecollins.docker.mojo.AbstractDockerMojo.dockerClient(AbstractDockerMojo.java:238) at com.alexecollins.docker.mojo.AbstractDockerMojo.execute(AbstractDockerMojo.java:166) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) 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:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) 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.http.conn.UnsupportedSchemeException: https protocol is not supported at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:99) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:357) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:218) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:194) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:85) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72) at com.github.dockerjava.jaxrs.connector.ApacheConnector.apply(ApacheConnector.java:441) ... 36 more [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.936 s [INFO] Finished at: 2016-04-08T12:46:57+02:00 [INFO] Final Memory: 13M/300M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.alexecollins.docker:docker-maven-plugin:2.11.11-SNAPSHOT:clean (default) on project selenium-visual-testing: org.apache.http.conn.UnsupportedSchemeException: https protocol is not supported -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.alexecollins.docker:docker-maven-plugin:2.11.11-SNAPSHOT:clean (default) on project selenium-visual-testing: org.apache.http.conn.UnsupportedSchemeException: https protocol is not supported at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) 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:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) 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.MojoExecutionException: org.apache.http.conn.UnsupportedSchemeException: https protocol is not supported at com.alexecollins.docker.mojo.AbstractDockerMojo.execute(AbstractDockerMojo.java:171) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: javax.ws.rs.ProcessingException: org.apache.http.conn.UnsupportedSchemeException: https protocol is not supported at com.github.dockerjava.jaxrs.connector.ApacheConnector.apply(ApacheConnector.java:488) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:246) at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:683) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:228) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424) at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:679) at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:408) at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:308) at com.github.dockerjava.jaxrs.VersionCmdExec.execute(VersionCmdExec.java:25) at com.github.dockerjava.jaxrs.VersionCmdExec.execute(VersionCmdExec.java:12) at com.github.dockerjava.jaxrs.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:23) at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:33) at com.alexecollins.docker.mojo.AbstractDockerMojo.dockerClient(AbstractDockerMojo.java:238) at com.alexecollins.docker.mojo.AbstractDockerMojo.execute(AbstractDockerMojo.java:166) ... 21 more Caused by: org.apache.http.conn.UnsupportedSchemeException: https protocol is not supported at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:99) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:357) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:218) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:194) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:85) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72) at com.github.dockerjava.jaxrs.connector.ApacheConnector.apply(ApacheConnector.java:441) ... 36 more [DEBUG] Connection manager is shutting down [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [DEBUG] Connection manager shut down `