From fcbe682715f9e45c0a348d85c477ec8ddf4b8a78 Mon Sep 17 00:00:00 2001 From: liaozan <378024053@qq.com> Date: Sat, 19 Mar 2022 15:09:14 +0800 Subject: [PATCH] chore: update dependency --- .../META-INF/maven/archetype-metadata.xml | 34 +++++--------- .../pom.xml | 10 ++-- .../pom.xml | 9 ++-- .../pom.xml | 2 +- .../pom.xml | 12 +++-- .../src/main/resources/mapper/.gitkeep | 0 .../pom.xml | 31 +++++++------ .../pom.xml | 18 +++++--- .../src/main/java/Application.java | 2 +- .../src/main/resources/application.yaml | 0 .../resources/archetype-resources/pom.xml | 46 +++++++++---------- 11 files changed, 80 insertions(+), 84 deletions(-) rename src/main/resources/archetype-resources/{__appName__-api-impl => __rootArtifactId__-api-impl}/pom.xml (67%) rename src/main/resources/archetype-resources/{__appName__-api => __rootArtifactId__-api}/pom.xml (82%) rename src/main/resources/archetype-resources/{__appName__-common => __rootArtifactId__-common}/pom.xml (91%) rename src/main/resources/archetype-resources/{__appName__-dao => __rootArtifactId__-dao}/pom.xml (72%) rename src/main/resources/archetype-resources/{__appName__-dao => __rootArtifactId__-dao}/src/main/resources/mapper/.gitkeep (100%) rename src/main/resources/archetype-resources/{__appName__-service => __rootArtifactId__-service}/pom.xml (51%) rename src/main/resources/archetype-resources/{__appName__-web => __rootArtifactId__-web}/pom.xml (70%) rename src/main/resources/archetype-resources/{__appName__-web => __rootArtifactId__-web}/src/main/java/Application.java (93%) rename src/main/resources/archetype-resources/{__appName__-web => __rootArtifactId__-web}/src/main/resources/application.yaml (100%) diff --git a/src/main/resources/META-INF/maven/archetype-metadata.xml b/src/main/resources/META-INF/maven/archetype-metadata.xml index 04a04de..ddeb543 100644 --- a/src/main/resources/META-INF/maven/archetype-metadata.xml +++ b/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -1,33 +1,24 @@ - + - - com.schbrain.kp - - - notice - - - com.schbrain.kp.notice - - - app - + + - + .gitignore *.xml *.properties + .gitkeep - + src/main/java @@ -43,7 +34,7 @@ - + src/main/java @@ -65,7 +56,7 @@ - + src/main/java @@ -87,7 +78,7 @@ - + src/main/java @@ -109,7 +100,7 @@ - + src/main/java @@ -125,7 +116,7 @@ - + src/main/java @@ -134,15 +125,12 @@ **/*.txt - - src/main/resources **/*.* - diff --git a/src/main/resources/archetype-resources/__appName__-api-impl/pom.xml b/src/main/resources/archetype-resources/__rootArtifactId__-api-impl/pom.xml similarity index 67% rename from src/main/resources/archetype-resources/__appName__-api-impl/pom.xml rename to src/main/resources/archetype-resources/__rootArtifactId__-api-impl/pom.xml index 2724787..5db6c64 100644 --- a/src/main/resources/archetype-resources/__appName__-api-impl/pom.xml +++ b/src/main/resources/archetype-resources/__rootArtifactId__-api-impl/pom.xml @@ -11,7 +11,7 @@ ${revision} - ${appName}-api-impl + ${artifactId} true @@ -19,8 +19,12 @@ - com.schbrain.kp - ${appName}-service + ${groupId} + ${rootArtifactId}-api + + + ${groupId} + ${rootArtifactId}-service diff --git a/src/main/resources/archetype-resources/__appName__-api/pom.xml b/src/main/resources/archetype-resources/__rootArtifactId__-api/pom.xml similarity index 82% rename from src/main/resources/archetype-resources/__appName__-api/pom.xml rename to src/main/resources/archetype-resources/__rootArtifactId__-api/pom.xml index 896bd52..b3850a2 100644 --- a/src/main/resources/archetype-resources/__appName__-api/pom.xml +++ b/src/main/resources/archetype-resources/__rootArtifactId__-api/pom.xml @@ -11,21 +11,18 @@ ${revision} - ${appName}-api + ${artifactId} - - com.schbrain.kp - ${appName}-common + ${groupId} + ${rootArtifactId}-common - org.springframework.cloud spring-cloud-starter-openfeign provided - \ No newline at end of file diff --git a/src/main/resources/archetype-resources/__appName__-common/pom.xml b/src/main/resources/archetype-resources/__rootArtifactId__-common/pom.xml similarity index 91% rename from src/main/resources/archetype-resources/__appName__-common/pom.xml rename to src/main/resources/archetype-resources/__rootArtifactId__-common/pom.xml index c82b89d..7dc9ef3 100644 --- a/src/main/resources/archetype-resources/__appName__-common/pom.xml +++ b/src/main/resources/archetype-resources/__rootArtifactId__-common/pom.xml @@ -11,7 +11,7 @@ ${revision} - ${appName}-common + ${artifactId} diff --git a/src/main/resources/archetype-resources/__appName__-dao/pom.xml b/src/main/resources/archetype-resources/__rootArtifactId__-dao/pom.xml similarity index 72% rename from src/main/resources/archetype-resources/__appName__-dao/pom.xml rename to src/main/resources/archetype-resources/__rootArtifactId__-dao/pom.xml index ee2eef3..ff6f9bf 100644 --- a/src/main/resources/archetype-resources/__appName__-dao/pom.xml +++ b/src/main/resources/archetype-resources/__rootArtifactId__-dao/pom.xml @@ -11,7 +11,7 @@ ${revision} - ${appName}-dao + ${artifactId} true @@ -19,15 +19,17 @@ - com.schbrain.kp - ${appName}-common + ${groupId} + ${rootArtifactId}-common - com.schbrain.framework mybatis-spring-boot-starter - + + com.alibaba + druid-spring-boot-starter + \ No newline at end of file diff --git a/src/main/resources/archetype-resources/__appName__-dao/src/main/resources/mapper/.gitkeep b/src/main/resources/archetype-resources/__rootArtifactId__-dao/src/main/resources/mapper/.gitkeep similarity index 100% rename from src/main/resources/archetype-resources/__appName__-dao/src/main/resources/mapper/.gitkeep rename to src/main/resources/archetype-resources/__rootArtifactId__-dao/src/main/resources/mapper/.gitkeep diff --git a/src/main/resources/archetype-resources/__appName__-service/pom.xml b/src/main/resources/archetype-resources/__rootArtifactId__-service/pom.xml similarity index 51% rename from src/main/resources/archetype-resources/__appName__-service/pom.xml rename to src/main/resources/archetype-resources/__rootArtifactId__-service/pom.xml index 30f4e7c..073b427 100644 --- a/src/main/resources/archetype-resources/__appName__-service/pom.xml +++ b/src/main/resources/archetype-resources/__rootArtifactId__-service/pom.xml @@ -1,5 +1,8 @@ - + + 4.0.0 @@ -8,39 +11,41 @@ ${revision} - ${appName}-service + ${artifactId} true - - com.schbrain.kp - ${appName}-dao + ${groupId} + ${rootArtifactId}-dao - - com.schbrain.kp - ${appName}-api + ${groupId} + ${rootArtifactId}-api - com.schbrain.framework - logger-spring-boot-starter + oss-spring-boot-starter + + + com.schbrain.framework + dubbo-spring-boot-starter + + + com.github.ben-manes.caffeine + caffeine - org.springframework.cloud spring-cloud-starter-netflix-eureka-client - org.springframework.cloud spring-cloud-starter-openfeign - \ No newline at end of file diff --git a/src/main/resources/archetype-resources/__appName__-web/pom.xml b/src/main/resources/archetype-resources/__rootArtifactId__-web/pom.xml similarity index 70% rename from src/main/resources/archetype-resources/__appName__-web/pom.xml rename to src/main/resources/archetype-resources/__rootArtifactId__-web/pom.xml index d4519b9..a09cdb1 100644 --- a/src/main/resources/archetype-resources/__appName__-web/pom.xml +++ b/src/main/resources/archetype-resources/__rootArtifactId__-web/pom.xml @@ -1,5 +1,8 @@ - + + 4.0.0 @@ -8,24 +11,25 @@ ${revision} - ${appName}-web + ${rootArtifactId}-web true - - com.schbrain.kp - ${appName}-api-impl + ${groupId} + ${rootArtifactId}-api-impl - com.schbrain.common web-common - + + com.schbrain.framework + logger-spring-boot-starter + org.springframework.boot spring-boot-starter-test diff --git a/src/main/resources/archetype-resources/__appName__-web/src/main/java/Application.java b/src/main/resources/archetype-resources/__rootArtifactId__-web/src/main/java/Application.java similarity index 93% rename from src/main/resources/archetype-resources/__appName__-web/src/main/java/Application.java rename to src/main/resources/archetype-resources/__rootArtifactId__-web/src/main/java/Application.java index ef3afba..5bcd631 100644 --- a/src/main/resources/archetype-resources/__appName__-web/src/main/java/Application.java +++ b/src/main/resources/archetype-resources/__rootArtifactId__-web/src/main/java/Application.java @@ -1,4 +1,4 @@ -package $ +package ${package}; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; diff --git a/src/main/resources/archetype-resources/__appName__-web/src/main/resources/application.yaml b/src/main/resources/archetype-resources/__rootArtifactId__-web/src/main/resources/application.yaml similarity index 100% rename from src/main/resources/archetype-resources/__appName__-web/src/main/resources/application.yaml rename to src/main/resources/archetype-resources/__rootArtifactId__-web/src/main/resources/application.yaml diff --git a/src/main/resources/archetype-resources/pom.xml b/src/main/resources/archetype-resources/pom.xml index c4c19c4..fbab78e 100644 --- a/src/main/resources/archetype-resources/pom.xml +++ b/src/main/resources/archetype-resources/pom.xml @@ -1,6 +1,8 @@ - + 4.0.0 @@ -15,52 +17,46 @@ ${revision} - 1.0.0-SNAPSHOT + ${version} - ${appName}-api - ${appName}-api-impl - ${appName}-common - ${appName}-dao - ${appName}-service - ${appName}-web + ${rootArtifactId}-api + ${rootArtifactId}-api-impl + ${rootArtifactId}-common + ${rootArtifactId}-dao + ${rootArtifactId}-service + ${rootArtifactId}-web - - - com.schbrain.kp - ${appName}-api - ${project.version} - - com.schbrain.kp - ${appName}-api-impl + ${groupId} + ${rootArtifactId}-api ${project.version} - com.schbrain.kp - ${appName}-common + ${groupId} + ${rootArtifactId}-api-impl ${project.version} - com.schbrain.kp - ${appName}-dao + ${groupId} + ${rootArtifactId}-common ${project.version} - com.schbrain.kp - ${appName}-service + ${groupId} + ${rootArtifactId}-dao ${project.version} - com.schbrain.kp - ${appName}-web + ${groupId} + ${rootArtifactId}-service ${project.version} - + \ No newline at end of file -- GitLab