From 3f9239aa5787b57a8ca81faac25828d355a28a2a Mon Sep 17 00:00:00 2001 From: bunny <1319900154@qq.com> Date: Sat, 30 Mar 2024 23:59:35 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=96=B0=E5=A2=9E):=20=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sky-pojo/pom.xml | 2 +- sky-server/Dockerfile | 2 +- sky-server/pom.xml | 70 ++++++++++++++++++++++++++++++++++++------- 3 files changed, 61 insertions(+), 13 deletions(-) diff --git a/sky-pojo/pom.xml b/sky-pojo/pom.xml index 28f3c38..7454789 100644 --- a/sky-pojo/pom.xml +++ b/sky-pojo/pom.xml @@ -11,7 +11,7 @@ jar sky-pojo - http://maven.apache.org + https://maven.apache.org UTF-8 diff --git a/sky-server/Dockerfile b/sky-server/Dockerfile index 421b7e4..d2959f5 100644 --- a/sky-server/Dockerfile +++ b/sky-server/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:18 +FROM openjdk:17 #系统编码 ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 diff --git a/sky-server/pom.xml b/sky-server/pom.xml index bde36be..df9c0a4 100644 --- a/sky-server/pom.xml +++ b/sky-server/pom.xml @@ -13,9 +13,21 @@ sky-server jar + 192.168.1.4:1100 + sky UTF-8 + + com.sky + sky-common + 1.0-SNAPSHOT + + + com.sky + sky-pojo + 1.0-SNAPSHOT + org.springframework.boot spring-boot-starter @@ -118,16 +130,52 @@ junit 4.13.1 - - - com.sky - sky-common - 1.0-SNAPSHOT - - - com.sky - sky-pojo - 1.0-SNAPSHOT - + + + + + org.springframework.boot + spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-surefire-plugin + + true + + + + com.spotify + docker-maven-plugin + 1.2.2 + + + + build-image + + package + + build + push + + + + + harbor + http://${docker.repostory} + + http://192.168.1.4:2375 + + + ${docker.repostory}/${docker.registry.name}/${project.artifactId}:${project.version} + + + ${project.basedir} + + false + + + + \ No newline at end of file