Re: karaf-maven-plugin: creating Docker image doesn't work for Windows

2019-05-05 Thread Jean-Baptiste Onofré
ds.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: java.io.IOException: Unable to crea

Re: karaf-maven-plugin: creating Docker image doesn't work for Windows

2019-05-05 Thread Jean-Baptiste Onofré
9) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:356) > Caused by: java.io.IOException: Unable to create process (error code: 9) > at o

RE: karaf-maven-plugin: creating Docker image doesn't work for Windows

2019-05-05 Thread Andrei Shakirin
e ? > > I'm still suspecting docker is not in the PATH when launched via Maven. > > Regards > JB > > On 05/05/2019 14:27, Andrei Shakirin wrote: > > Yes, docker is on path. > > As it was mentioned in previous mail, I am able to build docker image > > manua

Re: karaf-maven-plugin: creating Docker image doesn't work for Windows

2019-05-05 Thread Jean-Baptiste Onofré
é [mailto:j...@nanthrax.net] >> Sent: Sonntag, 5. Mai 2019 11:47 >> To: user@karaf.apache.org >> Subject: Re: karaf-maven-plugin: creating Docker image doesn't work for >> Windows >> >> Hi >> >> docker is in your path ? >> >> The kara

RE: karaf-maven-plugin: creating Docker image doesn't work for Windows

2019-05-05 Thread Andrei Shakirin
age- > From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net] > Sent: Sonntag, 5. Mai 2019 11:47 > To: user@karaf.apache.org > Subject: Re: karaf-maven-plugin: creating Docker image doesn't work for > Windows > > Hi > > docker is in your path ? > > The kar

Re: karaf-maven-plugin: creating Docker image doesn't work for Windows

2019-05-05 Thread Jean-Baptiste Onofré
Hi docker is in your path ? The karaf:docker goal does: docker build -t ${imageName} . where the directory is provided as argument (default is ${project.build.directory}). Regards JB On 05/05/2019 11:14, Andrei Shakirin wrote: > Hi, > > I have a problem to build Docker image using karaf-mave

karaf-maven-plugin: creating Docker image doesn't work for Windows

2019-05-05 Thread Andrei Shakirin
Hi, I have a problem to build Docker image using karaf-maven-plugin under Windows: Command "start mvn clean install -Pdocker" under Windows always returns following error: " [ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.2.5 :docker (docker-image) on project karaf-d