From 6221adde01ea5511842d677c3fbbc37ef48791d4 Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Mon, 4 Sep 2023 10:10:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=20maven=20docker=20=E6=89=93?= =?UTF-8?q?=E5=8C=85=E9=95=9C=E5=83=8F=20=E8=B0=83=E6=95=B4=20GenerateSche?= =?UTF-8?q?maTest=20MapperScan?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../skcks/docking/gb28181/orm/mybatis/GenerateSchemaTest.java | 2 +- package-docker.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/orm/src/test/java/cn/skcks/docking/gb28181/orm/mybatis/GenerateSchemaTest.java b/orm/src/test/java/cn/skcks/docking/gb28181/orm/mybatis/GenerateSchemaTest.java index 7128b5f..ac30b6c 100644 --- a/orm/src/test/java/cn/skcks/docking/gb28181/orm/mybatis/GenerateSchemaTest.java +++ b/orm/src/test/java/cn/skcks/docking/gb28181/orm/mybatis/GenerateSchemaTest.java @@ -12,7 +12,7 @@ import org.springframework.test.context.ActiveProfiles; // 生成 schema 元数据 表 @ActiveProfiles("pre-dev") @SpringBootTest(classes = {GenerateSchemaTest.class}) -@MapperScans(@MapperScan("cn.skcks.docking.gb28181.orm.mybatis")) +@MapperScans(@MapperScan({"cn.skcks.docking.gb28181.orm.mybatis.dynamic","cn.skcks.docking.gb28181.orm.mybatis.operation"})) @SpringBootApplication public class GenerateSchemaTest { @Autowired diff --git a/package-docker.sh b/package-docker.sh index 89ea91b..fea31a3 100644 --- a/package-docker.sh +++ b/package-docker.sh @@ -8,7 +8,7 @@ docker run --name maven --rm \ -v ${curDir}/settings.xml:/usr/share/maven/ref/settings.xml \ -v /etc/docker/daemon.json:/etc/docker/daemon.json -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker \ -w /usr/src/mymaven \ - maven:3.9.3-eclipse-temurin-17 \ + maven:3.9.3-eclipse-temurin-17-alpine \ mvn clean package -DskipTests -Pdocker docker save skcks.cn/gb28181-docking-platform -o gb28181-docking-platform.image ls -lh *.image