gb28181-docking-platform/pom.xml

212 lines
6.0 KiB
XML
Raw Normal View History

2023-08-08 17:11:28 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.2</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>cn.skcks.docking</groupId>
<artifactId>gb28181</artifactId>
<version>0.0.1-SNAPSHOT</version>
2023-08-09 00:56:46 +08:00
<packaging>pom</packaging>
2023-08-08 17:11:28 +08:00
<name>gb28181-docking-platform</name>
<description>GB28181 Docking Platform</description>
2023-08-09 00:56:46 +08:00
<modules>
<module>starter</module>
<module>annotation</module>
<module>common</module>
<module>api</module>
2023-08-09 01:51:53 +08:00
<module>gb28181-service</module>
2023-08-09 00:56:46 +08:00
</modules>
2023-08-08 17:11:28 +08:00
<properties>
2023-08-09 00:56:46 +08:00
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2023-08-08 20:34:10 +08:00
<java.version>17</java.version>
2023-08-09 00:56:46 +08:00
<springboot.version>3.1.2</springboot.version>
<!--Java Bean-->
<org.mapstruct.version>1.5.3.Final</org.mapstruct.version>
<lombok.version>1.18.24</lombok.version>
<!--数据库-->
<mysql.version>8.0.31</mysql.version>
<mybatis.version>3.0.1</mybatis.version>
<mybatis-dynamic.version>1.4.1</mybatis-dynamic.version>
<mybatis-generator-maven-plugin.version>1.4.1</mybatis-generator-maven-plugin.version>
<pagehelper.version>1.4.6</pagehelper.version>
<!--工具-->
<hutool.version>5.8.11</hutool.version>
<!--SpringDoc-->
<springdoc.version>2.0.2</springdoc.version>
2023-08-08 17:11:28 +08:00
</properties>
2023-08-09 00:56:46 +08:00
<dependencyManagement>
<dependencies>
<!--MapStruct-->
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct</artifactId>
<version>${org.mapstruct.version}</version>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${org.mapstruct.version}</version>
<scope>compile</scope>
</dependency>
<!--lombok-->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
<!--mybatis 分页器插件-->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>${pagehelper.version}</version>
</dependency>
<!--hutool-->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${hutool.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${springboot.version}</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-undertow</artifactId>
<version>${springboot.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.springdoc/springdoc-openapi-starter-common -->
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-common</artifactId>
<version>${springdoc.version}</version>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>${springdoc.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
2023-08-08 17:11:28 +08:00
<build>
2023-08-09 00:56:46 +08:00
<pluginManagement>
<plugins>
<plugin>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-maven-plugin</artifactId>
<version>${mybatis-generator-maven-plugin.version}</version>
<configuration>
<!--配置文件的位置-->
<configurationFile>src/main/resources/config/generatorConfig.xml</configurationFile>
<verbose>true</verbose>
<overwrite>true</overwrite>
</configuration>
<executions>
<execution>
<id>Generate MyBatis Artifacts</id>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
2023-08-08 17:11:28 +08:00
<plugins>
<plugin>
2023-08-09 00:56:46 +08:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
2023-08-08 17:11:28 +08:00
<configuration>
2023-08-09 00:56:46 +08:00
<annotationProcessorPaths>
<path>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${org.mapstruct.version}</version>
</path>
<path>
2023-08-08 17:11:28 +08:00
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
2023-08-09 00:56:46 +08:00
<version>${lombok.version}</version>
</path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-mapstruct-binding</artifactId>
<version>0.2.0</version>
</path>
<path>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<version>${springboot.version}</version>
</path>
<!-- other annotation processors -->
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<skipTests>true</skipTests>
2023-08-08 17:11:28 +08:00
</configuration>
</plugin>
</plugins>
2023-08-09 00:56:46 +08:00
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/**</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
2023-08-08 17:11:28 +08:00
</build>
2023-08-09 00:56:46 +08:00
</project>