add:解析地图相关数据

This commit is contained in:
2025-07-18 18:00:08 +08:00
parent ea8c26f9bb
commit 74c955d4c5
30 changed files with 1200 additions and 68 deletions

43
pom.xml
View File

@@ -48,6 +48,18 @@
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<!-- Protocol Buffers -->
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>3.21.12</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
@@ -116,6 +128,13 @@
</dependencyManagement>
<build>
<extensions>
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
<version>1.7.0</version>
</extension>
</extensions>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -144,6 +163,30 @@
</execution>
</executions>
</plugin>
<!-- Protobuf 自动生成插件 -->
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
<version>0.6.1</version> <!-- 使用最新版本 -->
<configuration>
<!-- Proto 文件目录 -->
<protoSourceRoot>${project.basedir}/src/main/proto</protoSourceRoot>
<!-- Java 输出目录 -->
<outputDirectory>${project.build.directory}/generated-sources/protobuf/java</outputDirectory>
<!-- 显式指定 protoc 版本自动下载exe:根据不同系统来填写 -->
<protocArtifact>com.google.protobuf:protoc:3.21.12:exe:windows-x86_64</protocArtifact>
<!-- 是否清空输出目录 -->
<clearOutputDirectory>true</clearOutputDirectory>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>test-compile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>