From ec540382b69a3cdb6d6dac2ed61d97236b62328d Mon Sep 17 00:00:00 2001 From: liulin <lin.liu@88.com> Date: 星期日, 13 四月 2025 03:36:39 +0800 Subject: [PATCH] 修改配置 --- pom.xml | 29 +++++++++++++++++++++++++---- 1 files changed, 25 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index e5256b7..251981e 100644 --- a/pom.xml +++ b/pom.xml @@ -10,10 +10,10 @@ </parent> <groupId>com.nanjing.water</groupId> - <artifactId>xxx-yyy</artifactId> + <artifactId>nanjing-station-service</artifactId> <version>0.0.1-SNAPSHOT</version> - <name>xxx-yyy-service</name> - <description>The service which yyy of xxx project</description> + <name>nanjing-station-service</name> + <description>The service which name is nanjing-station of water</description> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> @@ -236,7 +236,18 @@ <artifactId>spring-boot-starter-quartz</artifactId> <version>2.0.3.RELEASE</version> </dependency> - + <!-- mqtt 依赖 --> + <dependency> + <groupId>org.eclipse.paho</groupId> + <artifactId>org.eclipse.paho.client.mqttv3</artifactId> + <version>1.2.5</version> + </dependency> + <!--生成验证码工具--> + <dependency> + <groupId>com.github.whvcse</groupId> + <artifactId>easy-captcha</artifactId> + <version>1.6.2</version> + </dependency> <!--************************************************** 单元测试相关 **************************************************--> <dependency> <groupId>org.springframework.boot</groupId> @@ -286,6 +297,16 @@ <package.buildName></package.buildName> </properties> </profile> + + <!-- 本地化部署环境 --> + <profile> + <id>local</id> + <properties> + <!-- 设置参数“package.environment”的值 --> + <package.environment>local</package.environment> + <package.buildName></package.buildName> + </properties> + </profile> </profiles> <build> -- Gitblit v1.9.3