Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build image failed: peer not authenticated #542

Closed
itliusir opened this issue Jul 11, 2018 · 12 comments · Fixed by #549
Closed

Build image failed: peer not authenticated #542

itliusir opened this issue Jul 11, 2018 · 12 comments · Fixed by #549
Assignees

Comments

@itliusir
Copy link

itliusir commented Jul 11, 2018

Description of the issue: When I executed the command mvn compile jib:build, I got the following error:Build image failed: peer not authenticated

Steps to reproduce:

Environment: CentOs7.4、maven 3.5.0、Spring Boot 1.5.6、Docker 17.09.0-ce

jib-maven-plugin Configuration:

<plugin>
	<groupId>com.google.cloud.tools</groupId>
	<artifactId>jib-maven-plugin</artifactId>
	<version>0.9.2</version>
	<configuration>
		<from>
			<image>my/base/jdk8:152b16_alpine</image>
		</from>
		<to>
			<image>demo/jib-demo</image>
			<credHelper>releases</credHelper>
		</to>
		<container>
			<mainClass>com.demo.jib.JibDemoApplication</mainClass>
			<ports>
				<port>8080</port>
			</ports>
			<format>OCI</format>
		</container>
		<allowInsecureRegistries>true</allowInsecureRegistries>
	</configuration>
</plugin>

Log output:

[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building jib-demo 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jib-demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ jib-demo ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- jib-maven-plugin:0.9.2:build (default-cli) @ jib-demo ---
[INFO] 
[INFO] Containerizing application to demo/jib-demo...
[INFO] 
[INFO] Retrieving registry credentials for registry.hub.docker.com...
[INFO] Getting base image harbor.server64.cn/base/jdk8:152b16_alpine...
[INFO] Building dependencies layer...
[INFO] Building resources layer...
[INFO] Building classes layer...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.527 s
[INFO] Finished at: 2018-07-11T13:56:05+08:00
[INFO] Final Memory: 26M/323M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.cloud.tools:jib-maven-plugin:0.9.2:build (default-cli) on project jib-demo: Build image failed: peer not authenticated -> [Help 1]

Additional Information: I use maven

@coollog
Copy link
Contributor

coollog commented Jul 11, 2018

Hi @itliusir this is most likely the same issue as #541. We are working on a fix for this.

@coollog
Copy link
Contributor

coollog commented Jul 11, 2018

@itliusir @axpira We just released version 0.9.4. Try updating to that version and your issue should hopefully be fixed :)

@coollog coollog closed this as completed Jul 11, 2018
@itliusir
Copy link
Author

@coollog I tried to update to version 0.9.4, but it is still this error

@itliusir
Copy link
Author

itliusir commented Jul 12, 2018

@coollog
pom config and maven setting config

<plugin>
	<groupId>com.google.cloud.tools</groupId>
	<artifactId>jib-maven-plugin</artifactId>
	<version>0.9.4</version>
	<configuration>
		<from>
			<image>harbor.server64.cn/base/jdk8:152b16_alpine</image>
		</from>
		<to>
			<image>harbor.server64.cn/business/jib-demo</image>
			<credHelper>harbor.server64.cn</credHelper>
		</to>
		<container>
			<mainClass>com.demo.jib.JibDemoApplication</mainClass>
			<ports>
				<port>8080</port>
			</ports>
			<format>OCI</format>
		</container>
		<allowInsecureRegistries>true</allowInsecureRegistries>
	</configuration>
</plugin>

my harbor username and password

<server>
	<id>harbor.server64.cn</id>
	<username>test</username>
	<password>Test1234</password>
</server>

@coollog
Copy link
Contributor

coollog commented Jul 12, 2018

@itliusir Hmm, do you happen to be using a self-signed certificate for your private registry?

@zhaofengcumt
Copy link

zhaofengcumt commented Jul 12, 2018

E:\software\develop\Java\jdk\bin\java -Dmaven.multiModuleProjectDirectory=E:\test\k8s-demo -Dmaven.home=E:\software\develop\Maven -Dclassworlds.conf=E:\software\develop\Maven\bin\m2.conf -Didea.launcher.port=7539 -Didea.launcher.bin.path=E:\software\develop\Idea\bin -Dfile.encoding=UTF-8 -classpath E:\software\develop\Maven\boot\plexus-classworlds-2.5.2.jar;E:\software\develop\Idea\lib\idea_rt.jar com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher -Didea.version=2016.2.2 -s E:\software\develop\Maven\conf\settings.xml -Dmaven.repo.local=E:\software\develop\Maven\repository -DskipTests=true compile jib:build -X
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T00:41:47+08:00)
Maven home: E:\software\develop\Maven
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: E:\software\develop\Java\jdk\jre
Default locale: zh_CN, platform encoding: UTF-8
OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[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.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] Reading global settings from E:\software\develop\Maven\conf\settings.xml
[DEBUG] Reading user settings from E:\software\develop\Maven\conf\settings.xml
[DEBUG] Reading global toolchains from E:\software\develop\Maven\conf\toolchains.xml
[DEBUG] Reading user toolchains from C:\Users\zhaofeng\.m2\toolchains.xml
[DEBUG] Using local repository at E:\software\develop\Maven\repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for E:\software\develop\Maven\repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project com.zhaofeng:k8s-webapp-demo:jar:1.0: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project org.springframework.boot:spring-boot-starter-parent:pom:1.5.8.RELEASE: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project org.springframework.boot:spring-boot-dependencies:pom:1.5.8.RELEASE: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin prefix jib from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix jib to com.google.cloud.tools:jib-maven-plugin from POM com.zhaofeng:k8s-webapp-demo:jar:1.0
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: com.zhaofeng:k8s-webapp-demo:jar:1.0
[DEBUG] Tasks:   [compile, jib:build]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building k8s-webapp-demo 1.0
[INFO] ------------------------------------------------------------------------
[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] Resolving plugin prefix jib from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix jib to com.google.cloud.tools:jib-maven-plugin from POM com.zhaofeng:k8s-webapp-demo:jar:1.0
[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] 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] 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:       com.zhaofeng:k8s-webapp-demo:1.0
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile, runtime+system]
[DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <buildFilters default-value="${project.build.filters}"/>
  <delimiters>
    <delimiter>@</delimiter>
  </delimiters>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <escapeString>${maven.resources.escapeString}</escapeString>
  <escapeWindowsPaths default-value="true">${maven.resources.escapeWindowsPaths}</escapeWindowsPaths>
  <includeEmptyDirs default-value="false">${maven.resources.includeEmptyDirs}</includeEmptyDirs>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <overwrite default-value="false">${maven.resources.overwrite}</overwrite>
  <project default-value="${project}"/>
  <resources default-value="${project.resources}"/>
  <session default-value="${session}"/>
  <supportMultiLineFiltering default-value="false">${maven.resources.supportMultiLineFiltering}</supportMultiLineFiltering>
  <useBuildFilters default-value="true"/>
  <useDefaultDelimiters default-value="true">false</useDefaultDelimiters>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <basedir default-value="${basedir}"/>
  <buildDirectory default-value="${project.build.directory}"/>
  <classpathElements default-value="${project.compileClasspathElements}"/>
  <compileSourceRoots default-value="${project.compileSourceRoots}"/>
  <compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
  <compilerReuseStrategy default-value="${reuseCreated}">${maven.compiler.compilerReuseStrategy}</compilerReuseStrategy>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <debuglevel>${maven.compiler.debuglevel}</debuglevel>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
  <forceJavacCompilerUse default-value="false">${maven.compiler.forceJavacCompilerUse}</forceJavacCompilerUse>
  <fork default-value="false">${maven.compiler.fork}</fork>
  <generatedSourcesDirectory default-value="${project.build.directory}/generated-sources/annotations"/>
  <maxmem>${maven.compiler.maxmem}</maxmem>
  <meminitial>${maven.compiler.meminitial}</meminitial>
  <mojoExecution>${mojoExecution}</mojoExecution>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <projectArtifact default-value="${project.artifact}"/>
  <showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <skipMain>${maven.main.skip}</skipMain>
  <skipMultiThreadWarning default-value="false">${maven.compiler.skipMultiThreadWarning}</skipMultiThreadWarning>
  <source default-value="1.5">${maven.compiler.source}</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target default-value="1.5">${maven.compiler.target}</target>
  <useIncrementalCompilation default-value="true">${maven.compiler.useIncrementalCompilation}</useIncrementalCompilation>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
  <mavenSession default-value="${session}"/>
  <session default-value="${session}"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          com.google.cloud.tools:jib-maven-plugin:0.9.6:build (default-cli)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <allowInsecureRegistries default-value="false">true</allowInsecureRegistries>
  <extraDirectory default-value="${project.basedir}/src/main/jib"/>
  <from>
    <image>192.168.156.116/zhaofeng/nginx:v1.10.3</image>
  </from>
  <project default-value="${project}"/>
  <session default-value="${session}"/>
  <to>
    <image>192.168.156.116/zhaofeng/demo:8</image>${image}</to>
  <useOnlyProjectCache default-value="false"/>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1, ConflictMarker.markTime=1, ConflictMarker.nodeCount=123, ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=56, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=6, ConflictResolver.conflictItemCount=105, DefaultDependencyCollector.collectTime=250, DefaultDependencyCollector.transformTime=11}
[DEBUG] com.zhaofeng:k8s-webapp-demo:jar:1.0
[DEBUG]    org.springframework.boot:spring-boot-starter-web:jar:1.5.8.RELEASE:compile
[DEBUG]       org.springframework.boot:spring-boot-starter:jar:1.5.8.RELEASE:compile
[DEBUG]          org.springframework.boot:spring-boot:jar:1.5.8.RELEASE:compile
[DEBUG]          org.springframework.boot:spring-boot-autoconfigure:jar:1.5.8.RELEASE:compile
[DEBUG]          org.springframework.boot:spring-boot-starter-logging:jar:1.5.8.RELEASE:compile
[DEBUG]             ch.qos.logback:logback-classic:jar:1.1.11:compile
[DEBUG]                ch.qos.logback:logback-core:jar:1.1.11:compile
[DEBUG]             org.slf4j:jul-to-slf4j:jar:1.7.25:compile
[DEBUG]             org.slf4j:log4j-over-slf4j:jar:1.7.25:compile
[DEBUG]          org.yaml:snakeyaml:jar:1.17:runtime
[DEBUG]       org.springframework.boot:spring-boot-starter-tomcat:jar:1.5.8.RELEASE:compile
[DEBUG]          org.apache.tomcat.embed:tomcat-embed-core:jar:8.5.23:compile
[DEBUG]             org.apache.tomcat:tomcat-annotations-api:jar:8.5.23:compile
[DEBUG]          org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.23:compile
[DEBUG]          org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.23:compile
[DEBUG]       org.hibernate:hibernate-validator:jar:5.3.5.Final:compile
[DEBUG]          javax.validation:validation-api:jar:1.1.0.Final:compile
[DEBUG]          org.jboss.logging:jboss-logging:jar:3.3.1.Final:compile (version managed from 3.3.0.Final by org.springframework.boot:spring-boot-dependencies:1.5.8.RELEASE)
[DEBUG]          com.fasterxml:classmate:jar:1.3.4:compile (version managed from 1.3.1 by org.springframework.boot:spring-boot-dependencies:1.5.8.RELEASE)
[DEBUG]       com.fasterxml.jackson.core:jackson-databind:jar:2.8.10:compile
[DEBUG]          com.fasterxml.jackson.core:jackson-annotations:jar:2.8.0:compile
[DEBUG]          com.fasterxml.jackson.core:jackson-core:jar:2.8.10:compile
[DEBUG]       org.springframework:spring-web:jar:4.3.12.RELEASE:compile
[DEBUG]          org.springframework:spring-aop:jar:4.3.12.RELEASE:compile
[DEBUG]          org.springframework:spring-beans:jar:4.3.12.RELEASE:compile
[DEBUG]          org.springframework:spring-context:jar:4.3.12.RELEASE:compile
[DEBUG]       org.springframework:spring-webmvc:jar:4.3.12.RELEASE:compile
[DEBUG]          org.springframework:spring-expression:jar:4.3.12.RELEASE:compile
[DEBUG]    org.springframework.boot:spring-boot-starter-data-redis:jar:1.5.8.RELEASE:compile
[DEBUG]       org.springframework.data:spring-data-redis:jar:1.8.8.RELEASE:compile
[DEBUG]          org.springframework.data:spring-data-keyvalue:jar:1.2.8.RELEASE:compile
[DEBUG]             org.springframework.data:spring-data-commons:jar:1.13.8.RELEASE:compile
[DEBUG]          org.springframework:spring-tx:jar:4.3.12.RELEASE:compile
[DEBUG]          org.springframework:spring-oxm:jar:4.3.12.RELEASE:compile
[DEBUG]          org.springframework:spring-context-support:jar:4.3.12.RELEASE:compile
[DEBUG]          org.slf4j:slf4j-api:jar:1.7.25:compile
[DEBUG]          org.slf4j:jcl-over-slf4j:jar:1.7.25:compile
[DEBUG]       redis.clients:jedis:jar:2.9.0:compile
[DEBUG]          org.apache.commons:commons-pool2:jar:2.4.2:compile
[DEBUG]    org.springframework.boot:spring-boot-starter-test:jar:1.5.8.RELEASE:test
[DEBUG]       org.springframework.boot:spring-boot-test:jar:1.5.8.RELEASE:test
[DEBUG]       org.springframework.boot:spring-boot-test-autoconfigure:jar:1.5.8.RELEASE:test
[DEBUG]       com.jayway.jsonpath:json-path:jar:2.2.0:test
[DEBUG]          net.minidev:json-smart:jar:2.2.1:test
[DEBUG]             net.minidev:accessors-smart:jar:1.1:test
[DEBUG]                org.ow2.asm:asm:jar:5.0.3:test
[DEBUG]       junit:junit:jar:4.12:test
[DEBUG]       org.assertj:assertj-core:jar:2.6.0:test
[DEBUG]       org.mockito:mockito-core:jar:1.10.19:test
[DEBUG]          org.objenesis:objenesis:jar:2.1:test
[DEBUG]       org.hamcrest:hamcrest-core:jar:1.3:test
[DEBUG]       org.hamcrest:hamcrest-library:jar:1.3:test
[DEBUG]       org.skyscreamer:jsonassert:jar:1.4.0:test
[DEBUG]          com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
[DEBUG]       org.springframework:spring-core:jar:4.3.12.RELEASE:compile
[DEBUG]       org.springframework:spring-test:jar:4.3.12.RELEASE:test
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ k8s-webapp-demo ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=77, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=26, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1, ConflictResolver.conflictItemCount=74, DefaultDependencyCollector.collectTime=80, DefaultDependencyCollector.transformTime=1}
[DEBUG] org.apache.maven.plugins:maven-resources-plugin:jar:2.6:
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.6:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.6:compile
[DEBUG]    org.apache.maven:maven-core:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6:compile
[DEBUG]       org.apache.maven.reporting:maven-reporting-api:jar:2.0.6:compile
[DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.0.6:compile
[DEBUG]       commons-cli:commons-cli:jar:1.0:compile
[DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.0.6:compile
[DEBUG]       org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG]       classworlds:classworlds:jar:1.1:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:2.0.6:compile
[DEBUG]    org.apache.maven:maven-settings:jar:2.0.6:compile
[DEBUG]    org.apache.maven:maven-model:jar:2.0.6:compile
[DEBUG]    org.apache.maven:maven-monitor:jar:2.0.6: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.codehaus.plexus:plexus-utils:jar:2.0.5:compile
[DEBUG]    org.apache.maven.shared:maven-filtering:jar:1.1:compile
[DEBUG]       org.sonatype.plexus:plexus-build-api:jar:0.0.4:compile
[DEBUG]    org.codehaus.plexus:plexus-interpolation:jar:1.13:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-resources-plugin:2.6
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-resources-plugin:2.6
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-resources-plugin:2.6
[DEBUG]   Included: org.apache.maven.plugins:maven-resources-plugin:jar:2.6
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7
[DEBUG]   Included: commons-cli:commons-cli:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:2.0.5
[DEBUG]   Included: org.apache.maven.shared:maven-filtering:jar:1.1
[DEBUG]   Included: org.sonatype.plexus:plexus-build-api:jar:0.0.4
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.13
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-resources-plugin:2.6:resources from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-resources-plugin:2.6, parent: sun.misc.Launcher$AppClassLoader@5c647e05]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:2.6:resources' with basic configurator -->
[DEBUG]   (f) buildFilters = []
[DEBUG]   (s) delimiters = [@]
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) escapeWindowsPaths = true
[DEBUG]   (s) includeEmptyDirs = false
[DEBUG]   (s) outputDirectory = E:\test\k8s-demo\target\classes
[DEBUG]   (s) overwrite = false
[DEBUG]   (f) project = MavenProject: com.zhaofeng:k8s-webapp-demo:1.0 @ E:\test\k8s-demo\pom.xml
[DEBUG]   (s) resources = [Resource {targetPath: null, filtering: true, FileSet {directory: E:\test\k8s-demo\src\main\resources, PatternSet [includes: {**/application*.yml, **/application*.yaml, **/application*.properties}, excludes: {}]}}, Resource {targetPath: null, filtering: false, FileSet {directory: E:\test\k8s-demo\src\main\resources, PatternSet [includes: {}, excludes: {**/application*.yml, **/application*.yaml, **/application*.properties}]}}]
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@5ebd56e9
[DEBUG]   (f) supportMultiLineFiltering = false
[DEBUG]   (f) useBuildFilters = true
[DEBUG]   (s) useDefaultDelimiters = false
[DEBUG] -- end configuration --
[DEBUG] properties used {statsd-client.version=3.1.0, env.PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel, jaxen.version=1.1.6, xml-apis.version=1.4.01, spring.version=4.3.12.RELEASE, env.COMMONPROGRAMFILES=C:\Program Files\Common Files, janino.version=2.7.8, htmlunit.version=2.21, maven-source-plugin.version=2.4, user.dir=E:\test\k8s-demo, java.vm.version=25.131-b11, env.DOCKER_CERT_PATH=C:\Users\zhaofeng\.docker\machine\machines\default, env.USERPROFILE=C:\Users\zhaofeng, env.NO_PROXY=192.168.99.100, selenium.version=2.53.1, versions-maven-plugin.version=2.2, jackson.version=2.8.10, thymeleaf-extras-java8time.version=2.1.0.RELEASE, sun.os.patch.level=Service Pack 1, snakeyaml.version=1.17, spring-mobile.version=1.1.5.RELEASE, javax-validation.version=1.1.0.Final, jetty.version=9.4.7.v20170914, java.vm.specification.name=Java Virtual Machine Specification, httpclient.version=4.5.3, solr.version=5.5.4, tomcat.version=8.5.23, spring-kafka.version=1.1.7.RELEASE, jboss-transaction-spi.version=7.6.0.Final, jdom2.version=2.0.6, os.name=Windows 7, spring-security-oauth.version=2.0.14.RELEASE, env.LOCALAPPDATA=C:\Users\zhaofeng\AppData\Local, env.TMP=C:\Users\zhaofeng\AppData\Local\Temp, maven.version=3.3.9, maven-install-plugin.version=2.5.2, env.FPPUILANG=en-US, log4j2.version=2.7, java.vendor.url.bug=http://bugreport.sun.com/bugreport/, os.arch=amd64, user.name=zhaofeng, servlet-api.version=3.1.0, activemq.version=5.14.5, aspectj.version=1.8.11, sun.java.command=com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher -Didea.version=2016.2.2 -s E:\software\develop\Maven\conf\settings.xml -Dmaven.repo.local=E:\software\develop\Maven\repository -DskipTests=true compile jib:build -X, env.FP_NO_HOST_CHECK=NO, ehcache.version=2.10.4, project.reporting.outputEncoding=UTF-8, undertow.version=1.4.20.Final, querydsl.version=4.1.4, mssql-jdbc.version=6.1.0.jre7, env.REGIONCODE=APJ, env.OS=Windows_NT, user.country=CN, env.PROCESSOR_ARCHITECTURE=AMD64, slf4j.version=1.7.25, spring-integration-java-dsl.version=1.2.3.RELEASE, reactor.version=2.0.8.RELEASE, spring-loaded.version=1.2.8.RELEASE, java.endorsed.dirs=E:\software\develop\Java\jdk\jre\lib\endorsed, env.TEMP=C:\Users\zhaofeng\AppData\Local\Temp, maven-dependency-plugin.version=2.10, ehcache3.version=3.2.3, junit.version=4.12, java.vm.specification.version=1.8, spring-data-releasetrain.version=Ingalls-SR8, java.vendor=Oracle Corporation, javassist.version=3.21.0-GA, idea.version=2016.2.2, hamcrest.version=1.3, spring-restdocs.version=1.1.3.RELEASE, file.separator=\, flyway.version=3.2.1, antlr2.version=2.7.7, commons-collections.version=3.2.2, user.variant=, unboundid-ldapsdk.version=3.2.1, exec-maven-plugin.version=1.5.0, atomikos.version=3.9.3, jolokia.version=1.3.7, env.WINDIR=C:\windows, env.VBOX_MSI_INSTALL_PATH=E:\software\common\VirtualBox\, sun.java.launcher=SUN_STANDARD, mockito.version=1.10.19, spring-ldap.version=2.3.2.RELEASE, maven-antrun-plugin.version=1.8, hazelcast-hibernate4.version=3.7.1, hikaricp-java7.version=2.4.13, commons-pool2.version=2.4.2, java.library.path=E:\software\develop\Java\jdk\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;c:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;E:\software\develop\Java\jdk\bin;E:\software\develop\TortoiseSVN\bin;E:\software\develop\svn Server\bin;E:\software\develop\Git\cmd;E:\software\develop\TortoiseGit\bin;E:\software\develop\Maven\bin;E:\software\develop\Go\bin;C:\Users\zhaofeng\AppData\Local\Programs\Python\Python36\Scripts\;C:\Users\zhaofeng\AppData\Local\Programs\Python\Python36\;E:\software\develop\ssh;C:\Users\zhaofeng\AppData\Local\atom\bin;E:\software\develop\Docker Toolbox;E:\software\develop\Docker Toolbox;., glassfish-el.version=3.0.0, classworlds.conf=E:\software\develop\Maven\bin\m2.conf, jmustache.version=1.13, project.build.sourceEncoding=UTF-8, sun.arch.data.model=64, env.TNS_ADMIN=C:\Program Files\instantclient_11_2\admin, env.JAVA_8_HOME=E:\software\develop\Java\jdk, env.PATH=C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;c:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;E:\software\develop\Java\jdk\bin;E:\software\develop\TortoiseSVN\bin;E:\software\develop\svn Server\bin;E:\software\develop\Git\cmd;E:\software\develop\TortoiseGit\bin;E:\software\develop\Maven\bin;E:\software\develop\Go\bin;C:\Users\zhaofeng\AppData\Local\Programs\Python\Python36\Scripts\;C:\Users\zhaofeng\AppData\Local\Programs\Python\Python36\;E:\software\develop\ssh;C:\Users\zhaofeng\AppData\Local\atom\bin;E:\software\develop\Docker Toolbox;E:\software\develop\Docker Toolbox, path.separator=;, git-commit-id-plugin.version=2.2.3, env.USERDOMAIN=zhaofeng-HP, webjars-locator.version=0.32-1, sun.io.unicode.encoding=UnicodeLittle, maven-invoker-plugin.version=1.10, httpcore.version=4.4.8, env.PROGRAMW6432=C:\Program Files, commons-digester.version=2.1, user.language=zh, jaybird.version=2.2.13, reactor-spring.version=2.0.7.RELEASE, joda-time.version=2.9.9, maven.repo.local=E:\software\develop\Maven\repository, appengine-sdk.version=1.9.58, spock.version=1.0-groovy-2.4, maven.compiler.source=1.8, java.class.version=52.0, couchbase-client.version=2.3.7, jboss-logging.version=3.3.1.Final, env.VISUALSVN_SERVER=E:\software\develop\svn Server\, crashub.version=1.3.2, maven-javadoc-plugin.version=2.10.4, mariadb.version=1.5.9, commons-dbcp.version=1.4, jooq.version=3.9.6, file.encoding.pkg=sun.io, sun.cpu.endian=little, env.COMPUTERNAME=ZHAOFENG-HP, maven.compiler.target=1.8, cassandra-driver.version=3.1.4, env.LOGONSERVER=\\ZHAOFENG-HP, maven-site-plugin.version=3.5.1, groovy.version=2.4.12, java.home=E:\software\develop\Java\jdk\jre, jetty-el.version=8.0.33, idea.launcher.bin.path=E:\software\develop\Idea\bin, env.GOROOT=E:\software\develop\Go, maven-eclipse-plugin.version=2.10, spring-batch.version=3.0.8.RELEASE, env.JAVA_7_HOME=E:\software\develop\Java\jdk, maven.home=E:\software\develop\Maven, maven-shade-plugin.version=2.4.3, maven-enforcer-plugin.version=1.4, commons-pool.version=1.6, env.NUMBER_OF_PROCESSORS=8, env.GOPATH=E:\project\golang\demo, maven-war-plugin.version=2.6, spring-security-jwt.version=1.0.8.RELEASE, httpasyncclient.version=4.1.3, couchbase-cache-client.version=2.1.0, commons-dbcp2.version=2.1.1, maven-failsafe-plugin.version=2.18.1, dom4j.version=1.6.1, liquibase.version=3.5.3, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, wsdl4j.version=1.6.3, json-path.version=2.2.0, jsonassert.version=1.4.0, env.DOCKER_MACHINE_NAME=default, hazelcast.version=3.7.8, env.PUBLIC=C:\Users\Public, javax-transaction.version=1.2, h2.version=1.4.196, thymeleaf-extras-conditionalcomments.version=2.1.2.RELEASE, spring-retry.version=1.2.1.RELEASE, maven-clean-plugin.version=2.6.1, spring-plugin.version=1.2.0.RELEASE, java.vm.specification.vendor=Oracle Corporation, dropwizard-metrics.version=3.1.5, java.vm.name=Java HotSpot(TM) 64-Bit Server VM, env.DOCKER_TOOLBOX_INSTALL_PATH=E:\software\develop\Docker Toolbox, narayana.version=5.5.30.Final, java.io.tmpdir=C:\Users\zhaofeng\AppData\Local\Temp\, java.vendor.url=http://java.oracle.com/, lombok.version=1.16.18, sun.boot.library.path=E:\software\develop\Java\jdk\jre\bin, spring-social-twitter.version=1.1.2.RELEASE, derby.version=10.13.1.1, env.JAVA_6_HOME=E:\software\develop\Java\jdk, env.MAVEN_HOME=E:\software\develop\Maven, gson.version=2.8.2, env.SESSIONNAME=Console, spring-session.version=1.3.1.RELEASE, env.ONLINESERVICES=Online Services, commons-beanutils.version=1.9.3, spring-social-linkedin.version=1.0.2.RELEASE, thymeleaf-extras-springsecurity4.version=2.1.3.RELEASE, spring-security.version=4.2.3.RELEASE, java.runtime.name=Java(TM) SE Runtime Environment, maven-resources-plugin.version=2.7, assertj.version=2.6.0, sun.cpu.isalist=amd64, env.PLATFORMCODE=7F, spring-amqp.version=1.7.4.RELEASE, hibernate-validator.version=5.3.5.Final, spring-social-facebook.version=2.0.3.RELEASE, maven.multiModuleProjectDirectory=E:\test\k8s-demo, env.ALLUSERSPROFILE=C:\ProgramData, commons-codec.version=1.10, user.home=C:\Users\zhaofeng, env.NLS_LANG=AMERICAN_AMERICA.ZHS16GBK, env.JAVA_HOME=E:\software\develop\Java\jdk, mongodb.version=3.4.3, env.PROCESSOR_REVISION=5e03, java.specification.name=Java Platform API Specification, env.COMMONPROGRAMW6432=C:\Program Files\Common Files, logback.version=1.1.11, env.PROGRAMDATA=C:\ProgramData, env.CLASSPATH=.;E:\software\develop\Java\jdk\lib, java.specification.vendor=Oracle Corporation, maven-help-plugin.version=2.2, java.version=1.8.0_131, env.WINDOWS_TRACING_LOGFILE=C:\BVTBin\Tests\installpackage\csilogfile.log, thymeleaf.version=2.1.5.RELEASE, env.PROGRAMFILES=C:\Program Files, embedded-mongo.version=1.50.5, postgresql.version=9.4.1212.jre7, hsqldb.version=2.3.5, gradle.version=2.9, hazelcast-hibernate5.version=1.1.3, javax-mail.version=1.5.6, env.PROCESSOR_LEVEL=6, env.M2_HOME=E:\software\develop\Maven, webjars-hal-browser.version=9f96c74, env.COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files, env.=::=::\, jersey.version=2.25.1, jna.version=4.2.2, line.separator=
, java.specification.version=1.8, java.vm.info=mixed mode, spring-cloud-connectors.version=1.2.4.RELEASE, env.HOMEDRIVE=C:, skipTests=true, sun.boot.class.path=E:\software\develop\Java\jdk\jre\lib\resources.jar;E:\software\develop\Java\jdk\jre\lib\rt.jar;E:\software\develop\Java\jdk\jre\lib\sunrsasign.jar;E:\software\develop\Java\jdk\jre\lib\jsse.jar;E:\software\develop\Java\jdk\jre\lib\jce.jar;E:\software\develop\Java\jdk\jre\lib\charsets.jar;E:\software\develop\Java\jdk\jre\lib\jfr.jar;E:\software\develop\Java\jdk\jre\classes, spring-social.version=1.1.4.RELEASE, build-helper-maven-plugin.version=1.10, bitronix.version=2.1.4, maven-deploy-plugin.version=2.8.2, jetty-jsp.version=2.2.0.v201112011158, env.APPDATA=C:\Users\zhaofeng\AppData\Roaming, jms-api.version=1.1-rev-1, infinispan.version=8.2.8.Final, org.slf4j.simpleLogger.defaultLogLevel=debug, env.PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, nekohtml.version=1.9.22, env.COMSPEC=C:\windows\system32\cmd.exe, java.awt.printerjob=sun.awt.windows.WPrinterJob, jstl.version=1.2, sun.jnu.encoding=GBK, json.version=20140107, hibernate.version=5.0.12.Final, java.runtime.version=1.8.0_131-b11, env.COMPOSE_CONVERT_WINDOWS_PATHS=true, env.DOCKER_TLS_VERIFY=1, sendgrid.version=2.2.2, maven.build.version=Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T00:41:47+08:00), user.timezone=Asia/Shanghai, env.OOBEUILANG=zh-CN, resource.delimiter=@, mysql.version=5.1.44, env.PSMODULEPATH=C:\windows\system32\WindowsPowerShell\v1.0\Modules\;E:\software\develop\svn Server\PowerShellModules, hikaricp.version=2.5.1, spring-hateoas.version=0.23.0.RELEASE, java.ext.dirs=E:\software\develop\Java\jdk\jre\lib\ext;C:\windows\Sun\Java\lib\ext, caffeine.version=2.3.5, hikaricp-java6.version=2.3.13, env.PTSMINSTALLPATH_X86=c:\Program Files (x86)\Hewlett-Packard\HP ProtectTools Security Manager\, env.WINDOWS_TRACING_FLAGS=3, spring-integration.version=4.3.12.RELEASE, jest.version=2.0.4, java.class.path=E:\software\develop\Maven\boot\plexus-classworlds-2.5.2.jar;E:\software\develop\Idea\lib\idea_rt.jar, maven-jar-plugin.version=2.6, env.USERNAME=zhaofeng, os.version=6.1, neo4j-ogm.version=2.1.5, env.HOMEPATH=\Users\zhaofeng, thymeleaf-layout-dialect.version=1.4.0, sqlite-jdbc.version=3.15.1, sun.desktop=windows, classmate.version=1.3.4, javax-cache.version=1.0.0, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, jedis.version=2.9.0, maven-compiler-plugin.version=3.1, java.vm.vendor=Oracle Corporation, maven-assembly-plugin.version=2.6, gemfire.version=8.2.7, freemarker.version=2.3.26-incubating, elasticsearch.version=2.4.6, thymeleaf-extras-data-attribute.version=1.3, env.SYSTEMDRIVE=C:, user.script=, selenium-htmlunit.version=2.21, sun-mail.version=1.5.6, artemis.version=1.5.5, maven-surefire-plugin.version=2.18.1, idea.launcher.port=7539, jtds.version=1.3.1, env.DOCKER_HOST=tcp://192.168.99.100:2376, env.PROGRAMFILES(X86)=C:\Program Files (x86), simple-json.version=1.1.1, env.SYSTEMROOT=C:\windows, spring-ws.version=2.4.0.RELEASE, file.encoding=UTF-8, awt.toolkit=sun.awt.windows.WToolkit}
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[DEBUG] resource with targetPath null
directory E:\test\k8s-demo\src\main\resources
excludes []
includes [**/application*.yml, **/application*.yaml, **/application*.properties]
[DEBUG] ignoreDelta true
[INFO] Copying 1 resource
[DEBUG] file application.yml has a filtered file extension
[DEBUG] filtering E:\test\k8s-demo\src\main\resources\application.yml to E:\test\k8s-demo\target\classes\application.yml
[DEBUG] resource with targetPath null
directory E:\test\k8s-demo\src\main\resources
excludes [**/application*.yml, **/application*.yaml, **/application*.properties]
includes []
[DEBUG] ignoreDelta true
[INFO] Copying 0 resource
[DEBUG] no use filter components
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ k8s-webapp-demo ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=160, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=43, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1, ConflictResolver.conflictItemCount=63, DefaultDependencyCollector.collectTime=165, DefaultDependencyCollector.transformTime=1}
[DEBUG] org.apache.maven.plugins:maven-compiler-plugin:jar:3.1:
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.9:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:2.0.9:compile
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.5.1:compile
[DEBUG]    org.apache.maven:maven-core:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-settings:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-model:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-project:jar:2.0.9:compile
[DEBUG]          org.apache.maven:maven-plugin-registry:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-monitor:jar:2.0.9:compile
[DEBUG]    org.apache.maven:maven-toolchain:jar:1.0:compile
[DEBUG]    org.apache.maven.shared:maven-shared-utils:jar:0.1:compile
[DEBUG]       com.google.code.findbugs:jsr305:jar:2.0.1:compile
[DEBUG]    org.apache.maven.shared:maven-shared-incremental:jar:1.1:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[DEBUG]    org.codehaus.plexus:plexus-compiler-api:jar:2.2:compile
[DEBUG]    org.codehaus.plexus:plexus-compiler-manager:jar:2.2:compile
[DEBUG]    org.codehaus.plexus:plexus-compiler-javac:jar:2.2:runtime
[DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.5.5:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.2.2:compile
[DEBUG]       org.apache.xbean:xbean-reflect:jar:3.4:compile
[DEBUG]          log4j:log4j:jar:1.2.12:compile
[DEBUG]          commons-logging:commons-logging-api:jar:1.1:compile
[DEBUG]       com.google.collections:google-collections:jar:1.0:compile
[DEBUG]       junit:junit:jar:3.8.2:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.1
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.1
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.1
[DEBUG]   Included: org.apache.maven.plugins:maven-compiler-plugin:jar:3.1
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.1
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:0.1
[DEBUG]   Included: com.google.code.findbugs:jsr305:jar:2.0.1
[DEBUG]   Included: org.apache.maven.shared:maven-shared-incremental:jar:1.1
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-api:jar:2.2
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-manager:jar:2.2
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-javac:jar:2.2
[DEBUG]   Included: org.apache.xbean:xbean-reflect:jar:3.4
[DEBUG]   Included: log4j:log4j:jar:1.2.12
[DEBUG]   Included: commons-logging:commons-logging-api:jar:1.1
[DEBUG]   Included: com.google.collections:google-collections:jar:1.0
[DEBUG]   Included: junit:junit:jar:3.8.2
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-compiler-plugin:3.1:compile from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-compiler-plugin:3.1, parent: sun.misc.Launcher$AppClassLoader@5c647e05]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:3.1:compile' with basic configurator -->
[DEBUG]   (f) basedir = E:\test\k8s-demo
[DEBUG]   (f) buildDirectory = E:\test\k8s-demo\target
[DEBUG]   (f) classpathElements = [E:\test\k8s-demo\target\classes, E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-starter-web\1.5.8.RELEASE\spring-boot-starter-web-1.5.8.RELEASE.jar, E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-starter\1.5.8.RELEASE\spring-boot-starter-1.5.8.RELEASE.jar, E:\software\develop\Maven\repository\org\springframework\boot\spring-boot\1.5.8.RELEASE\spring-boot-1.5.8.RELEASE.jar, E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-autoconfigure\1.5.8.RELEASE\spring-boot-autoconfigure-1.5.8.RELEASE.jar, E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-starter-logging\1.5.8.RELEASE\spring-boot-starter-logging-1.5.8.RELEASE.jar, E:\software\develop\Maven\repository\ch\qos\logback\logback-classic\1.1.11\logback-classic-1.1.11.jar, E:\software\develop\Maven\repository\ch\qos\logback\logback-core\1.1.11\logback-core-1.1.11.jar, E:\software\develop\Maven\repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar, E:\software\develop\Maven\repository\org\slf4j\log4j-over-slf4j\1.7.25\log4j-over-slf4j-1.7.25.jar, E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-starter-tomcat\1.5.8.RELEASE\spring-boot-starter-tomcat-1.5.8.RELEASE.jar, E:\software\develop\Maven\repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.23\tomcat-embed-core-8.5.23.jar, E:\software\develop\Maven\repository\org\apache\tomcat\tomcat-annotations-api\8.5.23\tomcat-annotations-api-8.5.23.jar, E:\software\develop\Maven\repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.23\tomcat-embed-el-8.5.23.jar, E:\software\develop\Maven\repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.23\tomcat-embed-websocket-8.5.23.jar, E:\software\develop\Maven\repository\org\hibernate\hibernate-validator\5.3.5.Final\hibernate-validator-5.3.5.Final.jar, E:\software\develop\Maven\repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar, E:\software\develop\Maven\repository\org\jboss\logging\jboss-logging\3.3.1.Final\jboss-logging-3.3.1.Final.jar, E:\software\develop\Maven\repository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar, E:\software\develop\Maven\repository\com\fasterxml\jackson\core\jackson-databind\2.8.10\jackson-databind-2.8.10.jar, E:\software\develop\Maven\repository\com\fasterxml\jackson\core\jackson-annotations\2.8.0\jackson-annotations-2.8.0.jar, E:\software\develop\Maven\repository\com\fasterxml\jackson\core\jackson-core\2.8.10\jackson-core-2.8.10.jar, E:\software\develop\Maven\repository\org\springframework\spring-web\4.3.12.RELEASE\spring-web-4.3.12.RELEASE.jar, E:\software\develop\Maven\repository\org\springframework\spring-aop\4.3.12.RELEASE\spring-aop-4.3.12.RELEASE.jar, E:\software\develop\Maven\repository\org\springframework\spring-beans\4.3.12.RELEASE\spring-beans-4.3.12.RELEASE.jar, E:\software\develop\Maven\repository\org\springframework\spring-context\4.3.12.RELEASE\spring-context-4.3.12.RELEASE.jar, E:\software\develop\Maven\repository\org\springframework\spring-webmvc\4.3.12.RELEASE\spring-webmvc-4.3.12.RELEASE.jar, E:\software\develop\Maven\repository\org\springframework\spring-expression\4.3.12.RELEASE\spring-expression-4.3.12.RELEASE.jar, E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-starter-data-redis\1.5.8.RELEASE\spring-boot-starter-data-redis-1.5.8.RELEASE.jar, E:\software\develop\Maven\repository\org\springframework\data\spring-data-redis\1.8.8.RELEASE\spring-data-redis-1.8.8.RELEASE.jar, E:\software\develop\Maven\repository\org\springframework\data\spring-data-keyvalue\1.2.8.RELEASE\spring-data-keyvalue-1.2.8.RELEASE.jar, E:\software\develop\Maven\repository\org\springframework\data\spring-data-commons\1.13.8.RELEASE\spring-data-commons-1.13.8.RELEASE.jar, E:\software\develop\Maven\repository\org\springframework\spring-tx\4.3.12.RELEASE\spring-tx-4.3.12.RELEASE.jar, E:\software\develop\Maven\repository\org\springframework\spring-oxm\4.3.12.RELEASE\spring-oxm-4.3.12.RELEASE.jar, E:\software\develop\Maven\repository\org\springframework\spring-context-support\4.3.12.RELEASE\spring-context-support-4.3.12.RELEASE.jar, E:\software\develop\Maven\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar, E:\software\develop\Maven\repository\org\slf4j\jcl-over-slf4j\1.7.25\jcl-over-slf4j-1.7.25.jar, E:\software\develop\Maven\repository\redis\clients\jedis\2.9.0\jedis-2.9.0.jar, E:\software\develop\Maven\repository\org\apache\commons\commons-pool2\2.4.2\commons-pool2-2.4.2.jar, E:\software\develop\Maven\repository\org\springframework\spring-core\4.3.12.RELEASE\spring-core-4.3.12.RELEASE.jar]
[DEBUG]   (f) compileSourceRoots = [E:\test\k8s-demo\src\main\java]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) forceJavacCompilerUse = false
[DEBUG]   (f) fork = false
[DEBUG]   (f) generatedSourcesDirectory = E:\test\k8s-demo\target\generated-sources\annotations
[DEBUG]   (f) mojoExecution = org.apache.maven.plugins:maven-compiler-plugin:3.1:compile {execution: default-compile}
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory = E:\test\k8s-demo\target\classes
[DEBUG]   (f) projectArtifact = com.zhaofeng:k8s-webapp-demo:jar:1.0
[DEBUG]   (f) showDeprecation = false
[DEBUG]   (f) showWarnings = false
[DEBUG]   (f) skipMultiThreadWarning = false
[DEBUG]   (f) source = 1.8
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (f) target = 1.8
[DEBUG]   (f) useIncrementalCompilation = true
[DEBUG]   (f) verbose = false
[DEBUG]   (f) mavenSession = org.apache.maven.execution.MavenSession@5ebd56e9
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@5ebd56e9
[DEBUG] -- end configuration --
[DEBUG] Using compiler 'javac'.
[DEBUG] Source directories: [E:\test\k8s-demo\src\main\java]
[DEBUG] Classpath: [E:\test\k8s-demo\target\classes
 E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-starter-web\1.5.8.RELEASE\spring-boot-starter-web-1.5.8.RELEASE.jar
 E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-starter\1.5.8.RELEASE\spring-boot-starter-1.5.8.RELEASE.jar
 E:\software\develop\Maven\repository\org\springframework\boot\spring-boot\1.5.8.RELEASE\spring-boot-1.5.8.RELEASE.jar
 E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-autoconfigure\1.5.8.RELEASE\spring-boot-autoconfigure-1.5.8.RELEASE.jar
 E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-starter-logging\1.5.8.RELEASE\spring-boot-starter-logging-1.5.8.RELEASE.jar
 E:\software\develop\Maven\repository\ch\qos\logback\logback-classic\1.1.11\logback-classic-1.1.11.jar
 E:\software\develop\Maven\repository\ch\qos\logback\logback-core\1.1.11\logback-core-1.1.11.jar
 E:\software\develop\Maven\repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar
 E:\software\develop\Maven\repository\org\slf4j\log4j-over-slf4j\1.7.25\log4j-over-slf4j-1.7.25.jar
 E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-starter-tomcat\1.5.8.RELEASE\spring-boot-starter-tomcat-1.5.8.RELEASE.jar
 E:\software\develop\Maven\repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.23\tomcat-embed-core-8.5.23.jar
 E:\software\develop\Maven\repository\org\apache\tomcat\tomcat-annotations-api\8.5.23\tomcat-annotations-api-8.5.23.jar
 E:\software\develop\Maven\repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.23\tomcat-embed-el-8.5.23.jar
 E:\software\develop\Maven\repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.23\tomcat-embed-websocket-8.5.23.jar
 E:\software\develop\Maven\repository\org\hibernate\hibernate-validator\5.3.5.Final\hibernate-validator-5.3.5.Final.jar
 E:\software\develop\Maven\repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar
 E:\software\develop\Maven\repository\org\jboss\logging\jboss-logging\3.3.1.Final\jboss-logging-3.3.1.Final.jar
 E:\software\develop\Maven\repository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar
 E:\software\develop\Maven\repository\com\fasterxml\jackson\core\jackson-databind\2.8.10\jackson-databind-2.8.10.jar
 E:\software\develop\Maven\repository\com\fasterxml\jackson\core\jackson-annotations\2.8.0\jackson-annotations-2.8.0.jar
 E:\software\develop\Maven\repository\com\fasterxml\jackson\core\jackson-core\2.8.10\jackson-core-2.8.10.jar
 E:\software\develop\Maven\repository\org\springframework\spring-web\4.3.12.RELEASE\spring-web-4.3.12.RELEASE.jar
 E:\software\develop\Maven\repository\org\springframework\spring-aop\4.3.12.RELEASE\spring-aop-4.3.12.RELEASE.jar
 E:\software\develop\Maven\repository\org\springframework\spring-beans\4.3.12.RELEASE\spring-beans-4.3.12.RELEASE.jar
 E:\software\develop\Maven\repository\org\springframework\spring-context\4.3.12.RELEASE\spring-context-4.3.12.RELEASE.jar
 E:\software\develop\Maven\repository\org\springframework\spring-webmvc\4.3.12.RELEASE\spring-webmvc-4.3.12.RELEASE.jar
 E:\software\develop\Maven\repository\org\springframework\spring-expression\4.3.12.RELEASE\spring-expression-4.3.12.RELEASE.jar
 E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-starter-data-redis\1.5.8.RELEASE\spring-boot-starter-data-redis-1.5.8.RELEASE.jar
 E:\software\develop\Maven\repository\org\springframework\data\spring-data-redis\1.8.8.RELEASE\spring-data-redis-1.8.8.RELEASE.jar
 E:\software\develop\Maven\repository\org\springframework\data\spring-data-keyvalue\1.2.8.RELEASE\spring-data-keyvalue-1.2.8.RELEASE.jar
 E:\software\develop\Maven\repository\org\springframework\data\spring-data-commons\1.13.8.RELEASE\spring-data-commons-1.13.8.RELEASE.jar
 E:\software\develop\Maven\repository\org\springframework\spring-tx\4.3.12.RELEASE\spring-tx-4.3.12.RELEASE.jar
 E:\software\develop\Maven\repository\org\springframework\spring-oxm\4.3.12.RELEASE\spring-oxm-4.3.12.RELEASE.jar
 E:\software\develop\Maven\repository\org\springframework\spring-context-support\4.3.12.RELEASE\spring-context-support-4.3.12.RELEASE.jar
 E:\software\develop\Maven\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar
 E:\software\develop\Maven\repository\org\slf4j\jcl-over-slf4j\1.7.25\jcl-over-slf4j-1.7.25.jar
 E:\software\develop\Maven\repository\redis\clients\jedis\2.9.0\jedis-2.9.0.jar
 E:\software\develop\Maven\repository\org\apache\commons\commons-pool2\2.4.2\commons-pool2-2.4.2.jar
 E:\software\develop\Maven\repository\org\springframework\spring-core\4.3.12.RELEASE\spring-core-4.3.12.RELEASE.jar]
[DEBUG] Output directory: E:\test\k8s-demo\target\classes
[DEBUG] CompilerReuseStrategy: reuseCreated
[DEBUG] useIncrementalCompilation enabled
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- jib-maven-plugin:0.9.6:build (default-cli) @ k8s-webapp-demo ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=106, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=50, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=2, ConflictResolver.conflictItemCount=103, DefaultDependencyCollector.collectTime=192, DefaultDependencyCollector.transformTime=2}
[DEBUG] com.google.cloud.tools:jib-maven-plugin:jar:0.9.6:
[DEBUG]    com.google.http-client:google-http-client:jar:1.23.0:compile
[DEBUG]       com.google.code.findbugs:jsr305:jar:1.3.9:compile
[DEBUG]       org.apache.httpcomponents:httpclient:jar:4.0.1:compile
[DEBUG]          org.apache.httpcomponents:httpcore:jar:4.0.1:compile
[DEBUG]          commons-logging:commons-logging:jar:1.1.1:compile
[DEBUG]          commons-codec:commons-codec:jar:1.3:compile
[DEBUG]    org.apache.commons:commons-compress:jar:1.17:compile
[DEBUG]    com.google.guava:guava:jar:23.5-jre:compile
[DEBUG]       org.checkerframework:checker-qual:jar:2.0.0:compile
[DEBUG]       com.google.errorprone:error_prone_annotations:jar:2.0.18:compile
[DEBUG]       com.google.j2objc:j2objc-annotations:jar:1.1:compile
[DEBUG]       org.codehaus.mojo:animal-sniffer-annotations:jar:1.14:compile
[DEBUG]    com.fasterxml.jackson.core:jackson-databind:jar:2.9.6:compile
[DEBUG]       com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile
[DEBUG]       com.fasterxml.jackson.core:jackson-core:jar:2.9.6:compile
[DEBUG]    org.slf4j:slf4j-api:jar:1.7.25:compile
[DEBUG]    org.javassist:javassist:jar:3.22.0-GA:compile
[DEBUG]    org.apache.maven:maven-plugin-api:jar:3.5.2:compile
[DEBUG]       org.apache.maven:maven-model:jar:3.5.2:compile
[DEBUG]       org.apache.maven:maven-artifact:jar:3.5.2: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-utils:jar:3.1.0:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.5.2:compile
[DEBUG]    org.apache.maven:maven-core:jar:3.5.2:compile
[DEBUG]       org.apache.maven:maven-settings:jar:3.5.2:compile
[DEBUG]       org.apache.maven:maven-settings-builder:jar:3.5.2:compile
[DEBUG]          org.codehaus.plexus:plexus-interpolation:jar:1.24: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.5.2:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:3.5.2:compile
[DEBUG]       org.apache.maven:maven-model-builder:jar:3.5.2:compile
[DEBUG]       org.apache.maven:maven-resolver-provider:jar:3.5.2:compile
[DEBUG]       org.apache.maven.resolver:maven-resolver-impl:jar:1.1.0:compile
[DEBUG]       org.apache.maven.resolver:maven-resolver-api:jar:1.1.0:compile
[DEBUG]       org.apache.maven.resolver:maven-resolver-spi:jar:1.1.0:compile
[DEBUG]       org.apache.maven.resolver:maven-resolver-util:jar:1.1.0:compile
[DEBUG]       org.apache.maven.shared:maven-shared-utils:jar:3.1.0:compile
[DEBUG]          commons-io:commons-io:jar:2.5:compile
[DEBUG]       org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.3:compile
[DEBUG]       com.google.inject:guice:jar:no_aop:4.0:compile
[DEBUG]          aopalliance:aopalliance:jar:1.0:compile
[DEBUG]       javax.inject:javax.inject:jar:1:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.7.1:compile
[DEBUG]       org.apache.commons:commons-lang3:jar:3.5:compile
[DEBUG]    org.apache.maven.shared:maven-verifier:jar:1.6:compile
[DEBUG]       junit:junit:jar:3.8.2:compile
[DEBUG] Created new class realm plugin>com.google.cloud.tools:jib-maven-plugin:0.9.6
[DEBUG] Importing foreign packages into class realm plugin>com.google.cloud.tools:jib-maven-plugin:0.9.6
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>com.google.cloud.tools:jib-maven-plugin:0.9.6
[DEBUG]   Included: com.google.cloud.tools:jib-maven-plugin:jar:0.9.6
[DEBUG]   Included: com.google.http-client:google-http-client:jar:1.23.0
[DEBUG]   Included: com.google.code.findbugs:jsr305:jar:1.3.9
[DEBUG]   Included: org.apache.httpcomponents:httpclient:jar:4.0.1
[DEBUG]   Included: org.apache.httpcomponents:httpcore:jar:4.0.1
[DEBUG]   Included: commons-logging:commons-logging:jar:1.1.1
[DEBUG]   Included: commons-codec:commons-codec:jar:1.3
[DEBUG]   Included: org.apache.commons:commons-compress:jar:1.17
[DEBUG]   Included: com.google.guava:guava:jar:23.5-jre
[DEBUG]   Included: org.checkerframework:checker-qual:jar:2.0.0
[DEBUG]   Included: com.google.errorprone:error_prone_annotations:jar:2.0.18
[DEBUG]   Included: com.google.j2objc:j2objc-annotations:jar:1.1
[DEBUG]   Included: org.codehaus.mojo:animal-sniffer-annotations:jar:1.14
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-databind:jar:2.9.6
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-core:jar:2.9.6
[DEBUG]   Included: org.javassist:javassist:jar:3.22.0-GA
[DEBUG]   Included: javax.enterprise:cdi-api:jar:1.0
[DEBUG]   Included: javax.annotation:jsr250-api:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.24
[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.5.2
[DEBUG]   Included: org.apache.maven:maven-resolver-provider:jar:3.5.2
[DEBUG]   Included: org.apache.maven.resolver:maven-resolver-impl:jar:1.1.0
[DEBUG]   Included: org.apache.maven.resolver:maven-resolver-api:jar:1.1.0
[DEBUG]   Included: org.apache.maven.resolver:maven-resolver-spi:jar:1.1.0
[DEBUG]   Included: org.apache.maven.resolver:maven-resolver-util:jar:1.1.0
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:3.1.0
[DEBUG]   Included: commons-io:commons-io:jar:2.5
[DEBUG]   Included: org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.3
[DEBUG]   Included: com.google.inject:guice:jar:no_aop:4.0
[DEBUG]   Included: aopalliance:aopalliance:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.7.1
[DEBUG]   Included: org.apache.commons:commons-lang3:jar:3.5
[DEBUG]   Included: org.apache.maven.shared:maven-verifier:jar:1.6
[DEBUG]   Included: junit:junit:jar:3.8.2
[DEBUG] Configuring mojo com.google.cloud.tools:jib-maven-plugin:0.9.6:build from plugin realm ClassRealm[plugin>com.google.cloud.tools:jib-maven-plugin:0.9.6, parent: sun.misc.Launcher$AppClassLoader@5c647e05]
[DEBUG] Configuring mojo 'com.google.cloud.tools:jib-maven-plugin:0.9.6:build' with basic configurator -->
[DEBUG]   (f) allowInsecureRegistries = true
[DEBUG]   (f) extraDirectory = E:\test\k8s-demo/src/main/jib
[DEBUG]   (f) image = 192.168.156.116/zhaofeng/nginx:v1.10.3
[DEBUG]   (f) from = com.google.cloud.tools.jib.maven.JibPluginConfiguration$FromConfiguration@59942b48
[DEBUG]   (f) project = MavenProject: com.zhaofeng:k8s-webapp-demo:1.0 @ E:\test\k8s-demo\pom.xml
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@5ebd56e9
[DEBUG]   (f) image = 192.168.156.116/zhaofeng/demo:8
[DEBUG]   (f) to = com.google.cloud.tools.jib.maven.JibPluginConfiguration$ToConfiguration@488b50ec
[DEBUG]   (f) useOnlyProjectCache = false
[DEBUG] -- end configuration --
[DEBUG] Searching for main class... Add a 'mainClass' configuration to 'jib-maven-plugin' to improve build speed.
[DEBUG] Could not find a valid main class specified in 'maven-jar-plugin'; attempting to infer main class.
[INFO] 
[INFO] Containerizing application to 192.168.156.116/zhaofeng/demo:8...
[DEBUG] Containerizing application with the following files:
[DEBUG] 	Classes:
[DEBUG] 		E:\test\k8s-demo\target\classes\com
[DEBUG] 	Resources:
[DEBUG] 		E:\test\k8s-demo\target\classes\application.yml
[DEBUG] 	Dependencies:
[DEBUG] 		E:\software\develop\Maven\repository\ch\qos\logback\logback-classic\1.1.11\logback-classic-1.1.11.jar
[DEBUG] 		E:\software\develop\Maven\repository\ch\qos\logback\logback-core\1.1.11\logback-core-1.1.11.jar
[DEBUG] 		E:\software\develop\Maven\repository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar
[DEBUG] 		E:\software\develop\Maven\repository\com\fasterxml\jackson\core\jackson-annotations\2.8.0\jackson-annotations-2.8.0.jar
[DEBUG] 		E:\software\develop\Maven\repository\com\fasterxml\jackson\core\jackson-core\2.8.10\jackson-core-2.8.10.jar
[DEBUG] 		E:\software\develop\Maven\repository\com\fasterxml\jackson\core\jackson-databind\2.8.10\jackson-databind-2.8.10.jar
[DEBUG] 		E:\software\develop\Maven\repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\apache\commons\commons-pool2\2.4.2\commons-pool2-2.4.2.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.23\tomcat-embed-core-8.5.23.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.23\tomcat-embed-el-8.5.23.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.23\tomcat-embed-websocket-8.5.23.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\apache\tomcat\tomcat-annotations-api\8.5.23\tomcat-annotations-api-8.5.23.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\hibernate\hibernate-validator\5.3.5.Final\hibernate-validator-5.3.5.Final.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\jboss\logging\jboss-logging\3.3.1.Final\jboss-logging-3.3.1.Final.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\slf4j\jcl-over-slf4j\1.7.25\jcl-over-slf4j-1.7.25.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\slf4j\log4j-over-slf4j\1.7.25\log4j-over-slf4j-1.7.25.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-autoconfigure\1.5.8.RELEASE\spring-boot-autoconfigure-1.5.8.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-starter-data-redis\1.5.8.RELEASE\spring-boot-starter-data-redis-1.5.8.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-starter-logging\1.5.8.RELEASE\spring-boot-starter-logging-1.5.8.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-starter-tomcat\1.5.8.RELEASE\spring-boot-starter-tomcat-1.5.8.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-starter-web\1.5.8.RELEASE\spring-boot-starter-web-1.5.8.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\boot\spring-boot-starter\1.5.8.RELEASE\spring-boot-starter-1.5.8.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\boot\spring-boot\1.5.8.RELEASE\spring-boot-1.5.8.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\data\spring-data-commons\1.13.8.RELEASE\spring-data-commons-1.13.8.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\data\spring-data-keyvalue\1.2.8.RELEASE\spring-data-keyvalue-1.2.8.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\data\spring-data-redis\1.8.8.RELEASE\spring-data-redis-1.8.8.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\spring-aop\4.3.12.RELEASE\spring-aop-4.3.12.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\spring-beans\4.3.12.RELEASE\spring-beans-4.3.12.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\spring-context-support\4.3.12.RELEASE\spring-context-support-4.3.12.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\spring-context\4.3.12.RELEASE\spring-context-4.3.12.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\spring-core\4.3.12.RELEASE\spring-core-4.3.12.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\spring-expression\4.3.12.RELEASE\spring-expression-4.3.12.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\spring-oxm\4.3.12.RELEASE\spring-oxm-4.3.12.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\spring-tx\4.3.12.RELEASE\spring-tx-4.3.12.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\spring-webmvc\4.3.12.RELEASE\spring-webmvc-4.3.12.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\springframework\spring-web\4.3.12.RELEASE\spring-web-4.3.12.RELEASE.jar
[DEBUG] 		E:\software\develop\Maven\repository\org\yaml\snakeyaml\1.17\snakeyaml-1.17.jar
[DEBUG] 		E:\software\develop\Maven\repository\redis\clients\jedis\2.9.0\jedis-2.9.0.jar
[INFO] 
[DEBUG] TIMING	Building and pushing image
[DEBUG] RUNNING	Building and pushing image
[INFO] Retrieving registry credentials for 192.168.156.116...
[DEBUG] TIMING	Retrieving registry credentials for 192.168.156.116
[DEBUG] RUNNING	Retrieving registry credentials for 192.168.156.116
[DEBUG] Using Maven settings for 192.168.156.116
[DEBUG] TIMED	Retrieving registry credentials for 192.168.156.116 : 0.031 ms
[DEBUG] Retrieving registry credentials for 192.168.156.116 : 0.031 ms
[DEBUG] TIMING	Authenticating with push to 192.168.156.116
[DEBUG] RUNNING	Authenticating with push to 192.168.156.116
[INFO] Getting base image 192.168.156.116/zhaofeng/nginx:v1.10.3...
[DEBUG] TIMING	Pulling base image manifest
[DEBUG] RUNNING	Pulling base image manifest
[DEBUG] TIMING	Building application layers
[DEBUG] RUNNING	Building application layers
[INFO] Building dependencies layer...
[DEBUG] TIMING	Building dependencies layer
[DEBUG] RUNNING	Building dependencies layer
[DEBUG] TIMED	Building application layers : 1.088 ms
[INFO] Building resources layer...
[DEBUG] Building application layers : 1.088 ms
[DEBUG] TIMING	Building resources layer
[DEBUG] RUNNING	Building resources layer
[INFO] Building classes layer...
[DEBUG] TIMING	Building classes layer
[DEBUG] RUNNING	Building classes layer
[DEBUG] TIMING	Setting up to push layers
[DEBUG] RUNNING	Setting up to push layers
[DEBUG] TIMED	Setting up to push layers : 2.882 ms
[DEBUG] Setting up to push layers : 2.882 ms
[DEBUG] Building classes layer built sha256:778a46e51c031365adf1c38d20fb523ac46cb5009c7f1cca0f2c16cc5a51d1bb
[DEBUG] Building resources layer built sha256:eae3e4a85726e39af5215f79e4e5a94d0e4259e68539b3f63f45b2a35b5f6a6f
[DEBUG] TIMED	Building classes layer : 315.48 ms
[DEBUG] TIMED	Building resources layer : 315.619 ms
[DEBUG] Building classes layer : 315.48 ms
[DEBUG] Building resources layer : 315.619 ms
[DEBUG] Building dependencies layer built sha256:f2ea309c9cef0bbf03ce9db8e087743e0c16716293953efd956fa5f508c81d93
[DEBUG] TIMED	Building dependencies layer : 1180.361 ms
[DEBUG] Building dependencies layer : 1180.361 ms
[INFO] Retrieving registry credentials for 192.168.156.116...
[DEBUG] TIMING	Retrieving registry credentials for 192.168.156.116
[DEBUG] RUNNING	Retrieving registry credentials for 192.168.156.116
[DEBUG] Using Maven settings for 192.168.156.116
[DEBUG] TIMED	Retrieving registry credentials for 192.168.156.116 : 0.067 ms
[DEBUG] Retrieving registry credentials for 192.168.156.116 : 0.067 ms
[DEBUG] TIMED	Authenticating with push to 192.168.156.116 : 4552.134 ms
[DEBUG] Authenticating with push to 192.168.156.116 : 4552.134 ms
[DEBUG] TIMING	Pushing BLOB digest: sha256:f2ea309c9cef0bbf03ce9db8e087743e0c16716293953efd956fa5f508c81d93, size: 15752317
[DEBUG] RUNNING	Pushing BLOB digest: sha256:f2ea309c9cef0bbf03ce9db8e087743e0c16716293953efd956fa5f508c81d93, size: 15752317
[DEBUG] TIMING	Pushing BLOB digest: sha256:778a46e51c031365adf1c38d20fb523ac46cb5009c7f1cca0f2c16cc5a51d1bb, size: 2678
[DEBUG] RUNNING	Pushing BLOB digest: sha256:778a46e51c031365adf1c38d20fb523ac46cb5009c7f1cca0f2c16cc5a51d1bb, size: 2678
[DEBUG] TIMING	Pushing BLOB digest: sha256:eae3e4a85726e39af5215f79e4e5a94d0e4259e68539b3f63f45b2a35b5f6a6f, size: 190
[DEBUG] RUNNING	Pushing BLOB digest: sha256:eae3e4a85726e39af5215f79e4e5a94d0e4259e68539b3f63f45b2a35b5f6a6f, size: 190
[DEBUG] TIMED	Pushing BLOB digest: sha256:eae3e4a85726e39af5215f79e4e5a94d0e4259e68539b3f63f45b2a35b5f6a6f, size: 190 : 1441.369 ms
[DEBUG] Pushing BLOB digest: sha256:eae3e4a85726e39af5215f79e4e5a94d0e4259e68539b3f63f45b2a35b5f6a6f, size: 190 : 1441.369 ms
[DEBUG] TIMED	Pushing BLOB digest: sha256:f2ea309c9cef0bbf03ce9db8e087743e0c16716293953efd956fa5f508c81d93, size: 15752317 : 1471.864 ms
[DEBUG] Pushing BLOB digest: sha256:f2ea309c9cef0bbf03ce9db8e087743e0c16716293953efd956fa5f508c81d93, size: 15752317 : 1471.864 ms
[DEBUG] TIMED	Pushing BLOB digest: sha256:778a46e51c031365adf1c38d20fb523ac46cb5009c7f1cca0f2c16cc5a51d1bb, size: 2678 : 1476.096 ms
[DEBUG] Pushing BLOB digest: sha256:778a46e51c031365adf1c38d20fb523ac46cb5009c7f1cca0f2c16cc5a51d1bb, size: 2678 : 1476.096 ms
[DEBUG] TIMED	Pulling base image manifest : 6202.54 ms
[DEBUG] Pulling base image manifest : 6202.54 ms
[DEBUG] TIMED	Building and pushing image : 6587.921 ms
[DEBUG] Building and pushing image : 6587.921 ms
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.159 s
[INFO] Finished at: 2018-07-12T12:44:16+08:00
[INFO] Final Memory: 30M/375M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.cloud.tools:jib-maven-plugin:0.9.6:build (default-cli) on project k8s-webapp-demo: Build image failed, perhaps you should make sure your credentials for '192.168.156.116' are set up correctly: Unauthorized for 192.168.156.116/zhaofeng/nginx: 401 Unauthorized
[ERROR] {"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"repository","Class":"","Name":"zhaofeng/nginx","Action":"pull"}]}]}
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.cloud.tools:jib-maven-plugin:0.9.6:build (default-cli) on project k8s-webapp-demo: Build image failed, perhaps you should make sure your credentials for '192.168.156.116' are set up correctly
	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)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
	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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Caused by: org.apache.maven.plugin.MojoExecutionException: Build image failed, perhaps you should make sure your credentials for '192.168.156.116' are set up correctly
	at com.google.cloud.tools.jib.maven.BuildImageMojo.execute(BuildImageMojo.java:150)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 26 more
Caused by: com.google.cloud.tools.jib.registry.RegistryUnauthorizedException: Unauthorized for 192.168.156.116/zhaofeng/nginx
	at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call(RegistryEndpointCaller.java:200)
	at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call(RegistryEndpointCaller.java:225)
	at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call(RegistryEndpointCaller.java:139)
	at com.google.cloud.tools.jib.registry.RegistryClient.callRegistryEndpoint(RegistryClient.java:338)
	at com.google.cloud.tools.jib.registry.RegistryClient.pullManifest(RegistryClient.java:213)
	at com.google.cloud.tools.jib.registry.RegistryClient.pullManifest(RegistryClient.java:221)
	at com.google.cloud.tools.jib.builder.steps.PullBaseImageStep.pullBaseImage(PullBaseImageStep.java:177)
	at com.google.cloud.tools.jib.builder.steps.PullBaseImageStep.call(PullBaseImageStep.java:146)
	at com.google.cloud.tools.jib.builder.steps.PullBaseImageStep.call(PullBaseImageStep.java:54)
	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:127)
	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57)
	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:80)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)
Caused by: com.google.api.client.http.HttpResponseException: 401 Unauthorized
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"repository","Class":"","Name":"zhaofeng/nginx","Action":"pull"}]}]}

	at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1070)
	at com.google.cloud.tools.jib.http.Connection.send(Connection.java:124)
	at com.google.cloud.tools.jib.registry.RegistryEndpointCaller.call(RegistryEndpointCaller.java:169)
	... 14 more
[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

@itliusir
Copy link
Author

@coollog yeah,I use the docker private registry,like harbor. Can you tell me how to configure it?

@coollog
Copy link
Contributor

coollog commented Jul 12, 2018

@itliusir @velo provided a solution here - let me know if that works!

@itliusir
Copy link
Author

@coollog I don't understand too much. I am referring to the jdk image. What should I do with the keystore?

@chanseokoh
Copy link
Member

chanseokoh commented Jul 13, 2018

<credHelper>harbor.server64.cn</credHelper>

This doesn't seem right. It means you should have a credential helper (an executable) named docker-credential-harbor.server64.cn on your $PATH that you can run, which will provide a credential for auth. Do you have the credential helper binary? I don't think so, because in your first comment, you had <credHelper>releases</credHelper>. Also, I see you put your credential in settings.xml. Try removing <credHelper>harbor.server64.cn</credHelper> and try again.

@itliusir
Copy link
Author

@chanseokoh it is still this error.

@coollog
Copy link
Contributor

coollog commented Jul 16, 2018

@itliusir @velo wrote up draft of instructions for how to use self signed certificates - https://github.com/GoogleContainerTools/jib/pull/618/files - it should help you set up self-signed certificates
Also, since you are using Harbor, the Harbor HTTPS guide may help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants