Hi JB, mvn -X karaf:docker output:
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T20:41:47+02:00) Maven home: D:\DevResources\apache-maven-3.6.0\bin\.. Java version: 1.8.0_151, vendor: Oracle Corporation, runtime: d:\jdks\jdk1.8.0_151\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" [DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages into class realm maven.api [DEBUG] Imported: javax.annotation.* < plexus.core [DEBUG] Imported: javax.annotation.security.* < plexus.core [DEBUG] Imported: javax.enterprise.inject.* < plexus.core [DEBUG] Imported: javax.enterprise.util.* < plexus.core [DEBUG] Imported: javax.inject.* < plexus.core [DEBUG] Imported: org.apache.maven.* < plexus.core [DEBUG] Imported: org.apache.maven.artifact < plexus.core [DEBUG] Imported: org.apache.maven.classrealm < plexus.core [DEBUG] Imported: org.apache.maven.cli < plexus.core [DEBUG] Imported: org.apache.maven.configuration < plexus.core [DEBUG] Imported: org.apache.maven.exception < plexus.core [DEBUG] Imported: org.apache.maven.execution < plexus.core [DEBUG] Imported: org.apache.maven.execution.scope < plexus.core [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core [DEBUG] Imported: org.apache.maven.model < plexus.core [DEBUG] Imported: org.apache.maven.monitor < plexus.core [DEBUG] Imported: org.apache.maven.plugin < plexus.core [DEBUG] Imported: org.apache.maven.profiles < plexus.core [DEBUG] Imported: org.apache.maven.project < plexus.core [DEBUG] Imported: org.apache.maven.reporting < plexus.core [DEBUG] Imported: org.apache.maven.repository < plexus.core [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core [DEBUG] Imported: org.apache.maven.settings < plexus.core [DEBUG] Imported: org.apache.maven.toolchain < plexus.core [DEBUG] Imported: org.apache.maven.usability < plexus.core [DEBUG] Imported: org.apache.maven.wagon.* < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core [DEBUG] Imported: org.codehaus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.* < plexus.core [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.component < plexus.core [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core [DEBUG] Imported: org.codehaus.plexus.container < plexus.core [DEBUG] Imported: org.codehaus.plexus.context < plexus.core [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core [DEBUG] Imported: org.eclipse.aether.* < plexus.core [DEBUG] Imported: org.eclipse.aether.artifact < plexus.core [DEBUG] Imported: org.eclipse.aether.collection < plexus.core [DEBUG] Imported: org.eclipse.aether.deployment < plexus.core [DEBUG] Imported: org.eclipse.aether.graph < plexus.core [DEBUG] Imported: org.eclipse.aether.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.installation < plexus.core [DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.metadata < plexus.core [DEBUG] Imported: org.eclipse.aether.repository < plexus.core [DEBUG] Imported: org.eclipse.aether.resolution < plexus.core [DEBUG] Imported: org.eclipse.aether.spi < plexus.core [DEBUG] Imported: org.eclipse.aether.transfer < plexus.core [DEBUG] Imported: org.eclipse.aether.version < plexus.core [DEBUG] Imported: org.fusesource.jansi.* < plexus.core [DEBUG] Imported: org.slf4j.* < plexus.core [DEBUG] Imported: org.slf4j.helpers.* < plexus.core [DEBUG] Imported: org.slf4j.spi.* < plexus.core [DEBUG] Populating class realm maven.api [INFO] Error stacktraces are turned on. [DEBUG] Message scheme: color [DEBUG] Message styles: debug info warning error success failure strong mojo project [DEBUG] Reading global settings from D:\DevResources\apache-maven-3.6.0\bin\..\conf\settings.xml [DEBUG] Reading user settings from C:\Users\ashakirin\.m2\settings.xml [DEBUG] Reading global toolchains from D:\DevResources\apache-maven-3.6.0\bin\..\conf\toolchains.xml [DEBUG] Reading user toolchains from C:\Users\ashakirin\.m2\toolchains.xml [DEBUG] Using local repository at C:\Users\ashakirin\.m2\repository [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\ashakirin\.m2\repository [INFO] Scanning for projects... [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=2165501, ConflictMarker.markTime=1123233, ConflictMarker.nodeCount=200, ConflictIdSorter.graphTime=1249810, ConflictIdSorter.topsortTime=691805, ConflictIdSorter.conflictIdCount=62, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=12443364, ConflictResolver.conflictItemCount=131, DefaultDependencyCollector.collectTime=907677132, DefaultDependencyCollector.transformTime=20099970} [DEBUG] org.apache.felix:maven-bundle-plugin:jar:4.1.0: [DEBUG] org.osgi:org.osgi.core:jar:4.3.1:compile [DEBUG] biz.aQute.bnd:biz.aQute.bndlib:jar:4.1.0:compile [DEBUG] org.apache.felix:org.apache.felix.bundlerepository:jar:1.6.6:compile [DEBUG] org.easymock:easymock:jar:2.4:compile [DEBUG] org.apache.felix:org.apache.felix.utils:jar:1.6.0:compile [DEBUG] org.osgi:org.osgi.compendium:jar:4.2.0:compile [DEBUG] org.apache.maven:maven-core:jar:2.2.0:compile [DEBUG] org.apache.maven:maven-settings:jar:2.2.0:compile [DEBUG] org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.0:compile [DEBUG] org.slf4j:slf4j-jdk14:jar:1.5.6:runtime [DEBUG] org.slf4j:slf4j-api:jar:1.5.6:runtime [DEBUG] org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime [DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:2.2.0:compile [DEBUG] org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile [DEBUG] org.apache.maven:maven-profile:jar:2.2.0:compile [DEBUG] org.apache.maven:maven-model:jar:2.2.0:compile [DEBUG] org.apache.maven:maven-artifact:jar:2.2.0:compile [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile [DEBUG] junit:junit:jar:3.8.1:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.2.0:compile [DEBUG] org.apache.maven:maven-error-diagnostics:jar:2.2.0:compile [DEBUG] org.apache.maven:maven-project:jar:2.2.0:compile [DEBUG] org.apache.maven:maven-plugin-registry:jar:2.2.0:compile [DEBUG] commons-cli:commons-cli:jar:1.2:compile [DEBUG] org.apache.maven:maven-plugin-api:jar:2.2.0:compile [DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.2.0:compile [DEBUG] org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.2.0:compile [DEBUG] backport-util-concurrent:backport-util-concurrent:jar:3.1:compile [DEBUG] org.apache.maven:maven-monitor:jar:2.2.0:compile [DEBUG] classworlds:classworlds:jar:1.1:compile [DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile [DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:compile [DEBUG] org.apache.maven:maven-archiver:jar:2.6:compile [DEBUG] org.apache.maven.shared:maven-shared-utils:jar:0.7:compile [DEBUG] com.google.code.findbugs:jsr305:jar:2.0.1:compile [DEBUG] org.codehaus.plexus:plexus-archiver:jar:2.8.1:compile [DEBUG] org.codehaus.plexus:plexus-io:jar:2.3.2:compile [DEBUG] org.apache.commons:commons-compress:jar:1.9:compile [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.21:compile [DEBUG] org.apache.maven.shared:maven-dependency-tree:jar:2.1:compile [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile [DEBUG] org.eclipse.aether:aether-util:jar:0.9.0.M2:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.10:compile [DEBUG] org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile [DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.0:compile [DEBUG] org.apache.maven.doxia:doxia-site-renderer:jar:1.0:compile [DEBUG] org.apache.maven.doxia:doxia-core:jar:1.0:compile [DEBUG] org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7:compile [DEBUG] org.codehaus.plexus:plexus-velocity:jar:1.1.7:compile [DEBUG] org.apache.velocity:velocity:jar:1.5:compile [DEBUG] commons-lang:commons-lang:jar:2.1:compile [DEBUG] oro:oro:jar:2.0.8:compile [DEBUG] org.apache.maven.doxia:doxia-decoration-model:jar:1.0:compile [DEBUG] commons-collections:commons-collections:jar:3.2:compile [DEBUG] org.apache.maven.doxia:doxia-module-apt:jar:1.0:compile [DEBUG] org.apache.maven.doxia:doxia-module-fml:jar:1.0:compile [DEBUG] org.apache.maven.doxia:doxia-module-xdoc:jar:1.0:compile [DEBUG] org.apache.maven.doxia:doxia-module-xhtml:jar:1.0:compile [DEBUG] org.jdom:jdom:jar:1.1:compile [DEBUG] Created new class realm extension>org.apache.felix:maven-bundle-plugin:4.1.0 [DEBUG] Importing foreign packages into class realm extension>org.apache.felix:maven-bundle-plugin:4.1.0 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm extension>org.apache.felix:maven-bundle-plugin:4.1.0 [DEBUG] Included: org.apache.felix:maven-bundle-plugin:jar:4.1.0 [DEBUG] Included: org.osgi:org.osgi.core:jar:4.3.1 [DEBUG] Included: biz.aQute.bnd:biz.aQute.bndlib:jar:4.1.0 [DEBUG] Included: org.apache.felix:org.apache.felix.bundlerepository:jar:1.6.6 [DEBUG] Included: org.easymock:easymock:jar:2.4 [DEBUG] Included: org.apache.felix:org.apache.felix.utils:jar:1.6.0 [DEBUG] Included: org.osgi:org.osgi.compendium:jar:4.2.0 [DEBUG] Included: org.slf4j:slf4j-jdk14:jar:1.5.6 [DEBUG] Included: org.slf4j:jcl-over-slf4j:jar:1.5.6 [DEBUG] Included: org.apache.maven.reporting:maven-reporting-api:jar:2.2.0 [DEBUG] Included: org.apache.maven.doxia:doxia-logging-api:jar:1.1 [DEBUG] Included: junit:junit:jar:3.8.1 [DEBUG] Included: commons-cli:commons-cli:jar:1.2 [DEBUG] Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4 [DEBUG] Included: backport-util-concurrent:backport-util-concurrent:jar:3.1 [DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3 [DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.4 [DEBUG] Included: org.apache.maven:maven-archiver:jar:2.6 [DEBUG] Included: org.apache.maven.shared:maven-shared-utils:jar:0.7 [DEBUG] Included: com.google.code.findbugs:jsr305:jar:2.0.1 [DEBUG] Included: org.codehaus.plexus:plexus-archiver:jar:2.8.1 [DEBUG] Included: org.codehaus.plexus:plexus-io:jar:2.3.2 [DEBUG] Included: org.apache.commons:commons-compress:jar:1.9 [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.21 [DEBUG] Included: org.apache.maven.shared:maven-dependency-tree:jar:2.1 [DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5 [DEBUG] Included: org.eclipse.aether:aether-util:jar:0.9.0.M2 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.10 [DEBUG] Included: org.sonatype.plexus:plexus-build-api:jar:0.0.7 [DEBUG] Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0 [DEBUG] Included: org.apache.maven.doxia:doxia-site-renderer:jar:1.0 [DEBUG] Included: org.apache.maven.doxia:doxia-core:jar:1.0 [DEBUG] Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7 [DEBUG] Included: org.codehaus.plexus:plexus-velocity:jar:1.1.7 [DEBUG] Included: org.apache.velocity:velocity:jar:1.5 [DEBUG] Included: commons-lang:commons-lang:jar:2.1 [DEBUG] Included: oro:oro:jar:2.0.8 [DEBUG] Included: org.apache.maven.doxia:doxia-decoration-model:jar:1.0 [DEBUG] Included: commons-collections:commons-collections:jar:3.2 [DEBUG] Included: org.apache.maven.doxia:doxia-module-apt:jar:1.0 [DEBUG] Included: org.apache.maven.doxia:doxia-module-fml:jar:1.0 [DEBUG] Included: org.apache.maven.doxia:doxia-module-xdoc:jar:1.0 [DEBUG] Included: org.apache.maven.doxia:doxia-module-xhtml:jar:1.0 [DEBUG] Included: org.jdom:jdom:jar:1.1 [DEBUG] Extension realms for project org.apache.karaf.examples:karaf-docker-example-static-dist:pom:4.2.5: [ClassRealm[extension>org.apache.felix:maven-bundle-plugin:4.1.0, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Created new class realm project>org.apache.karaf.examples:karaf-docker-example-static-dist:4.2.5 [DEBUG] Populating class realm project>org.apache.karaf.examples:karaf-docker-example-static-dist:4.2.5 [DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[project>org.apache.karaf.examples:karaf-docker-example-static-dist:4.2.5, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project org.apache.karaf.examples:karaf-docker-example:pom:4.2.5: [ClassRealm[extension>org.apache.felix:maven-bundle-plugin:4.1.0, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[project>org.apache.karaf.examples:karaf-docker-example-static-dist:4.2.5, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project org.apache.karaf.examples:apache-karaf-examples:pom:4.2.5: [ClassRealm[extension>org.apache.felix:maven-bundle-plugin:4.1.0, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[project>org.apache.karaf.examples:karaf-docker-example-static-dist:4.2.5, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project org.apache.karaf:karaf:pom:4.2.5: [ClassRealm[extension>org.apache.felix:maven-bundle-plugin:4.1.0, parent: sun.misc.Launcher$AppClassLoader@5c647e05]] [DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[project>org.apache.karaf.examples:karaf-docker-example-static-dist:4.2.5, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Extension realms for project org.apache:apache:pom:21: (none) [DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null] [DEBUG] Resolving plugin prefix karaf from [org.apache.maven.plugins, org.codehaus.mojo] [DEBUG] Resolved plugin prefix karaf to org.apache.karaf.tooling:karaf-maven-plugin from POM org.apache.karaf.examples:karaf-docker-example-static-dist:pom:4.2.5 [DEBUG] === REACTOR BUILD PLAN ================================================ [DEBUG] Project: org.apache.karaf.examples:karaf-docker-example-static-dist:pom:4.2.5 [DEBUG] Tasks: [karaf:docker] [DEBUG] Style: Regular [DEBUG] ======================================================================= [INFO] [INFO] -----< org.apache.karaf.examples:karaf-docker-example-static-dist >----- [INFO] Building Apache Karaf :: Examples :: Docker :: Static Distribution 4.2.5 [INFO] --------------------------------[ pom ]--------------------------------- [DEBUG] Resolving plugin prefix karaf from [org.apache.maven.plugins, org.codehaus.mojo] [DEBUG] Resolved plugin prefix karaf to org.apache.karaf.tooling:karaf-maven-plugin from POM org.apache.karaf.examples:karaf-docker-example-static-dist:pom:4.2.5 [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] === PROJECT BUILD PLAN ================================================ [DEBUG] Project: org.apache.karaf.examples:karaf-docker-example-static-dist:4.2.5 [DEBUG] Dependencies (collect): [] [DEBUG] Dependencies (resolve): [] [DEBUG] Repositories (dependencies): [snapshots (https://nexus-intern.mgmt.conrad24.com/nexus/content/repositories/snapshots, default, snapshots), releases (https://nexus-intern.mgmt.conrad24.com/nexus/content/repositories/releases, default, releases), thirdparty (https://nexus-intern.mgmt.conrad24.com/nexus/content/repositories/thirdparty, default, releases), central (https://nexus-intern.mgmt.conrad24.com/nexus/content/repositories/central, default, releases+snapshots), public-releases (https://nexus-intern.mgmt.conrad24.com/nexus/content/groups/public, default, releases+snapshots), apache-snapshots (http://repository.apache.org/content/groups/snapshots-group, default, snapshots), ops4j.sonatype.snapshots.deploy (https://oss.sonatype.org/content/repositories/ops4j-snapshots/, default, snapshots), apache.snapshots (https://repository.apache.org/snapshots, default, snapshots)] [DEBUG] Repositories (plugins) : [thirdparty (https://nexus-intern.mgmt.conrad24.com/nexus/content/repositories/thirdparty, default, releases), plugin-releases (https://nexus-intern.mgmt.conrad24.com/nexus/content/repositories/releases, default, releases), plugin-snapshots (https://nexus-intern.mgmt.conrad24.com/nexus/content/repositories/snapshots, default, snapshots), apache-snapshots (http://repository.apache.org/content/groups/snapshots-group, default, snapshots), central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.karaf.tooling:karaf-maven-plugin:4.2.5:docker (default-cli) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?> <configuration> <featureArtifactType default-value="xml"/> <imageName default-value="karaf"/> <localRepo default-value="${localRepository}"/> <location default-value="${project.build.directory}"/> <mavenSession default-value="${session}"/> <project default-value="${project}"/> <remoteRepos default-value="${project.remoteArtifactRepositories}"/> <workDirectory default-value="${project.build.directory}/${project.artifactId}-${project.version}-installer"/> </configuration> [DEBUG] ======================================================================= [INFO] [INFO] --- karaf-maven-plugin:4.2.5:docker (default-cli) @ karaf-docker-example-static-dist --- [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=2279534, ConflictMarker.markTime=859055, ConflictMarker.nodeCount=546, ConflictIdSorter.graphTime=691805, ConflictIdSorter.topsortTime=187396, ConflictIdSorter.conflictIdCount=125, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=14432873, ConflictResolver.conflictItemCount=265, DefaultDependencyCollector.collectTime=1173901475, DefaultDependencyCollector.transformTime=18512240} [DEBUG] org.apache.karaf.tooling:karaf-maven-plugin:jar:4.2.5: [DEBUG] org.apache.maven:maven-plugin-api:jar:3.6.0:compile [DEBUG] org.apache.maven:maven-model:jar:3.6.0:compile [DEBUG] org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.3:compile [DEBUG] javax.enterprise:cdi-api:jar:1.0:compile [DEBUG] javax.annotation:jsr250-api:jar:1.0:compile [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.5.2:compile [DEBUG] org.apache.maven.resolver:maven-resolver-api:jar:1.3.1:compile [DEBUG] org.apache.maven.resolver:maven-resolver-util:jar:1.3.1:compile [DEBUG] org.apache.maven:maven-artifact:jar:3.6.0:compile [DEBUG] org.apache.commons:commons-lang3:jar:3.8.1:compile [DEBUG] org.apache.maven:maven-core:jar:3.6.0:compile [DEBUG] org.apache.maven:maven-settings:jar:3.6.0:compile [DEBUG] org.apache.maven:maven-settings-builder:jar:3.6.0:compile [DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.4:compile [DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:compile [DEBUG] org.apache.maven:maven-builder-support:jar:3.6.0:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:3.6.0:compile [DEBUG] org.apache.maven:maven-model-builder:jar:3.6.0:compile [DEBUG] org.apache.maven.resolver:maven-resolver-impl:jar:1.3.1:compile [DEBUG] org.apache.maven.resolver:maven-resolver-spi:jar:1.3.1:compile [DEBUG] org.apache.maven.shared:maven-shared-utils:jar:3.2.1:compile [DEBUG] org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.3:compile [DEBUG] com.google.inject:guice:jar:no_aop:4.2.1:compile [DEBUG] aopalliance:aopalliance:jar:1.0:compile [DEBUG] com.google.guava:guava:jar:25.1-android:compile [DEBUG] com.google.code.findbugs:jsr305:jar:3.0.2:compile [DEBUG] org.checkerframework:checker-compat-qual:jar:2.0.0:compile [DEBUG] com.google.errorprone:error_prone_annotations:jar:2.1.3:compile [DEBUG] com.google.j2objc:j2objc-annotations:jar:1.1:compile [DEBUG] org.codehaus.mojo:animal-sniffer-annotations:jar:1.14:compile [DEBUG] javax.inject:javax.inject:jar:1:compile [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.7.1:compile [DEBUG] org.apache.maven:maven-compat:jar:3.6.0:compile [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.25:compile [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:3.2.0:compile [DEBUG] org.apache.maven.plugin-tools:maven-plugin-annotations:jar:3.6.0:compile [DEBUG] org.apache.maven.wagon:wagon-http:jar:3.2.0:compile [DEBUG] org.apache.maven.wagon:wagon-http-shared:jar:3.2.0:compile [DEBUG] org.jsoup:jsoup:jar:1.11.2:compile [DEBUG] org.apache.httpcomponents:httpclient:jar:4.5.6:compile [DEBUG] commons-codec:commons-codec:jar:1.10:compile [DEBUG] org.apache.httpcomponents:httpcore:jar:4.4.10:compile [DEBUG] org.slf4j:jcl-over-slf4j:jar:1.7.12:compile [DEBUG] org.apache.karaf:org.apache.karaf.util:jar:4.2.5:compile [DEBUG] org.apache.felix:org.apache.felix.utils:jar:1.11.2:compile [DEBUG] org.slf4j:slf4j-api:jar:1.7.12:compile [DEBUG] org.apache.karaf.jaas:org.apache.karaf.jaas.boot:jar:4.2.5:compile [DEBUG] org.apache.karaf.tooling:org.apache.karaf.tools.utils:jar:4.2.5:compile [DEBUG] commons-io:commons-io:jar:2.6:compile [DEBUG] org.slf4j:slf4j-jdk14:jar:1.7.12:compile [DEBUG] org.apache.maven.shared:maven-filtering:jar:3.1.1:compile [DEBUG] org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.24:compile [DEBUG] org.apache.felix:maven-bundle-plugin:jar:4.1.0:compile [DEBUG] biz.aQute.bnd:biz.aQute.bndlib:jar:4.1.0:compile [DEBUG] org.apache.maven:maven-archiver:jar:2.6:compile [DEBUG] org.apache.maven.shared:maven-dependency-tree:jar:3.0.1:compile [DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.0:compile [DEBUG] org.apache.maven.doxia:doxia-site-renderer:jar:1.0:compile [DEBUG] org.apache.maven.doxia:doxia-core:jar:1.0:compile [DEBUG] org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7:compile [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-30:compile [DEBUG] junit:junit:jar:4.12:compile [DEBUG] org.hamcrest:hamcrest-core:jar:1.3:compile [DEBUG] org.codehaus.plexus:plexus-velocity:jar:1.1.7:compile [DEBUG] org.apache.velocity:velocity:jar:1.5:compile [DEBUG] commons-lang:commons-lang:jar:2.1:compile [DEBUG] oro:oro:jar:2.0.8:compile [DEBUG] org.apache.maven.doxia:doxia-decoration-model:jar:1.0:compile [DEBUG] commons-collections:commons-collections:jar:3.2.2:compile [DEBUG] org.apache.maven.doxia:doxia-module-apt:jar:1.0:compile [DEBUG] org.apache.maven.doxia:doxia-module-fml:jar:1.0:compile [DEBUG] org.apache.maven.doxia:doxia-module-xdoc:jar:1.0:compile [DEBUG] org.apache.maven.doxia:doxia-module-xhtml:jar:1.0:compile [DEBUG] org.jdom:jdom:jar:1.1:compile [DEBUG] org.codehaus.plexus:plexus-archiver:jar:3.5:compile [DEBUG] org.codehaus.plexus:plexus-io:jar:3.0.0:compile [DEBUG] org.iq80.snappy:snappy:jar:0.4:compile [DEBUG] org.tukaani:xz:jar:1.6:runtime [DEBUG] org.apache.felix:org.apache.felix.fileinstall:jar:3.6.4:compile [DEBUG] org.apache.karaf.features:org.apache.karaf.features.core:jar:4.2.5:compile [DEBUG] org.ops4j.base:ops4j-base-util-property:jar:1.5.0:compile [DEBUG] org.ops4j.base:ops4j-base-util-collections:jar:1.5.0:compile [DEBUG] org.ops4j.base:ops4j-base-lang:jar:1.5.0:compile [DEBUG] org.ops4j.pax.swissbox:pax-swissbox-property:jar:1.8.3:compile [DEBUG] org.glassfish.jaxb:jaxb-runtime:jar:2.3.2:compile [DEBUG] org.glassfish.jaxb:txw2:jar:2.3.2:compile [DEBUG] com.sun.istack:istack-commons-runtime:jar:3.0.8:compile [DEBUG] org.jvnet.staxex:stax-ex:jar:1.8.1:compile [DEBUG] com.sun.xml.fastinfoset:FastInfoset:jar:1.2.16:compile [DEBUG] org.apache.karaf.profile:org.apache.karaf.profile.core:jar:4.2.5:compile [DEBUG] org.apache.felix:org.apache.felix.resolver:jar:1.16.0:compile [DEBUG] org.ops4j.pax.url:pax-url-wrap:jar:uber:2.6.1:compile [DEBUG] org.ops4j.pax.url:pax-url-commons:jar:2.6.1:compile [DEBUG] org.ops4j.base:ops4j-base-net:jar:1.5.0:compile [DEBUG] org.ops4j.base:ops4j-base-monitors:jar:1.5.0:compile [DEBUG] org.ops4j.pax.swissbox:pax-swissbox-bnd:jar:1.8.3:compile [DEBUG] biz.aQute.bnd:bndlib:jar:2.4.0:compile [DEBUG] org.ops4j.pax.url:pax-url-aether:jar:2.6.1:compile [DEBUG] org.ops4j.pax.url:pax-url-war:jar:uber:2.6.1:compile [DEBUG] org.ops4j.pax.swissbox:pax-swissbox-optional-jcl:jar:1.8.3:compile [DEBUG] org.apache.karaf.deployer:org.apache.karaf.deployer.spring:jar:4.2.5:compile [DEBUG] org.apache.karaf.deployer:org.apache.karaf.deployer.blueprint:jar:4.2.5:compile [DEBUG] org.apache.karaf.deployer:org.apache.karaf.deployer.features:jar:4.2.5:compile [DEBUG] org.apache.karaf.deployer:org.apache.karaf.deployer.kar:jar:4.2.5:compile [DEBUG] org.apache.karaf.kar:org.apache.karaf.kar.core:jar:4.2.5:compile [DEBUG] org.apache.karaf.shell:org.apache.karaf.shell.console:jar:4.2.5:compile [DEBUG] org.jline:jline:jar:3.10.0:compile [DEBUG] org.fusesource.jansi:jansi:jar:1.17.1:compile [DEBUG] org.apache.karaf.jaas:org.apache.karaf.jaas.modules:jar:4.2.5:compile [DEBUG] org.apache.karaf.jaas:org.apache.karaf.jaas.config:jar:4.2.5:compile [DEBUG] org.apache.karaf.shell:org.apache.karaf.shell.core:jar:4.2.5:compile [DEBUG] org.apache.sshd:sshd-core:jar:1.7.0:compile [DEBUG] org.apache.karaf:org.apache.karaf.main:jar:4.2.5:compile [DEBUG] net.java.dev.jna:jna:jar:4.5.2:compile [DEBUG] net.java.dev.jna:jna-platform:jar:4.5.2:compile [DEBUG] org.apache.karaf.diagnostic:org.apache.karaf.diagnostic.boot:jar:4.2.5:compile [DEBUG] org.apache.commons:commons-compress:jar:1.18:compile [DEBUG] org.osgi:org.osgi.core:jar:6.0.0:compile [DEBUG] org.apache.xbean:xbean-finder-shaded:jar:4.12:compile [DEBUG] org.apache.xbean:xbean-asm7-shaded:jar:4.12:compile [DEBUG] jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.2:compile [DEBUG] jakarta.activation:jakarta.activation-api:jar:1.2.1:compile [DEBUG] Created new class realm plugin>org.apache.karaf.tooling:karaf-maven-plugin:4.2.5 [DEBUG] Importing foreign packages into class realm plugin>org.apache.karaf.tooling:karaf-maven-plugin:4.2.5 [DEBUG] Imported: < project>org.apache.karaf.examples:karaf-docker-example-static-dist:4.2.5 [DEBUG] Populating class realm plugin>org.apache.karaf.tooling:karaf-maven-plugin:4.2.5 [DEBUG] Included: org.apache.karaf.tooling:karaf-maven-plugin:jar:4.2.5 [DEBUG] Included: javax.enterprise:cdi-api:jar:1.0 [DEBUG] Included: org.apache.maven.resolver:maven-resolver-util:jar:1.3.1 [DEBUG] Included: org.apache.commons:commons-lang3:jar:3.8.1 [DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.4 [DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.4 [DEBUG] Included: org.apache.maven:maven-builder-support:jar:3.6.0 [DEBUG] Included: org.apache.maven.shared:maven-shared-utils:jar:3.2.1 [DEBUG] Included: org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.3 [DEBUG] Included: com.google.inject:guice:jar:no_aop:4.2.1 [DEBUG] Included: aopalliance:aopalliance:jar:1.0 [DEBUG] Included: com.google.guava:guava:jar:25.1-android [DEBUG] Included: com.google.code.findbugs:jsr305:jar:3.0.2 [DEBUG] Included: org.checkerframework:checker-compat-qual:jar:2.0.0 [DEBUG] Included: com.google.errorprone:error_prone_annotations:jar:2.1.3 [DEBUG] Included: com.google.j2objc:j2objc-annotations:jar:1.1 [DEBUG] Included: org.codehaus.mojo:animal-sniffer-annotations:jar:1.14 [DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.7.1 [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.25 [DEBUG] Included: org.apache.maven.plugin-tools:maven-plugin-annotations:jar:3.6.0 [DEBUG] Included: org.apache.maven.wagon:wagon-http:jar:3.2.0 [DEBUG] Included: org.apache.maven.wagon:wagon-http-shared:jar:3.2.0 [DEBUG] Included: org.jsoup:jsoup:jar:1.11.2 [DEBUG] Included: org.apache.httpcomponents:httpclient:jar:4.5.6 [DEBUG] Included: commons-codec:commons-codec:jar:1.10 [DEBUG] Included: org.apache.httpcomponents:httpcore:jar:4.4.10 [DEBUG] Included: org.slf4j:jcl-over-slf4j:jar:1.7.12 [DEBUG] Included: org.apache.karaf:org.apache.karaf.util:jar:4.2.5 [DEBUG] Included: org.apache.felix:org.apache.felix.utils:jar:1.11.2 [DEBUG] Included: org.apache.karaf.jaas:org.apache.karaf.jaas.boot:jar:4.2.5 [DEBUG] Included: org.apache.karaf.tooling:org.apache.karaf.tools.utils:jar:4.2.5 [DEBUG] Included: commons-io:commons-io:jar:2.6 [DEBUG] Included: org.slf4j:slf4j-jdk14:jar:1.7.12 [DEBUG] Included: org.apache.maven.shared:maven-filtering:jar:3.1.1 [DEBUG] Included: org.sonatype.plexus:plexus-build-api:jar:0.0.7 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.24 [DEBUG] Included: org.apache.felix:maven-bundle-plugin:jar:4.1.0 [DEBUG] Included: biz.aQute.bnd:biz.aQute.bndlib:jar:4.1.0 [DEBUG] Included: org.apache.maven:maven-archiver:jar:2.6 [DEBUG] Included: org.apache.maven.shared:maven-dependency-tree:jar:3.0.1 [DEBUG] Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0 [DEBUG] Included: org.apache.maven.doxia:doxia-site-renderer:jar:1.0 [DEBUG] Included: org.apache.maven.doxia:doxia-core:jar:1.0 [DEBUG] Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7 [DEBUG] Included: junit:junit:jar:4.12 [DEBUG] Included: org.hamcrest:hamcrest-core:jar:1.3 [DEBUG] Included: org.codehaus.plexus:plexus-velocity:jar:1.1.7 [DEBUG] Included: org.apache.velocity:velocity:jar:1.5 [DEBUG] Included: commons-lang:commons-lang:jar:2.1 [DEBUG] Included: oro:oro:jar:2.0.8 [DEBUG] Included: org.apache.maven.doxia:doxia-decoration-model:jar:1.0 [DEBUG] Included: commons-collections:commons-collections:jar:3.2.2 [DEBUG] Included: org.apache.maven.doxia:doxia-module-apt:jar:1.0 [DEBUG] Included: org.apache.maven.doxia:doxia-module-fml:jar:1.0 [DEBUG] Included: org.apache.maven.doxia:doxia-module-xdoc:jar:1.0 [DEBUG] Included: org.apache.maven.doxia:doxia-module-xhtml:jar:1.0 [DEBUG] Included: org.jdom:jdom:jar:1.1 [DEBUG] Included: org.codehaus.plexus:plexus-archiver:jar:3.5 [DEBUG] Included: org.codehaus.plexus:plexus-io:jar:3.0.0 [DEBUG] Included: org.iq80.snappy:snappy:jar:0.4 [DEBUG] Included: org.tukaani:xz:jar:1.6 [DEBUG] Included: org.apache.felix:org.apache.felix.fileinstall:jar:3.6.4 [DEBUG] Included: org.apache.karaf.features:org.apache.karaf.features.core:jar:4.2.5 [DEBUG] Included: org.ops4j.base:ops4j-base-util-property:jar:1.5.0 [DEBUG] Included: org.ops4j.base:ops4j-base-util-collections:jar:1.5.0 [DEBUG] Included: org.ops4j.base:ops4j-base-lang:jar:1.5.0 [DEBUG] Included: org.ops4j.pax.swissbox:pax-swissbox-property:jar:1.8.3 [DEBUG] Included: org.glassfish.jaxb:jaxb-runtime:jar:2.3.2 [DEBUG] Included: org.glassfish.jaxb:txw2:jar:2.3.2 [DEBUG] Included: com.sun.istack:istack-commons-runtime:jar:3.0.8 [DEBUG] Included: org.jvnet.staxex:stax-ex:jar:1.8.1 [DEBUG] Included: com.sun.xml.fastinfoset:FastInfoset:jar:1.2.16 [DEBUG] Included: org.apache.karaf.profile:org.apache.karaf.profile.core:jar:4.2.5 [DEBUG] Included: org.apache.felix:org.apache.felix.resolver:jar:1.16.0 [DEBUG] Included: org.ops4j.pax.url:pax-url-wrap:jar:uber:2.6.1 [DEBUG] Included: org.ops4j.pax.url:pax-url-commons:jar:2.6.1 [DEBUG] Included: org.ops4j.base:ops4j-base-net:jar:1.5.0 [DEBUG] Included: org.ops4j.base:ops4j-base-monitors:jar:1.5.0 [DEBUG] Included: org.ops4j.pax.swissbox:pax-swissbox-bnd:jar:1.8.3 [DEBUG] Included: biz.aQute.bnd:bndlib:jar:2.4.0 [DEBUG] Included: org.ops4j.pax.url:pax-url-aether:jar:2.6.1 [DEBUG] Included: org.ops4j.pax.url:pax-url-war:jar:uber:2.6.1 [DEBUG] Included: org.ops4j.pax.swissbox:pax-swissbox-optional-jcl:jar:1.8.3 [DEBUG] Included: org.apache.karaf.deployer:org.apache.karaf.deployer.spring:jar:4.2.5 [DEBUG] Included: org.apache.karaf.deployer:org.apache.karaf.deployer.blueprint:jar:4.2.5 [DEBUG] Included: org.apache.karaf.deployer:org.apache.karaf.deployer.features:jar:4.2.5 [DEBUG] Included: org.apache.karaf.deployer:org.apache.karaf.deployer.kar:jar:4.2.5 [DEBUG] Included: org.apache.karaf.kar:org.apache.karaf.kar.core:jar:4.2.5 [DEBUG] Included: org.apache.karaf.shell:org.apache.karaf.shell.console:jar:4.2.5 [DEBUG] Included: org.jline:jline:jar:3.10.0 [DEBUG] Included: org.apache.karaf.jaas:org.apache.karaf.jaas.modules:jar:4.2.5 [DEBUG] Included: org.apache.karaf.jaas:org.apache.karaf.jaas.config:jar:4.2.5 [DEBUG] Included: org.apache.karaf.shell:org.apache.karaf.shell.core:jar:4.2.5 [DEBUG] Included: org.apache.sshd:sshd-core:jar:1.7.0 [DEBUG] Included: org.apache.karaf:org.apache.karaf.main:jar:4.2.5 [DEBUG] Included: net.java.dev.jna:jna:jar:4.5.2 [DEBUG] Included: net.java.dev.jna:jna-platform:jar:4.5.2 [DEBUG] Included: org.apache.karaf.diagnostic:org.apache.karaf.diagnostic.boot:jar:4.2.5 [DEBUG] Included: org.apache.commons:commons-compress:jar:1.18 [DEBUG] Included: org.osgi:org.osgi.core:jar:6.0.0 [DEBUG] Included: org.apache.xbean:xbean-finder-shaded:jar:4.12 [DEBUG] Included: org.apache.xbean:xbean-asm7-shaded:jar:4.12 [DEBUG] Included: jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.2 [DEBUG] Included: jakarta.activation:jakarta.activation-api:jar:1.2.1 [DEBUG] Configuring mojo org.apache.karaf.tooling:karaf-maven-plugin:4.2.5:docker from plugin realm ClassRealm[plugin>org.apache.karaf.tooling:karaf-maven-plugin:4.2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05] [DEBUG] Configuring mojo 'org.apache.karaf.tooling:karaf-maven-plugin:4.2.5:docker' with basic configurator --> [DEBUG] (f) featureArtifactType = xml [DEBUG] (f) imageName = karaf [DEBUG] (f) localRepo = id: local url: file:///C:/Users/ashakirin/.m2/repository/ layout: default snapshots: [enabled => true, update => always] releases: [enabled => true, update => always] [DEBUG] (f) location = D:\Projects\Karaf\karaf-docker-example\karaf-docker-example-static-dist\target [DEBUG] (s) mavenSession = org.apache.maven.execution.MavenSession@72fd8a3c [DEBUG] (f) project = MavenProject: org.apache.karaf.examples:karaf-docker-example-static-dist:4.2.5 @ D:\Projects\Karaf\karaf-docker-example\karaf-docker-example-static-dist\pom.xml [DEBUG] (f) remoteRepos = [ id: snapshots url: https://nexus-intern.mgmt.conrad24.com/nexus/content/repositories/snapshots layout: default snapshots: [enabled => true, update => always] releases: [enabled => false, update => daily] , id: releases url: https://nexus-intern.mgmt.conrad24.com/nexus/content/repositories/releases layout: default snapshots: [enabled => false, update => daily] releases: [enabled => true, update => daily] , id: thirdparty url: https://nexus-intern.mgmt.conrad24.com/nexus/content/repositories/thirdparty layout: default snapshots: [enabled => false, update => daily] releases: [enabled => true, update => daily] , id: central url: https://nexus-intern.mgmt.conrad24.com/nexus/content/repositories/central layout: default snapshots: [enabled => true, update => daily] releases: [enabled => true, update => daily] , id: public-releases url: https://nexus-intern.mgmt.conrad24.com/nexus/content/groups/public layout: default snapshots: [enabled => true, update => daily] releases: [enabled => true, update => daily] , id: apache-snapshots url: http://repository.apache.org/content/groups/snapshots-group layout: default snapshots: [enabled => true, update => daily] releases: [enabled => false, update => daily] , id: ops4j.sonatype.snapshots.deploy url: https://oss.sonatype.org/content/repositories/ops4j-snapshots/ layout: default snapshots: [enabled => true, update => daily] releases: [enabled => false, update => daily] , id: apache.snapshots url: https://repository.apache.org/snapshots layout: default snapshots: [enabled => true, update => daily] releases: [enabled => false, update => daily] ] [DEBUG] (f) workDirectory = D:\Projects\Karaf\karaf-docker-example\karaf-docker-example-static-dist\target\karaf-docker-example-static-dist-4.2.5-installer [DEBUG] -- end configuration -- [INFO] Creating Docker image [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.334 s [INFO] Finished at: 2019-05-05T15:46:42+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.2.5:docker (default-cli) on project karaf-docker-example-static-dist: Can't create Docker image: Unable to create process (error code: 9) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.2.5:docker (default-cli) on project karaf-docker-example-static-dist: Can't create Docker image: Unable to create process (error code: 9) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) 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: Can't create Docker image: Unable to create process (error code: 9) at org.apache.karaf.tooling.DockerMojo.execute (DockerMojo.java:58) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) 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: java.io.IOException: Unable to create process (error code: 9) at org.apache.karaf.jpm.impl.ProcessImpl.create (ProcessImpl.java:129) at org.apache.karaf.jpm.impl.ProcessBuilderImpl.start (ProcessBuilderImpl.java:42) at org.apache.karaf.tooling.DockerMojo.execute (DockerMojo.java:48) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) 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) [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 > -----Original Message----- > From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net] > Sent: Sonntag, 5. Mai 2019 14:31 > To: user@karaf.apache.org > Subject: Re: karaf-maven-plugin: creating Docker image doesn't work for > Windows > > Can you do mvn -X karaf:docker and send the output to me please ? > > 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 > > manually from target directory using docker build -t karaf-docker-example . > > > > But not through the pom build karaf:docker goal. > > > > What can be wrong here? > > > > Regards, > > Andrei. > > > >> -----Original Message----- > >> 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 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-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-docker-example-static-dist: > >>> Can't create Docker image: Unable to create process (error code: 9) > >>> -> [Help 1] [ERROR]" > >>> > >>> However, I can build and run docker image based on generated > >>> Dockerfile > >> manually using commands: > >>> "docker build --tag=karaf-docker-example ." > >>> "docker run --name karaf-docker-example -p 8181:8181 -d > >>> karaf-docker- > >> example" > >>> > >>> Any ideas what can be the reason of code 9 by karaf-maven-plugin? > >>> > >>> Regards, > >>> Andrei. > >>> As a recipient of an email from Talend, your contact personal data > >>> will be on our systems. Please see our contacts privacy notice at > >>> Talend, Inc. <https://www.talend.com/contacts-privacy-policy/> > >>> > >>> > >> > >> -- > >> Jean-Baptiste Onofré > >> jbono...@apache.org > >> https://urldefense.proofpoint.com/v2/url?u=http- > >> > 3A__blog.nanthrax.net&d=DwIDaQ&c=2w5q_42kFG40MI2alLPgJw&r=bWOqkHj > >> IZE0sZtdpFMIhm-lcbhtB3cv08OlIr0lkKR4&m=b- > >> > YaOUsyfhKYQwVch5Aq5nICJ8ZZ6hLuaJpJvqI7UFU&s=7P5MIBnyb16qfXjrkXmPbG > >> f2VLdw46SBbm1pLulcKxI&e= > >> Talend - http://www.talend.com > > -- > Jean-Baptiste Onofré > jbono...@apache.org > https://urldefense.proofpoint.com/v2/url?u=http- > 3A__blog.nanthrax.net&d=DwIDaQ&c=2w5q_42kFG40MI2alLPgJw&r=bWOqkHj > IZE0sZtdpFMIhm-lcbhtB3cv08OlIr0lkKR4&m=oPWsgIKK96CuQ0wS- > w0zqOCDg_fcXYMlIFX6Zy- > nB9E&s=lFZZrMPv34Hrs5maOezrPvom0g_1h3UK8GDVgelQv9w&e= > Talend - http://www.talend.com