ShareText.Cn

maven-docker
  1. [DEBUG]   Included: com.fasterxml.jackson.core:jackson-annotations:jar:2.2.3
  2. [DEBUG]   Included: com.fasterxml.jackson.core:jackson-core:jar:2.2.3
  3. [DEBUG] Configuring mojo com.spotify:docker-maven-plugin:1.2.0:build from plugin realm ClassRealm[plugin>com.spotify:docker-maven-plugin:1.2.0, parent: sun.misc.Launcher$AppClassLoader@45ee12a7]
  4. [DEBUG] Configuring mojo 'com.spotify:docker-maven-plugin:1.2.0:build' with basic configurator -->
  5. [DEBUG]   (f) baseImage = 192.168.199.70:5000/jre-base:1.8
  6. [DEBUG]   (f) buildArgs = {}
  7. [DEBUG]   (f) buildDirectory = /Users/tory/Project/code-workspace/cyberrepository/repo-common/target
  8. [DEBUG]   (f) entryPoint = ["java","-Duser.timezone=GMT+08","-Djava.security.egd=file:/dev/./urandom","-Xms512M","-Xmx4G","-jar","repo-common-1.2.1.jar"]
  9. [DEBUG]   (f) env = {}
  10. [DEBUG]   (f) exposes = []
  11. [DEBUG]   (f) forceTags = false
  12. [DEBUG]   (f) healthcheck = {}
  13. [DEBUG]   (f) imageName = 192.168.199.249:5000/cyberrepository/repo-common:1.2.1
  14. [DEBUG]   (f) imageTags = []
  15. [DEBUG]   (f) labels = []
  16. [DEBUG]   (f) mavenProject = MavenProject: com.cyberinsight.repo:repo-common:1.2.1 @ /Users/tory/Project/code-workspace/cyberrepository/repo-common/pom.xml
  17. [DEBUG]   (f) noCache = false
  18. [DEBUG]   (f) pullOnBuild = false
  19. [DEBUG]   (f) pushImage = true
  20. [DEBUG]   (f) pushImageTag = false
  21. [DEBUG]   (s) targetPath = .
  22. [DEBUG]   (s) directory = /Users/tory/Project/code-workspace/cyberrepository/repo-common/target
  23. [DEBUG]   (s) include = repo-common-1.2.1.jar
  24. [DEBUG]   (f) resources = [Resource {targetPath: ., filtering: false, FileSet {directory: /Users/tory/Project/code-workspace/cyberrepository/repo-common/target, PatternSet [includes: {repo-common-1.2.1.jar}, excludes: {}]}}]
  25. [DEBUG]   (f) retryPushCount = 5
  26. [DEBUG]   (f) retryPushTimeout = 10000
  27. [DEBUG]   (f) rm = true
  28. [DEBUG]   (f) runs = []
  29. [DEBUG]   (f) skipDocker = false
  30. [DEBUG]   (f) skipDockerBuild = true
  31. [DEBUG]   (f) skipDockerPush = false
  32. [DEBUG]   (f) squashRunCommands = false
  33. [DEBUG]   (f) tagInfoFile = /Users/tory/Project/code-workspace/cyberrepository/repo-common/target/test-classes/image_info.json
  34. [DEBUG]   (f) useGitCommitId = false
  35. [DEBUG]   (f) volumes = []
  36. [DEBUG]   (f) workdir = /opt/
  37. [DEBUG]   (f) execution = com.spotify:docker-maven-plugin:1.2.0:build {execution: default-cli}
  38. [DEBUG]   (f) session = org.apache.maven.execution.MavenSession@6e1d4137
  39. [DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@29a4f594
  40. [DEBUG] -- end configuration --
  41. [DEBUG] /Users/tory/.docker/ca.pem, /Users/tory/.docker/key.pem or /Users/tory/.docker/cert.pem does not exist, not using SSL
  42. [DEBUG] Using configfile: /Users/tory/.docker/config.json
  43. [DEBUG] Failed to load Google application default credentials
  44. java.io.ioexception: The Application default Credentials are not available. They are available if running in Google Compute Engine. Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
  45.         at com.google.auth.oauth2.DefaultCredentialsProvider.getDefaultCredentials(DefaultCredentialsProvider.java:111)
  46.         at com.google.auth.oauth2.GoogleCredentials.getApplicationDefault(GoogleCredentials.java:103)
  47.         at com.google.auth.oauth2.GoogleCredentials.getApplicationDefault(GoogleCredentials.java:76)
  48.         at com.spotify.docker.AbstractDockerMojo.googleContainerRegistryAuthSupplier(AbstractDockerMojo.java:354)
  49.         at com.spotify.docker.AbstractDockerMojo.authSupplier(AbstractDockerMojo.java:287)
  50.         at com.spotify.docker.AbstractDockerMojo.buildDockerClient(AbstractDockerMojo.java:178)
  51.         at com.spotify.docker.AbstractDockerMojo.execute(AbstractDockerMojo.java:148)
  52.         at com.spotify.docker.BuildMojo.execute(BuildMojo.java:324)
  53.         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  54.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  55.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  56.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
  57.         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
  58.         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
  59.         at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
  60.         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
  61.         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
  62.         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
  63.         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
  64.         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
  65.         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
  66.         at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
  67.         at sun.reflect.NativeMethodAccessorImpl.invoke0(native method)
  68.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  69.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  70.         at java.lang.reflect.method.invoke(method.java:498)
  71.         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
  72.         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
  73.         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
  74.         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
  75. [INFO] Using authentication suppliers: [ConfigFileRegistryAuthSupplier]
  76. [INFO] Property skipDockerBuild is set
  77. [INFO] Skipping docker build
  78. [INFO]                                                                        
  79. [INFO] ------------------------------------------------------------------------
  80. [INFO] Building repo-core 1.2.1
  81. [INFO] ------------------------------------------------------------------------
  82. [DEBUG] Resolving plugin version for com.spotify:docker-maven-plugin
  83. [DEBUG] Could not find metadata com.spotify:docker-maven-plugin/maven-metadata.xml in local (/Users/tory/Documents/repo)
  84. [DEBUG] Skipped remote request for com.spotify:docker-maven-plugin/maven-metadata.xml, locally cached metadata up-to-date.
  85. [DEBUG] Resolved plugin version for com.spotify:docker-maven-plugin to 1.2.0 from repository central (https://repo.maven.apache.org/maven2, default, releases)
  86. [DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-checkstyle-plugin
  87. [DEBUG] Could not find metadata org.apache.maven.plugins:maven-checkstyle-plugin/maven-metadata.xml in local (/Users/tory/Documents/repo)
  88. [DEBUG] Skipped remote request for org.apache.maven.plugins:maven-checkstyle-plugin/maven-metadata.xml, locally cached metadata up-to-date.
  89. [DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-checkstyle-plugin to 3.0.0 from repository central (https://repo.maven.apache.org/maven2, default, releases)
  90. [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]
  91. [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
  92. [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
  93. [DEBUG] Resolving plugin prefix docker from [org.apache.maven.plugins, org.codehaus.mojo]
  94. [DEBUG] Resolved plugin prefix docker to com.spotify:docker-maven-plugin from POM com.cyberinsight.repo:repo-core:jar:1.2.1
  95. [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]
  96. [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
  97. [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
  98. [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]
  99. [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
  100. [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
  101. [DEBUG] === PROJECT BUILD PLAN ================================================
  102. [DEBUG] Project:       com.cyberinsight.repo:repo-core:1.2.1
  103. [DEBUG] Dependencies (collect): []
  104. [DEBUG] Dependencies (resolve): []
  105. [DEBUG] Repositories (dependencies): [aliyun (http://maven.aliyun.com/nexus/content/groups/public/, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)]
  106. [DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
  107. [DEBUG] -----------------------------------------------------------------------
  108. [DEBUG] Goal:          org.apache.maven.plugins:maven-clean-plugin:2.6.1:clean (default-clean)
  109. [DEBUG] style:         Regular
  110. [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
  111. <configuration>
  112.   <directory default-value="${project.build.directory}"/>
  113.   <excludeDefaultDirectories default-value="false">${clean.excludeDefaultDirectories}</excludeDefaultDirectories>
  114.   <failOnError default-value="true">${maven.clean.failOnError}</failOnError>
  115.   <followSymLinks default-value="false">${clean.followSymLinks}</followSymLinks>
  116.   <outputDirectory default-value="${project.build.outputDirectory}"/>
  117.   <reportDirectory default-value="${project.build.outputDirectory}"/>
  118.   <retryOnError default-value="true">${maven.clean.retryOnError}</retryOnError>
  119.   <skip default-value="false">${clean.skip}</skip>
  120.   <testOutputDirectory default-value="${project.build.testOutputDirectory}"/>
  121.   <verbose>${clean.verbose}</verbose>
  122. </configuration>
  123. [DEBUG] -----------------------------------------------------------------------
  124. [DEBUG] Goal:          com.spotify:docker-maven-plugin:1.2.0:build (default-cli)
  125. [DEBUG] style:         Regular
  126. [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
  127. <configuration>
  128.   <baseImage>192.168.199.70:5000/jre-base:1.8</baseImage>
  129.   <buildArgs>${dockerBuildArgs}</buildArgs>
  130.   <buildDirectory>${project.build.directory}</buildDirectory>
  131.   <cmd>${dockerCmd}</cmd>
  132.   <defaultProfile>${dockerDefaultBuildProfile}</defaultProfile>
  133.   <dockerCertPath>${dockerCertPath}</dockerCertPath>
  134.   <dockerDirectory>${dockerDirectory}</dockerDirectory>
  135.   <dockerHost>${dockerHost}</dockerHost>
  136.   <entryPoint>[&quot;java&quot;,&quot;-Duser.timezone=GMT+08&quot;,&quot;-Djava.security.egd=file:/dev/./urandom&quot;,&quot;-Xms512M&quot;,&quot;-Xmx4G&quot;,&quot;-jar&quot;,&quot;repo-core-1.2.1.jar&quot;]</entryPoint>
  137.   <env>${dockerEnv}</env>
  138.   <exposes>${dockerExposes}</exposes>
  139.   <forceTags default-value="false">${forceTags}</forceTags>
  140.   <healthcheck>${healthcheck}</healthcheck>
  141.   <imageName>192.168.199.249:5000/cyberrepository/repo-core:1.2.1</imageName>
  142.   <imageTags>${dockerImageTags}</imageTags>
  143.   <labels>${dockerLabels}</labels>
  144.   <maintainer>${dockerMaintainer}</maintainer>
  145.   <mavenProject default-value="${project}"/>
  146.   <noCache default-value="false">${noCache}</noCache>
  147.   <profile>${dockerBuildProfile}</profile>
  148.   <pullOnBuild default-value="false">${pullOnBuild}</pullOnBuild>
  149.   <pushImage default-value="false">${pushImage}</pushImage>
  150.   <pushImageTag default-value="false">${pushImageTag}</pushImageTag>
  151.   <registryUrl>${registryUrl}</registryUrl>
  152.   <resources>
  153.     <resource>
  154.       <targetPath>.</targetPath>
  155.       <directory>/Users/tory/Project/code-workspace/cyberrepository/repo-core/target</directory>
  156.       <include>repo-core-1.2.1.jar</include>
  157.     </resource>${dockerResources}</resources>
  158.   <retryPushCount default-value="5">${retryPushCount}</retryPushCount>
  159.   <retryPushTimeout default-value="10000">${retryPushTimeout}</retryPushTimeout>
  160.   <rm default-value="true">${rm}</rm>
  161.   <runs>${dockerRuns}</runs>
  162.   <saveImageToTarArchive>${saveImageToTarArchive}</saveImageToTarArchive>
  163.   <serverId>${serverId}</serverId>
  164.   <skipDocker default-value="false">${skipDocker}</skipDocker>
  165.   <skipDockerBuild default-value="false">true</skipDockerBuild>
  166.   <skipDockerPush default-value="false">${skipDockerPush}</skipDockerPush>
  167.   <squashRunCommands default-value="false">${squashRunCommands}</squashRunCommands>
  168.   <tagInfoFile default-value="${project.build.testOutputDirectory}/image_info.json">${tagInfoFile}</tagInfoFile>
  169.   <useGitCommitId default-value="false">${useGitCommitId}</useGitCommitId>
  170.   <user>${user}</user>
  171.   <volumes>${dockerVolumes}</volumes>
  172.   <workdir>/opt/</workdir>
  173.   <execution default-value="${mojoExecution}"/>
  174.   <session default-value="${session}"/>
  175.   <settings default-value="${settings}"/>
  176. </configuration>
  177. [DEBUG] =======================================================================
  178. [INFO]
  179. [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ repo-core ---
  180. [DEBUG] Configuring mojo org.apache.maven.plugins:maven-clean-plugin:2.6.1:clean from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-clean-plugin:2.6.1, parent: sun.misc.Launcher$AppClassLoader@45ee12a7]
  181. [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.6.1:clean' with basic configurator -->
  182. [DEBUG]   (f) directory = /Users/tory/Project/code-workspace/cyberrepository/repo-core/target
  183. [DEBUG]   (f) excludeDefaultDirectories = false
  184. [DEBUG]   (f) failOnError = true
  185. [DEBUG]   (f) followSymLinks = false
  186. [DEBUG]   (f) outputDirectory = /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes
  187. [DEBUG]   (f) reportDirectory = /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes
  188. [DEBUG]   (f) retryOnError = true
  189. [DEBUG]   (f) skip = false
  190. [DEBUG]   (f) testOutputDirectory = /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/test-classes
  191. [DEBUG] -- end configuration --
  192. [INFO] Deleting /Users/tory/Project/code-workspace/cyberrepository/repo-core/target
  193. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/generated-sources/annotations
  194. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/generated-sources
  195. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/service/ZipService.class
  196. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/service/XmlService.class
  197. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/service/XmlService$1.class
  198. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/service/HttpService.class
  199. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/service/FileService.class
  200. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/service/CommonService.class
  201. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/service
  202. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/interceptor/GlobalHandlerInterceptor.class
  203. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/interceptor/GlobalFeignInterceptor.class
  204. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/interceptor/ControllerInterceptor.class
  205. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/interceptor
  206. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/feign/UserClient.class
  207. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/feign/fallback/UserClientFallbackFactory.class
  208. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/feign/fallback/UserClientFallbackFactory$1.class
  209. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/feign/fallback/AdminClientFallbackFactory.class
  210. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/feign/fallback/AdminClientFallbackFactory$1.class
  211. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/feign/fallback/AbstractFallbackFactory.class
  212. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/feign/fallback
  213. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/feign/encoder/SpringMultipartEncoder.class
  214. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/feign/encoder/MultipartFileResource.class
  215. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/feign/encoder/HttpOutputMessageImpl.class
  216. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/feign/encoder
  217. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/feign/decoder/BusinessErrorDecoder.class
  218. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/feign/decoder
  219. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/feign/config/FeignMultipartSupportConfig.class
  220. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/feign/config
  221. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/feign/AdminClient.class
  222. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/feign
  223. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/exception/ServiceException.class
  224. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/exception/DaoException.class
  225. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/exception
  226. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/dao/InstallRecordDao.class
  227. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/dao/DownloadRecordDao.class
  228. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/dao/BaseDao.class
  229. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/dao/BaseDao$1.class
  230. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/dao
  231. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/configurer/HandlerInterceptorConfigurer.class
  232. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/configurer
  233. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/bean/LoginUser.class
  234. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/bean/InstallRecord.class
  235. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/bean/DownloadRecord.class
  236. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/bean
  237. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/annotation/TableName.class
  238. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/annotation/PrimaryKey.class
  239. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/annotation/IgnoreByModify.class
  240. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/annotation/FieldMapping.class
  241. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core/annotation
  242. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo/core
  243. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight/repo
  244. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com/cyberinsight
  245. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes/com
  246. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes
  247. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target
  248. [DEBUG] Skipping non-existing directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes
  249. [DEBUG] Skipping non-existing directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/test-classes
  250. [DEBUG] Skipping non-existing directory /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/classes
  251. [INFO]
  252. [INFO] --- docker-maven-plugin:1.2.0:build (default-cli) @ repo-core ---
  253. [DEBUG] Configuring mojo com.spotify:docker-maven-plugin:1.2.0:build from plugin realm ClassRealm[plugin>com.spotify:docker-maven-plugin:1.2.0, parent: sun.misc.Launcher$AppClassLoader@45ee12a7]
  254. [DEBUG] Configuring mojo 'com.spotify:docker-maven-plugin:1.2.0:build' with basic configurator -->
  255. [DEBUG]   (f) baseImage = 192.168.199.70:5000/jre-base:1.8
  256. [DEBUG]   (f) buildArgs = {}
  257. [DEBUG]   (f) buildDirectory = /Users/tory/Project/code-workspace/cyberrepository/repo-core/target
  258. [DEBUG]   (f) entryPoint = ["java","-Duser.timezone=GMT+08","-Djava.security.egd=file:/dev/./urandom","-Xms512M","-Xmx4G","-jar","repo-core-1.2.1.jar"]
  259. [DEBUG]   (f) env = {}
  260. [DEBUG]   (f) exposes = []
  261. [DEBUG]   (f) forceTags = false
  262. [DEBUG]   (f) healthcheck = {}
  263. [DEBUG]   (f) imageName = 192.168.199.249:5000/cyberrepository/repo-core:1.2.1
  264. [DEBUG]   (f) imageTags = []
  265. [DEBUG]   (f) labels = []
  266. [DEBUG]   (f) mavenProject = MavenProject: com.cyberinsight.repo:repo-core:1.2.1 @ /Users/tory/Project/code-workspace/cyberrepository/repo-core/pom.xml
  267. [DEBUG]   (f) noCache = false
  268. [DEBUG]   (f) pullOnBuild = false
  269. [DEBUG]   (f) pushImage = true
  270. [DEBUG]   (f) pushImageTag = false
  271. [DEBUG]   (s) targetPath = .
  272. [DEBUG]   (s) directory = /Users/tory/Project/code-workspace/cyberrepository/repo-core/target
  273. [DEBUG]   (s) include = repo-core-1.2.1.jar
  274. [DEBUG]   (f) resources = [Resource {targetPath: ., filtering: false, FileSet {directory: /Users/tory/Project/code-workspace/cyberrepository/repo-core/target, PatternSet [includes: {repo-core-1.2.1.jar}, excludes: {}]}}]
  275. [DEBUG]   (f) retryPushCount = 5
  276. [DEBUG]   (f) retryPushTimeout = 10000
  277. [DEBUG]   (f) rm = true
  278. [DEBUG]   (f) runs = []
  279. [DEBUG]   (f) skipDocker = false
  280. [DEBUG]   (f) skipDockerBuild = true
  281. [DEBUG]   (f) skipDockerPush = false
  282. [DEBUG]   (f) squashRunCommands = false
  283. [DEBUG]   (f) tagInfoFile = /Users/tory/Project/code-workspace/cyberrepository/repo-core/target/test-classes/image_info.json
  284. [DEBUG]   (f) useGitCommitId = false
  285. [DEBUG]   (f) volumes = []
  286. [DEBUG]   (f) workdir = /opt/
  287. [DEBUG]   (f) execution = com.spotify:docker-maven-plugin:1.2.0:build {execution: default-cli}
  288. [DEBUG]   (f) session = org.apache.maven.execution.MavenSession@6e1d4137
  289. [DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@29a4f594
  290. [DEBUG] -- end configuration --
  291. [DEBUG] /Users/tory/.docker/ca.pem, /Users/tory/.docker/key.pem or /Users/tory/.docker/cert.pem does not exist, not using SSL
  292. [DEBUG] Using configfile: /Users/tory/.docker/config.json
  293. [DEBUG] Failed to load Google application default credentials
  294. java.io.ioexception: The Application default Credentials are not available. They are available if running in Google Compute Engine. Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
  295.         at com.google.auth.oauth2.DefaultCredentialsProvider.getDefaultCredentials(DefaultCredentialsProvider.java:111)
  296.         at com.google.auth.oauth2.GoogleCredentials.getApplicationDefault(GoogleCredentials.java:103)
  297.         at com.google.auth.oauth2.GoogleCredentials.getApplicationDefault(GoogleCredentials.java:76)
  298.         at com.spotify.docker.AbstractDockerMojo.googleContainerRegistryAuthSupplier(AbstractDockerMojo.java:354)
  299.         at com.spotify.docker.AbstractDockerMojo.authSupplier(AbstractDockerMojo.java:287)
  300.         at com.spotify.docker.AbstractDockerMojo.buildDockerClient(AbstractDockerMojo.java:178)
  301.         at com.spotify.docker.AbstractDockerMojo.execute(AbstractDockerMojo.java:148)
  302.         at com.spotify.docker.BuildMojo.execute(BuildMojo.java:324)
  303.         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  304.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  305.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  306.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
  307.         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
  308.         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
  309.         at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
  310.         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
  311.         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
  312.         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
  313.         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
  314.         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
  315.         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
  316.         at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
  317.         at sun.reflect.NativeMethodAccessorImpl.invoke0(native method)
  318.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  319.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  320.         at java.lang.reflect.method.invoke(method.java:498)
  321.         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
  322.         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
  323.         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
  324.         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
  325. [INFO] Using authentication suppliers: [ConfigFileRegistryAuthSupplier]
  326. [INFO] Property skipDockerBuild is set
  327. [INFO] Skipping docker build
  328. [INFO]                                                                        
  329. [INFO] ------------------------------------------------------------------------
  330. [INFO] Building repo-eureka 1.2.1
  331. [INFO] ------------------------------------------------------------------------
  332. [DEBUG] Resolving plugin version for com.spotify:docker-maven-plugin
  333. [DEBUG] Could not find metadata com.spotify:docker-maven-plugin/maven-metadata.xml in local (/Users/tory/Documents/repo)
  334. [DEBUG] Skipped remote request for com.spotify:docker-maven-plugin/maven-metadata.xml, locally cached metadata up-to-date.
  335. [DEBUG] Resolved plugin version for com.spotify:docker-maven-plugin to 1.2.0 from repository central (https://repo.maven.apache.org/maven2, default, releases)
  336. [DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-checkstyle-plugin
  337. [DEBUG] Could not find metadata org.apache.maven.plugins:maven-checkstyle-plugin/maven-metadata.xml in local (/Users/tory/Documents/repo)
  338. [DEBUG] Skipped remote request for org.apache.maven.plugins:maven-checkstyle-plugin/maven-metadata.xml, locally cached metadata up-to-date.
  339. [DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-checkstyle-plugin to 3.0.0 from repository central (https://repo.maven.apache.org/maven2, default, releases)
  340. [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]
  341. [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
  342. [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
  343. [DEBUG] Resolving plugin prefix docker from [org.apache.maven.plugins, org.codehaus.mojo]
  344. [DEBUG] Resolved plugin prefix docker to com.spotify:docker-maven-plugin from POM com.cyberinsight.repo:repo-eureka:jar:1.2.1
  345. [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]
  346. [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
  347. [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
  348. [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]
  349. [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
  350. [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
  351. [DEBUG] === PROJECT BUILD PLAN ================================================
  352. [DEBUG] Project:       com.cyberinsight.repo:repo-eureka:1.2.1
  353. [DEBUG] Dependencies (collect): []
  354. [DEBUG] Dependencies (resolve): []
  355. [DEBUG] Repositories (dependencies): [aliyun (http://maven.aliyun.com/nexus/content/groups/public/, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)]
  356. [DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
  357. [DEBUG] -----------------------------------------------------------------------
  358. [DEBUG] Goal:          org.apache.maven.plugins:maven-clean-plugin:2.6.1:clean (default-clean)
  359. [DEBUG] style:         Regular
  360. [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
  361. <configuration>
  362.   <directory default-value="${project.build.directory}"/>
  363.   <excludeDefaultDirectories default-value="false">${clean.excludeDefaultDirectories}</excludeDefaultDirectories>
  364.   <failOnError default-value="true">${maven.clean.failOnError}</failOnError>
  365.   <followSymLinks default-value="false">${clean.followSymLinks}</followSymLinks>
  366.   <outputDirectory default-value="${project.build.outputDirectory}"/>
  367.   <reportDirectory default-value="${project.build.outputDirectory}"/>
  368.   <retryOnError default-value="true">${maven.clean.retryOnError}</retryOnError>
  369.   <skip default-value="false">${clean.skip}</skip>
  370.   <testOutputDirectory default-value="${project.build.testOutputDirectory}"/>
  371.   <verbose>${clean.verbose}</verbose>
  372. </configuration>
  373. [DEBUG] -----------------------------------------------------------------------
  374. [DEBUG] Goal:          com.spotify:docker-maven-plugin:1.2.0:build (default-cli)
  375. [DEBUG] style:         Regular
  376. [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
  377. <configuration>
  378.   <baseImage>192.168.199.70:5000/jre-base:1.8</baseImage>
  379.   <buildArgs>${dockerBuildArgs}</buildArgs>
  380.   <buildDirectory>${project.build.directory}</buildDirectory>
  381.   <cmd>${dockerCmd}</cmd>
  382.   <defaultProfile>${dockerDefaultBuildProfile}</defaultProfile>
  383.   <dockerCertPath>${dockerCertPath}</dockerCertPath>
  384.   <dockerDirectory>${dockerDirectory}</dockerDirectory>
  385.   <dockerHost>${dockerHost}</dockerHost>
  386.   <entryPoint>[&quot;java&quot;,&quot;-Duser.timezone=GMT+08&quot;,&quot;-Djava.security.egd=file:/dev/./urandom&quot;,&quot;-Xms512M&quot;,&quot;-Xmx4G&quot;,&quot;-jar&quot;,&quot;repo-eureka-1.2.1.jar&quot;]</entryPoint>
  387.   <env>${dockerEnv}</env>
  388.   <exposes>${dockerExposes}</exposes>
  389.   <forceTags default-value="false">${forceTags}</forceTags>
  390.   <healthcheck>${healthcheck}</healthcheck>
  391.   <imageName>192.168.199.249:5000/cyberrepository/repo-eureka:1.2.1</imageName>
  392.   <imageTags>${dockerImageTags}</imageTags>
  393.   <labels>${dockerLabels}</labels>
  394.   <maintainer>${dockerMaintainer}</maintainer>
  395.   <mavenProject default-value="${project}"/>
  396.   <noCache default-value="false">${noCache}</noCache>
  397.   <profile>${dockerBuildProfile}</profile>
  398.   <pullOnBuild default-value="false">${pullOnBuild}</pullOnBuild>
  399.   <pushImage default-value="false">${pushImage}</pushImage>
  400.   <pushImageTag default-value="false">${pushImageTag}</pushImageTag>
  401.   <registryUrl>${registryUrl}</registryUrl>
  402.   <resources>
  403.     <resource>
  404.       <targetPath>.</targetPath>
  405.       <directory>/Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target</directory>
  406.       <include>repo-eureka-1.2.1.jar</include>
  407.     </resource>${dockerResources}</resources>
  408.   <retryPushCount default-value="5">${retryPushCount}</retryPushCount>
  409.   <retryPushTimeout default-value="10000">${retryPushTimeout}</retryPushTimeout>
  410.   <rm default-value="true">${rm}</rm>
  411.   <runs>${dockerRuns}</runs>
  412.   <saveImageToTarArchive>${saveImageToTarArchive}</saveImageToTarArchive>
  413.   <serverId>${serverId}</serverId>
  414.   <skipDocker default-value="false">${skipDocker}</skipDocker>
  415.   <skipDockerBuild default-value="false">true</skipDockerBuild>
  416.   <skipDockerPush default-value="false">${skipDockerPush}</skipDockerPush>
  417.   <squashRunCommands default-value="false">${squashRunCommands}</squashRunCommands>
  418.   <tagInfoFile default-value="${project.build.testOutputDirectory}/image_info.json">${tagInfoFile}</tagInfoFile>
  419.   <useGitCommitId default-value="false">${useGitCommitId}</useGitCommitId>
  420.   <user>${user}</user>
  421.   <volumes>${dockerVolumes}</volumes>
  422.   <workdir>/opt/</workdir>
  423.   <execution default-value="${mojoExecution}"/>
  424.   <session default-value="${session}"/>
  425.   <settings default-value="${settings}"/>
  426. </configuration>
  427. [DEBUG] =======================================================================
  428. [INFO]
  429. [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ repo-eureka ---
  430. [DEBUG] Configuring mojo org.apache.maven.plugins:maven-clean-plugin:2.6.1:clean from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-clean-plugin:2.6.1, parent: sun.misc.Launcher$AppClassLoader@45ee12a7]
  431. [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.6.1:clean' with basic configurator -->
  432. [DEBUG]   (f) directory = /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target
  433. [DEBUG]   (f) excludeDefaultDirectories = false
  434. [DEBUG]   (f) failOnError = true
  435. [DEBUG]   (f) followSymLinks = false
  436. [DEBUG]   (f) outputDirectory = /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/classes
  437. [DEBUG]   (f) reportDirectory = /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/classes
  438. [DEBUG]   (f) retryOnError = true
  439. [DEBUG]   (f) skip = false
  440. [DEBUG]   (f) testOutputDirectory = /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/test-classes
  441. [DEBUG] -- end configuration --
  442. [INFO] Deleting /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target
  443. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/generated-sources/annotations
  444. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/generated-sources
  445. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/classes/logback-spring.xml
  446. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/classes/com/cyberinsight/repo/eureka/RepoEurekaApplication.class
  447. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/classes/com/cyberinsight/repo/eureka
  448. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/classes/com/cyberinsight/repo
  449. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/classes/com/cyberinsight
  450. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/classes/com
  451. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/classes/bootstrap.properties
  452. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/classes/application.properties
  453. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/classes/application-test.properties
  454. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/classes/application-prod.properties
  455. [INFO] Deleting file /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/classes/application-dev.properties
  456. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/classes
  457. [INFO] Deleting directory /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target
  458. [DEBUG] Skipping non-existing directory /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/classes
  459. [DEBUG] Skipping non-existing directory /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/test-classes
  460. [DEBUG] Skipping non-existing directory /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/classes
  461. [INFO]
  462. [INFO] --- docker-maven-plugin:1.2.0:build (default-cli) @ repo-eureka ---
  463. [DEBUG] Configuring mojo com.spotify:docker-maven-plugin:1.2.0:build from plugin realm ClassRealm[plugin>com.spotify:docker-maven-plugin:1.2.0, parent: sun.misc.Launcher$AppClassLoader@45ee12a7]
  464. [DEBUG] Configuring mojo 'com.spotify:docker-maven-plugin:1.2.0:build' with basic configurator -->
  465. [DEBUG]   (f) baseImage = 192.168.199.70:5000/jre-base:1.8
  466. [DEBUG]   (f) buildArgs = {}
  467. [DEBUG]   (f) buildDirectory = /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target
  468. [DEBUG]   (f) entryPoint = ["java","-Duser.timezone=GMT+08","-Djava.security.egd=file:/dev/./urandom","-Xms512M","-Xmx4G","-jar","repo-eureka-1.2.1.jar"]
  469. [DEBUG]   (f) env = {}
  470. [DEBUG]   (f) exposes = []
  471. [DEBUG]   (f) forceTags = false
  472. [DEBUG]   (f) healthcheck = {}
  473. [DEBUG]   (f) imageName = 192.168.199.249:5000/cyberrepository/repo-eureka:1.2.1
  474. [DEBUG]   (f) imageTags = []
  475. [DEBUG]   (f) labels = []
  476. [DEBUG]   (f) mavenProject = MavenProject: com.cyberinsight.repo:repo-eureka:1.2.1 @ /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/pom.xml
  477. [DEBUG]   (f) noCache = false
  478. [DEBUG]   (f) pullOnBuild = false
  479. [DEBUG]   (f) pushImage = true
  480. [DEBUG]   (f) pushImageTag = false
  481. [DEBUG]   (s) targetPath = .
  482. [DEBUG]   (s) directory = /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target
  483. [DEBUG]   (s) include = repo-eureka-1.2.1.jar
  484. [DEBUG]   (f) resources = [Resource {targetPath: ., filtering: false, FileSet {directory: /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target, PatternSet [includes: {repo-eureka-1.2.1.jar}, excludes: {}]}}]
  485. [DEBUG]   (f) retryPushCount = 5
  486. [DEBUG]   (f) retryPushTimeout = 10000
  487. [DEBUG]   (f) rm = true
  488. [DEBUG]   (f) runs = []
  489. [DEBUG]   (f) skipDocker = false
  490. [DEBUG]   (f) skipDockerBuild = true
  491. [DEBUG]   (f) skipDockerPush = false
  492. [DEBUG]   (f) squashRunCommands = false
  493. [DEBUG]   (f) tagInfoFile = /Users/tory/Project/code-workspace/cyberrepository/repo-eureka/target/test-classes/image_info.json
  494. [DEBUG]   (f) useGitCommitId = false
  495. [DEBUG]   (f) volumes = []
  496. [DEBUG]   (f) workdir = /opt/
  497. [DEBUG]   (f) execution = com.spotify:docker-maven-plugin:1.2.0:build {execution: default-cli}
  498. [DEBUG]   (f) session = org.apache.maven.execution.MavenSession@6e1d4137
  499. [DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@29a4f594
  500. [DEBUG] -- end configuration --
  501. [DEBUG] /Users/tory/.docker/ca.pem, /Users/tory/.docker/key.pem or /Users/tory/.docker/cert.pem does not exist, not using SSL
  502. [DEBUG] Using configfile: /Users/tory/.docker/config.json
  503. [DEBUG] Failed to load Google application default credentials
  504. java.io.ioexception: The Application default Credentials are not available. They are available if running in Google Compute Engine. Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
  505.         at com.google.auth.oauth2.DefaultCredentialsProvider.getDefaultCredentials(DefaultCredentialsProvider.java:111)
  506.         at com.google.auth.oauth2.GoogleCredentials.getApplicationDefault(GoogleCredentials.java:103)
  507.         at com.google.auth.oauth2.GoogleCredentials.getApplicationDefault(GoogleCredentials.java:76)
  508.         at com.spotify.docker.AbstractDockerMojo.googleContainerRegistryAuthSupplier(AbstractDockerMojo.java:354)
  509.         at com.spotify.docker.AbstractDockerMojo.authSupplier(AbstractDockerMojo.java:287)
  510.         at com.spotify.docker.AbstractDockerMojo.buildDockerClient(AbstractDockerMojo.java:178)
  511.         at com.spotify.docker.AbstractDockerMojo.execute(AbstractDockerMojo.java:148)
  512.         at com.spotify.docker.BuildMojo.execute(BuildMojo.java:324)
  513.         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  514.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  515.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  516.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
  517.         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
  518.         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
  519.         at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
  520.         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
  521.         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
  522.         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
  523.         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
  524.         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
  525.         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
  526.         at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
  527.         at sun.reflect.NativeMethodAccessorImpl.invoke0(native method)
  528.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  529.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  530.         at java.lang.reflect.method.invoke(method.java:498)
  531.         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
  532.         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
  533.         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
  534.         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
  535. [INFO] Using authentication suppliers: [ConfigFileRegistryAuthSupplier]
  536. [INFO] Property skipDockerBuild is set
  537. [INFO] Skipping docker build
  538. [INFO]                                                                        
  539. [INFO] ------------------------------------------------------------------------
  540. [INFO] Building repo-dashboard 1.2.1
  541. [INFO] ------------------------------------------------------------------------
  542. [DEBUG] Resolving plugin version for com.spotify:docker-maven-plugin
  543. [DEBUG] Could not find metadata com.spotify:docker-maven-plugin/maven-metadata.xml in local (/Users/tory/Documents/repo)
  544. [DEBUG] Skipped remote request for com.spotify:docker-maven-plugin/maven-metadata.xml, locally cached metadata up-to-date.
  545. [DEBUG] Resolved plugin version for com.spotify:docker-maven-plugin to 1.2.0 from repository central (https://repo.maven.apache.org/maven2, default, releases)
  546. [DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-checkstyle-plugin
  547. [DEBUG] Could not find metadata org.apache.maven.plugins:maven-checkstyle-plugin/maven-metadata.xml in local (/Users/tory/Documents/repo)
  548. [DEBUG] Skipped remote request for org.apache.maven.plugins:maven-checkstyle-plugin/maven-metadata.xml, locally cached metadata up-to-date.
  549. [DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-checkstyle-plugin to 3.0.0 from repository central (https://repo.maven.apache.org/maven2, default, releases)
  550. [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]
  551. [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
  552. [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
  553. [DEBUG] Resolving plugin prefix docker from [org.apache.maven.plugins, org.codehaus.mojo]
  554. [DEBUG] Resolved plugin prefix docker to com.spotify:docker-maven-plugin from POM com.cyberinsight.repo:repo-dashboard:jar:1.2.1
  555. [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]
  556. [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
  557. [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
  558. [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]
  559. [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
  560. [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
  561. [DEBUG] === PROJECT BUILD PLAN ================================================
  562. [DEBUG] Project:       com.cyberinsight.repo:repo-dashboard:1.2.1
  563. [DEBUG] Dependencies (collect): []
  564. [DEBUG] Dependencies (resolve): []
  565. [DEBUG] Repositories (dependencies): [aliyun (http://maven.aliyun.com/nexus/content/groups/public/, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)]
  566. [DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
  567. [DEBUG] -----------------------------------------------------------------------
  568. [DEBUG] Goal:          org.apache.maven.plugins:maven-clean-plugin:2.6.1:clean (default-clean)
  569. [DEBUG] style:         Regular
  570. [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
  571. <configuration>
  572.   <directory default-value="${project.build.directory}"/>
  573.   <excludeDefaultDirectories default-value="false">${clean.excludeDefaultDirectories}</excludeDefaultDirectories>
  574.   <failOnError default-value="true">${maven.clean.failOnError}</failOnError>
  575.   <followSymLinks default-value="false">${clean.followSymLinks}</followSymLinks>
  576.   <outputDirectory default-value="${project.build.outputDirectory}"/>
  577.   <reportDirectory default-value="${project.build.outputDirectory}"/>
  578.   <retryOnError default-value="true">${maven.clean.retryOnError}</retryOnError>
  579.   <skip default-value="false">${clean.skip}</skip>
  580.   <testOutputDirectory default-value="${project.build.testOutputDirectory}"/>
  581.   <verbose>${clean.verbose}</verbose>
  582. </configuration>
  583. [DEBUG] -----------------------------------------------------------------------
  584. [DEBUG] Goal:          com.spotify:docker-maven-plugin:1.2.0:build (default-cli)
  585. [DEBUG] style:         Regular
  586. [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
  587. <configuration>
  588.   <baseImage>192.168.199.70:5000/jre-base:1.8</baseImage>
  589.   <buildArgs>${dockerBuildArgs}</buildArgs>
  590.   <buildDirectory>${project.build.directory}</buildDirectory>
  591.   <cmd>${dockerCmd}</cmd>
  592.   <defaultProfile>${dockerDefaultBuildProfile}</defaultProfile>
  593.   <dockerCertPath>${dockerCertPath}</dockerCertPath>
  594.   <dockerDirectory>${dockerDirectory}</dockerDirectory>
  595.   <dockerHost>${dockerHost}</dockerHost>
  596.   <entryPoint>[&quot;java&quot;,&quot;-Duser.timezone=GMT+08&quot;,&quot;-Djava.security.egd=file:/dev/./urandom&quot;,&quot;-Xms512M&quot;,&quot;-Xmx4G&quot;,&quot;-jar&quot;,&quot;repo-dashboard-1.2.1.jar&quot;]</entryPoint>
  597.   <env>${dockerEnv}</env>
  598.   <exposes>${dockerExposes}</exposes>
  599.   <forceTags default-value="false">${forceTags}</forceTags>
  600.   <healthcheck>${healthcheck}</healthcheck>
  601.   <imageName>192.168.199.249:5000/cyberrepository/repo-dashboard:1.2.1</imageName>
  602.   <imageTags>${dockerImageTags}</imageTags>
  603.   <labels>${dockerLabels}</labels>
  604.   <maintainer>${dockerMaintainer}</maintainer>
  605.   <mavenProject default-value="${project}"/>
  606.   <noCache default-value="false">${noCache}</noCache>
  607.   <profile>${dockerBuildProfile}</profile>
  608.   <pullOnBuild default-value="false">${pullOnBuild}</pullOnBuild>
  609.   <pushImage default-value="false">${pushImage}</pushImage>
  610.   <pushImageTag default-value="false">${pushImageTag}</pushImageTag>
  611.   <registryUrl>${registryUrl}</registryUrl>
  612.   <resources>
  613.     <resource>
  614.       <targetPath>.</targetPath>
  615.       <directory>/Users/tory/Project/code-workspace/cyberrepository/repo-dashboard/target</directory>
  616.       <include>repo-dashboard-1.2.1.jar</include>
  617.     </resource>${dockerResources}</resources>
  618.   <retryPushCount default-value="5">${retryPushCount}</retryPushCount>
  619.   <retryPushTimeout default-value="10000">${retryPushTimeout}</retryPushTimeout>
  620.   <rm default-value="true">${rm}</rm>
  621.   <runs>${dockerRuns}</runs>
  622.   <saveImageToTarArchive>${saveImageToTarArchive}</saveImageToTarArchive>
  623.   <serverId>${serverId}</serverId>
  624.   <skipDocker default-value="false">${skipDocker}</skipDocker>
  625.   <skipDockerBuild default-value="false">true</skipDockerBuild>
  626.   <skipDockerPush default-value="false">${skipDockerPush}</skipDockerPush>
  627.   <squashRunCommands default-value="false">${squashRunCommands}</squashRunCommands>
  628.   <tagInfoFile default-value="${project.build.testOutputDirectory}/image_info.json">${tagInfoFile}</tagInfoFile>
  629.   <useGitCommitId default-value="false">${useGitCommitId}</useGitCommitId>
  630.   <user>${user}</user>
  631.   <volumes>${dockerVolumes}</volumes>
  632.   <workdir>/opt/</workdir>
  633.   <execution default-value="${mojoExecution}"/>
  634.   <session default-value="${session}"/>
  635.   <settings default-value="${settings}"/>
  636. </configuration>
  637. [DEBUG] =======================================================================
  638. [INFO]
  639. [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ repo-dashboard ---
  640. [DEBUG] Configuring mojo org.apache.maven.plugins:maven-clean-plugin:2.6.1:clean from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-clean-plugin:2.6.1, parent: sun.misc.Launcher$AppClassLoader@45ee12a7]
  641. [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.6.1:clean' with basic configurator -->
  642. [DEBUG]   (f) directory = /Users/tory/Project/code-workspace/cyberrepository/repo-dashboard/target
  643. [DEBUG]   (f) excludeDefaultDirectories = false
  644. [DEBUG]   (f) failOnError = true
  645. [DEBUG]   (f) followSymLinks = false
  646. [DEBUG]   (f) outputDirectory = /Users/tory/Project/code-workspace/cyberrepository/repo-dashboard/target/classes
  647. [DEBUG]   (f) reportDirectory = /Users/tory/Project/code-workspace/cyberrepository/repo-dashboard/target/classes
  648. [DEBUG]   (f) retryOnError = true
  649. [DEBUG]   (f) skip = false
  650. [DEBUG]   (f) testOutputDirectory = /Users/tory/Project/code-workspace/cyberrepository/repo-dashboard/target/test-classes
  651. [DEBUG] -- end configuration --
  652. [DEBUG] Skipping non-existing directory /Users/tory/Project/code-workspace/cyberrepository/repo-dashboard/target
  653. [DEBUG] Skipping non-existing directory /Users/tory/Project/code-workspace/cyberrepository/repo-dashboard/target/classes
  654. [DEBUG] Skipping non-existing directory /Users/tory/Project/code-workspace/cyberrepository/repo-dashboard/target/test-classes
  655. [DEBUG] Skipping non-existing directory /Users/tory/Project/code-workspace/cyberrepository/repo-dashboard/target/classes
  656. [INFO]
  657. [INFO] --- docker-maven-plugin:1.2.0:build (default-cli) @ repo-dashboard ---
  658. [DEBUG] Configuring mojo com.spotify:docker-maven-plugin:1.2.0:build from plugin realm ClassRealm[plugin>com.spotify:docker-maven-plugin:1.2.0, parent: sun.misc.Launcher$AppClassLoader@45ee12a7]
  659. [DEBUG] Configuring mojo 'com.spotify:docker-maven-plugin:1.2.0:build' with basic configurator -->
  660. [DEBUG]   (f) baseImage = 192.168.199.70:5000/jre-base:1.8
  661. [DEBUG]   (f) buildArgs = {}
  662. [DEBUG]   (f) buildDirectory = /Users/tory/Project/code-workspace/cyberrepository/repo-dashboard/target
  663. [DEBUG]   (f) entryPoint = ["java","-Duser.timezone=GMT+08","-Djava.security.egd=file:/dev/./urandom","-Xms512M","-Xmx4G","-jar","repo-dashboard-1.2.1.jar"]
  664. [DEBUG]   (f) env = {}
  665. [DEBUG]   (f) exposes = []
  666. [DEBUG]   (f) forceTags = false
  667. [DEBUG]   (f) healthcheck = {}
  668. [DEBUG]   (f) imageName = 192.168.199.249:5000/cyberrepository/repo-dashboard:1.2.1
  669. [DEBUG]   (f) imageTags = []
  670. [DEBUG]   (f) labels = []
  671. [DEBUG]   (f) mavenProject = MavenProject: com.cyberinsight.repo:repo-dashboard:1.2.1 @ /Users/tory/Project/code-workspace/cyberrepository/repo-dashboard/pom.xml
  672. [DEBUG]   (f) noCache = false
  673. [DEBUG]   (f) pullOnBuild = false
  674. [DEBUG]   (f) pushImage = true
  675. [DEBUG]   (f) pushImageTag = false
  676. [DEBUG]   (s) targetPath = .
  677. [DEBUG]   (s) directory = /Users/tory/Project/code-workspace/cyberrepository/repo-dashboard/target
  678. [DEBUG]   (s) include = repo-dashboard-1.2.1.jar
  679. [DEBUG]   (f) resources = [Resource {targetPath: ., filtering: false, FileSet {directory: /Users/tory/Project/code-workspace/cyberrepository/repo-dashboard/target, PatternSet [includes: {repo-dashboard-1.2.1.jar}, excludes: {}]}}]
  680. [DEBUG]   (f) retryPushCount = 5
  681. [DEBUG]   (f) retryPushTimeout = 10000
  682. [DEBUG]   (f) rm = true
  683. [DEBUG]   (f) runs = []
  684. [DEBUG]   (f) skipDocker = false
  685. [DEBUG]   (f) skipDockerBuild = true
  686. [DEBUG]   (f) skipDockerPush = false
  687. [DEBUG]   (f) squashRunCommands = false
  688. [DEBUG]   (f) tagInfoFile = /Users/tory/Project/code-workspace/cyberrepository/repo-dashboard/target/test-classes/image_info.json
  689. [DEBUG]   (f) useGitCommitId = false
  690. [DEBUG]   (f) volumes = []
  691. [DEBUG]   (f) workdir = /opt/
  692. [DEBUG]   (f) execution = com.spotify:docker-maven-plugin:1.2.0:build {execution: default-cli}
  693. [DEBUG]   (f) session = org.apache.maven.execution.MavenSession@6e1d4137
  694. [DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@29a4f594
  695. [DEBUG] -- end configuration --
  696. [DEBUG] /Users/tory/.docker/ca.pem, /Users/tory/.docker/key.pem or /Users/tory/.docker/cert.pem does not exist, not using SSL
  697. [DEBUG] Using configfile: /Users/tory/.docker/config.json
  698. [DEBUG] Failed to load Google application default credentials
  699. java.io.ioexception: The Application default Credentials are not available. They are available if running in Google Compute Engine. Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
  700.         at com.google.auth.oauth2.DefaultCredentialsProvider.getDefaultCredentials(DefaultCredentialsProvider.java:111)
  701.         at com.google.auth.oauth2.GoogleCredentials.getApplicationDefault(GoogleCredentials.java:103)
  702.         at com.google.auth.oauth2.GoogleCredentials.getApplicationDefault(GoogleCredentials.java:76)
  703.         at com.spotify.docker.AbstractDockerMojo.googleContainerRegistryAuthSupplier(AbstractDockerMojo.java:354)
  704.         at com.spotify.docker.AbstractDockerMojo.authSupplier(AbstractDockerMojo.java:287)
  705.         at com.spotify.docker.AbstractDockerMojo.buildDockerClient(AbstractDockerMojo.java:178)
  706.         at com.spotify.docker.AbstractDockerMojo.execute(AbstractDockerMojo.java:148)
  707.         at com.spotify.docker.BuildMojo.execute(BuildMojo.java:324)
  708.         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  709.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  710.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  711.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
  712.         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
  713.         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
  714.         at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
  715.         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
  716.         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
  717.         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
  718.         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
  719.         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
  720.         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
  721.         at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
  722.         at sun.reflect.NativeMethodAccessorImpl.invoke0(native method)
  723.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  724.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  725.         at java.lang.reflect.method.invoke(method.java:498)
  726.         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
  727.         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
  728.         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
  729.         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
  730. [INFO] Using authentication suppliers: [ConfigFileRegistryAuthSupplier]
  731. [INFO] Property skipDockerBuild is set
  732. [INFO] Skipping docker build
  733. [INFO]                                                                        
  734. [INFO] ------------------------------------------------------------------------
  735. [INFO] Building repo-operator 1.2.1
  736. [INFO] ------------------------------------------------------------------------
  737. [DEBUG] Resolving plugin version for com.spotify:docker-maven-plugin
  738. [DEBUG] Could not find metadata com.spotify:docker-maven-plugin/maven-metadata.xml in local (/Users/tory/Documents/repo)
  739. [DEBUG] Skipped remote request for com.spotify:docker-maven-plugin/maven-metadata.xml, locally cached metadata up-to-date.
  740. [DEBUG] Resolved plugin version for com.spotify:docker-maven-plugin to 1.2.0 from repository central (https://repo.maven.apache.org/maven2, default, releases)
  741. [DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-checkstyle-plugin
  742. [DEBUG] Could not find metadata org.apache.maven.plugins:maven-checkstyle-plugin/maven-metadata.xml in local (/Users/tory/Documents/repo)
  743. [DEBUG] Skipped remote request for org.apache.maven.plugins:maven-checkstyle-plugin/maven-metadata.xml, locally cached metadata up-to-date.
  744. [DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-checkstyle-plugin to 3.0.0 from repository central (https://repo.maven.apache.org/maven2, default, releases)
  745. [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]
  746. [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
  747. [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
  748. [DEBUG] Resolving plugin prefix docker from [org.apache.maven.plugins, org.codehaus.mojo]
  749. [DEBUG] Resolved plugin prefix docker to com.spotify:docker-maven-plugin from POM com.cyberinsight.repo:repo-operator:jar:1.2.1
  750. [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]
  751. [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
  752. [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
  753. [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]
  754. [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
  755. [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
  756. [DEBUG] === PROJECT BUILD PLAN ================================================
  757. [DEBUG] Project:       com.cyberinsight.repo:repo-operator:1.2.1
  758. [DEBUG] Dependencies (collect): []
  759. [DEBUG] Dependencies (resolve): []
  760. [DEBUG] Repositories (dependencies): [aliyun (http://maven.aliyun.com/nexus/content/groups/public/, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)]
  761. [DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
  762. [DEBUG] -----------------------------------------------------------------------
  763. [DEBUG] Goal:          org.apache.maven.plugins:maven-clean-plugin:2.6.1:clean (default-clean)
  764. [DEBUG] style:         Regular
  765. [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
  766. <configuration>
  767.   <directory default-value="${project.build.directory}"/>
  768.   <excludeDefaultDirectories default-value="false">${clean.excludeDefaultDirectories}</excludeDefaultDirectories>
  769.   <failOnError default-value="true">${maven.clean.failOnError}</failOnError>
  770.   <followSymLinks default-value="false">${clean.followSymLinks}</followSymLinks>
  771.   <outputDirectory default-value="${project.build.outputDirectory}"/>
  772.   <reportDirectory default-value="${project.build.outputDirectory}"/>
  773.   <retryOnError default-value="true">${maven.clean.retryOnError}</retryOnError>
  774.   <skip default-value="false">${clean.skip}</skip>
  775.   <testOutputDirectory default-value="${project.build.testOutputDirectory}"/>
  776.   <verbose>${clean.verbose}</verbose>
  777. </configuration>
  778. [DEBUG] -----------------------------------------------------------------------
  779. [DEBUG] Goal:          com.spotify:docker-maven-plugin:1.2.0:build (default-cli)
  780. [DEBUG] style:         Regular
  781. [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
  782. <configuration>
  783.   <baseImage>192.168.199.70:5000/jre-base:1.8</baseImage>
  784.   <buildArgs>${dockerBuildArgs}</buildArgs>
  785.   <buildDirectory>${project.build.directory}</buildDirectory>
  786.   <cmd>${dockerCmd}</cmd>
  787.   <defaultProfile>${dockerDefaultBuildProfile}</defaultProfile>
  788.   <dockerCertPath>${dockerCertPath}</dockerCertPath>
  789.   <dockerDirectory>${dockerDirectory}</dockerDirectory>
  790.   <dockerHost>${dockerHost}</dockerHost>
  791.   <entryPoint>[&quot;java&quot;,&quot;-Duser.timezone=GMT+08&quot;,&quot;-Djava.security.egd=file:/dev/./urandom&quot;,&quot;-Xms512M&quot;,&quot;-Xmx4G&quot;,&quot;-jar&quot;,&quot;repo-operator-1.2.1.jar&quot;]</entryPoint>
  792.   <env>${dockerEnv}</env>
  793.   <exposes>${dockerExposes}</exposes>
  794.   <forceTags default-value="false">${forceTags}</forceTags>
  795.   <healthcheck>${healthcheck}</healthcheck>
  796.   <imageName>192.168.199.249:5000/cyberrepository/repo-operator:1.2.1</imageName>
  797.   <imageTags>${dockerImageTags}</imageTags>
  798.   <labels>${dockerLabels}</labels>
  799.   <maintainer>${dockerMaintainer}</maintainer>
  800.   <mavenProject default-value="${project}"/>
  801.   <noCache default-value="false">${noCache}</noCache>
  802.   <profile>${dockerBuildProfile}</profile>
  803.   <pullOnBuild default-value="false">${pullOnBuild}</pullOnBuild>
  804.   <pushImage default-value="false">${pushImage}</pushImage>
  805.   <pushImageTag default-value="false">${pushImageTag}</pushImageTag>
  806.   <registryUrl>${registryUrl}</registryUrl>
  807.   <resources>
  808.     <resource>
  809.       <targetPath>.</targetPath>
  810.       <directory>/Users/tory/Project/code-workspace/cyberrepository/repo-operator/target</directory>
  811.       <include>repo-operator-1.2.1.jar</include>
  812.     </resource>${dockerResources}</resources>
  813.   <retryPushCount default-value="5">${retryPushCount}</retryPushCount>
  814.   <retryPushTimeout default-value="10000">${retryPushTimeout}</retryPushTimeout>
  815.   <rm default-value="true">${rm}</rm>
  816.   <runs>${dockerRuns}</runs>
  817.   <saveImageToTarArchive>${saveImageToTarArchive}</saveImageToTarArchive>
  818.   <serverId>${serverId}</serverId>
  819.   <skipDocker default-value="false">${skipDocker}</skipDocker>
  820.   <skipDockerBuild default-value="false">false</skipDockerBuild>
  821.   <skipDockerPush default-value="false">${skipDockerPush}</skipDockerPush>
  822.   <squashRunCommands default-value="false">${squashRunCommands}</squashRunCommands>
  823.   <tagInfoFile default-value="${project.build.testOutputDirectory}/image_info.json">${tagInfoFile}</tagInfoFile>
  824.   <useGitCommitId default-value="false">${useGitCommitId}</useGitCommitId>
  825.   <user>${user}</user>
  826.   <volumes>${dockerVolumes}</volumes>
  827.   <workdir>/opt/</workdir>
  828.   <execution default-value="${mojoExecution}"/>
  829.   <session default-value="${session}"/>
  830.   <settings default-value="${settings}"/>
  831. </configuration>
  832. [DEBUG] =======================================================================
  833. [INFO]
  834. [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ repo-operator ---
  835. [DEBUG] Configuring mojo org.apache.maven.plugins:maven-clean-plugin:2.6.1:clean from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-clean-plugin:2.6.1, parent: sun.misc.Launcher$AppClassLoader@45ee12a7]
  836. [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.6.1:clean' with basic configurator -->
  837. [DEBUG]   (f) directory = /Users/tory/Project/code-workspace/cyberrepository/repo-operator/target
  838. [DEBUG]   (f) excludeDefaultDirectories = false
  839. [DEBUG]   (f) failOnError = true
  840. [DEBUG]   (f) followSymLinks = false
  841. [DEBUG]   (f) outputDirectory = /Users/tory/Project/code-workspace/cyberrepository/repo-operator/target/classes
  842. [DEBUG]   (f) reportDirectory = /Users/tory/Project/code-workspace/cyberrepository/repo-operator/target/classes
  843. [DEBUG]   (f) retryOnError = true
  844. [DEBUG]   (f) skip = false
  845. [DEBUG]   (f) testOutputDirectory = /Users/tory/Project/code-workspace/cyberrepository/repo-operator/target/test-classes
  846. [DEBUG] -- end configuration --
  847. [DEBUG] Skipping non-existing directory /Users/tory/Project/code-workspace/cyberrepository/repo-operator/target
  848. [DEBUG] Skipping non-existing directory /Users/tory/Project/code-workspace/cyberrepository/repo-operator/target/classes
  849. [DEBUG] Skipping non-existing directory /Users/tory/Project/code-workspace/cyberrepository/repo-operator/target/test-classes
  850. [DEBUG] Skipping non-existing directory /Users/tory/Project/code-workspace/cyberrepository/repo-operator/target/classes
  851. [INFO]
  852. [INFO] --- docker-maven-plugin:1.2.0:build (default-cli) @ repo-operator ---
  853. [DEBUG] Configuring mojo com.spotify:docker-maven-plugin:1.2.0:build from plugin realm ClassRealm[plugin>com.spotify:docker-maven-plugin:1.2.0, parent: sun.misc.Launcher$AppClassLoader@45ee12a7]
  854. [DEBUG] Configuring mojo 'com.spotify:docker-maven-plugin:1.2.0:build' with basic configurator -->
  855. [DEBUG]   (f) baseImage = 192.168.199.70:5000/jre-base:1.8
  856. [DEBUG]   (f) buildArgs = {}
  857. [DEBUG]   (f) buildDirectory = /Users/tory/Project/code-workspace/cyberrepository/repo-operator/target
  858. [DEBUG]   (f) entryPoint = ["java","-Duser.timezone=GMT+08","-Djava.security.egd=file:/dev/./urandom","-Xms512M","-Xmx4G","-jar","repo-operator-1.2.1.jar"]
  859. [DEBUG]   (f) env = {}
  860. [DEBUG]   (f) exposes = []
  861. [DEBUG]   (f) forceTags = false
  862. [DEBUG]   (f) healthcheck = {}
  863. [DEBUG]   (f) imageName = 192.168.199.249:5000/cyberrepository/repo-operator:1.2.1
  864. [DEBUG]   (f) imageTags = []
  865. [DEBUG]   (f) labels = []
  866. [DEBUG]   (f) mavenProject = MavenProject: com.cyberinsight.repo:repo-operator:1.2.1 @ /Users/tory/Project/code-workspace/cyberrepository/repo-operator/pom.xml
  867. [DEBUG]   (f) noCache = false
  868. [DEBUG]   (f) pullOnBuild = false
  869. [DEBUG]   (f) pushImage = true
  870. [DEBUG]   (f) pushImageTag = false
  871. [DEBUG]   (s) targetPath = .
  872. [DEBUG]   (s) directory = /Users/tory/Project/code-workspace/cyberrepository/repo-operator/target
  873. [DEBUG]   (s) include = repo-operator-1.2.1.jar
  874. [DEBUG]   (f) resources = [Resource {targetPath: ., filtering: false, FileSet {directory: /Users/tory/Project/code-workspace/cyberrepository/repo-operator/target, PatternSet [includes: {repo-operator-1.2.1.jar}, excludes: {}]}}]
  875. [DEBUG]   (f) retryPushCount = 5
  876. [DEBUG]   (f) retryPushTimeout = 10000
  877. [DEBUG]   (f) rm = true
  878. [DEBUG]   (f) runs = []
  879. [DEBUG]   (f) skipDocker = false
  880. [DEBUG]   (f) skipDockerBuild = false
  881. [DEBUG]   (f) skipDockerPush = false
  882. [DEBUG]   (f) squashRunCommands = false
  883. [DEBUG]   (f) tagInfoFile = /Users/tory/Project/code-workspace/cyberrepository/repo-operator/target/test-classes/image_info.json
  884. [DEBUG]   (f) useGitCommitId = false
  885. [DEBUG]   (f) volumes = []
  886. [DEBUG]   (f) workdir = /opt/
  887. [DEBUG]   (f) execution = com.spotify:docker-maven-plugin:1.2.0:build {execution: default-cli}
  888. [DEBUG]   (f) session = org.apache.maven.execution.MavenSession@6e1d4137
  889. [DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@29a4f594
  890. [DEBUG] -- end configuration --
  891. [DEBUG] /Users/tory/.docker/ca.pem, /Users/tory/.docker/key.pem or /Users/tory/.docker/cert.pem does not exist, not using SSL
  892. [DEBUG] Using configfile: /Users/tory/.docker/config.json
  893. [DEBUG] Failed to load Google application default credentials
  894. java.io.ioexception: The Application default Credentials are not available. They are available if running in Google Compute Engine. Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
  895.         at com.google.auth.oauth2.DefaultCredentialsProvider.getDefaultCredentials(DefaultCredentialsProvider.java:111)
  896.         at com.google.auth.oauth2.GoogleCredentials.getApplicationDefault(GoogleCredentials.java:103)
  897.         at com.google.auth.oauth2.GoogleCredentials.getApplicationDefault(GoogleCredentials.java:76)
  898.         at com.spotify.docker.AbstractDockerMojo.googleContainerRegistryAuthSupplier(AbstractDockerMojo.java:354)
  899.         at com.spotify.docker.AbstractDockerMojo.authSupplier(AbstractDockerMojo.java:287)
  900.         at com.spotify.docker.AbstractDockerMojo.buildDockerClient(AbstractDockerMojo.java:178)
  901.         at com.spotify.docker.AbstractDockerMojo.execute(AbstractDockerMojo.java:148)
  902.         at com.spotify.docker.BuildMojo.execute(BuildMojo.java:324)
  903.         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  904.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  905.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  906.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
  907.         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
  908.         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
  909.         at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
  910.         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
  911.         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
  912.         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
  913.         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
  914.         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
  915.         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
  916.         at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
  917.         at sun.reflect.NativeMethodAccessorImpl.invoke0(native method)
  918.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  919.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  920.         at java.lang.reflect.method.invoke(method.java:498)
  921.         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
  922.         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
  923.         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
  924.         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
  925. [INFO] Using authentication suppliers: [ConfigFileRegistryAuthSupplier]
  926. [DEBUG] Not using any build profile
  927. [INFO] ------------------------------------------------------------------------
  928. [INFO] Reactor Summary:
  929. [INFO]
  930. [INFO] repo-common ........................................ SUCCESS [  3.758 s]
  931. [INFO] repo-core .......................................... SUCCESS [  0.115 s]
  932. [INFO] repo-eureka ........................................ SUCCESS [  0.182 s]
  933. [INFO] repo-dashboard ..................................... SUCCESS [  0.035 s]
  934. [INFO] repo-operator ...................................... FAILURE [  0.748 s]
  935. [INFO] repo-model ......................................... SKIPPED
  936. [INFO] repo-user .......................................... SKIPPED
  937. [INFO] repo-admin ......................................... SKIPPED
  938. [INFO] repo-api ........................................... SKIPPED
  939. [INFO] repo-parent ........................................ SKIPPED
  940. [INFO] ------------------------------------------------------------------------
  941. [INFO] BUILD FAILURE
  942. [INFO] ------------------------------------------------------------------------
  943. [INFO] Total time: 8.374 s
  944. [INFO] Finished at: 2019-01-09T13:58:59+08:00
  945. [INFO] final Memory: 85M/600M
  946. [INFO] ------------------------------------------------------------------------
  947. [ERROR] Failed to execute goal com.spotify:docker-maven-plugin:1.2.0:build (default-cli) on project repo-operator: exception caught: basedir /Users/tory/Project/code-workspace/cyberrepository/repo-operator/target does not exist -> [Help 1]
  948. org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.spotify:docker-maven-plugin:1.2.0:build (default-cli) on project repo-operator: exception caught
  949.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
  950.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  951.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
  952.         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
  953.         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
  954.         at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
  955.         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
  956.         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
  957.         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
  958.         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
  959.         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
  960.         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
  961.         at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
  962.         at sun.reflect.NativeMethodAccessorImpl.invoke0(native method)
  963.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  964.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  965.         at java.lang.reflect.method.invoke(method.java:498)
  966.         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
  967.         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
  968.         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
  969.         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
  970. Caused by: org.apache.maven.plugin.MojoExecutionException: exception caught
  971.         at com.spotify.docker.AbstractDockerMojo.execute(AbstractDockerMojo.java:151)
  972.         at com.spotify.docker.BuildMojo.execute(BuildMojo.java:324)
  973.         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  974.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  975.         ... 20 more
  976. Caused by: java.lang.illegalstateexception: basedir /Users/tory/Project/code-workspace/cyberrepository/repo-operator/target does not exist
  977.         at org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:308)
  978.         at com.spotify.docker.BuildMojo.copyResources(BuildMojo.java:797)
  979.         at com.spotify.docker.BuildMojo.execute(BuildMojo.java:394)
  980.         at com.spotify.docker.AbstractDockerMojo.execute(AbstractDockerMojo.java:149)
  981.         ... 23 more
  982. [ERROR]
  983. [ERROR]
  984. [ERROR] for more information about the errors and possible solutions, please read the following articles:
  985. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  986. [ERROR]
  987. [ERROR] After correcting the problems, you can resume the build with the command
  988. [ERROR]   mvn <goals> -rf :repo-operator
  989.  
Parsed in 0.310 seconds