From bac2c70734843590ec8f52be628bc25a3a855efd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Miller=20=28=E9=94=BA=E4=BF=8A=29?= Date: Sat, 9 May 2020 10:25:57 +0800 Subject: [PATCH] perf($POM): shorten the time for Maven lifecycle `compile` maven:package -> jib:dockerBuild maven:verify -> jib:build BREAKING CHANGE: change Jib execution phase --- api-portal/pom.xml | 10 ++++------ auth-center/pom.xml | 10 ++++------ exercise-mis/pom.xml | 10 ++++------ gateway/pom.xml | 10 ++++------ muscle-mis/pom.xml | 10 ++++------ service-registry/pom.xml | 10 ++++------ spring-boot-admin/pom.xml | 10 ++++------ 7 files changed, 28 insertions(+), 42 deletions(-) diff --git a/api-portal/pom.xml b/api-portal/pom.xml index 69b04e4d..f4be61fa 100644 --- a/api-portal/pom.xml +++ b/api-portal/pom.xml @@ -29,20 +29,18 @@ jib-maven-plugin 2.2.0 - + compilingPhaseJib - compile + package dockerBuild - + packagingPhaseJib - package + verify build diff --git a/auth-center/pom.xml b/auth-center/pom.xml index 622ecba9..7b5e85a3 100644 --- a/auth-center/pom.xml +++ b/auth-center/pom.xml @@ -27,20 +27,18 @@ jib-maven-plugin 2.2.0 - + compilingPhaseJib - compile + package dockerBuild - + packagingPhaseJib - package + verify build diff --git a/exercise-mis/pom.xml b/exercise-mis/pom.xml index f1bd85c1..25492782 100644 --- a/exercise-mis/pom.xml +++ b/exercise-mis/pom.xml @@ -27,20 +27,18 @@ jib-maven-plugin 2.2.0 - + compilingPhaseJib - compile + package dockerBuild - + packagingPhaseJib - package + verify build diff --git a/gateway/pom.xml b/gateway/pom.xml index 9baf9699..871274ff 100644 --- a/gateway/pom.xml +++ b/gateway/pom.xml @@ -31,20 +31,18 @@ jib-maven-plugin 2.2.0 - + compilingPhaseJib - compile + package dockerBuild - + packagingPhaseJib - package + verify build diff --git a/muscle-mis/pom.xml b/muscle-mis/pom.xml index 2d8db6d0..24834d11 100644 --- a/muscle-mis/pom.xml +++ b/muscle-mis/pom.xml @@ -27,20 +27,18 @@ jib-maven-plugin 2.2.0 - + compilingPhaseJib - compile + package dockerBuild - + packagingPhaseJib - package + verify build diff --git a/service-registry/pom.xml b/service-registry/pom.xml index fe9c284d..eb7df574 100644 --- a/service-registry/pom.xml +++ b/service-registry/pom.xml @@ -27,20 +27,18 @@ jib-maven-plugin 2.2.0 - + compilingPhaseJib - compile + package dockerBuild - + packagingPhaseJib - package + verify build diff --git a/spring-boot-admin/pom.xml b/spring-boot-admin/pom.xml index 3034bfbe..a52dd8db 100644 --- a/spring-boot-admin/pom.xml +++ b/spring-boot-admin/pom.xml @@ -27,20 +27,18 @@ jib-maven-plugin 2.2.0 - + compilingPhaseJib - compile + package dockerBuild - + packagingPhaseJib - package + verify build