2022-07-14 11:45:27 +00: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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
<parent>
|
2023-10-09 23:34:00 +00:00
|
|
|
|
<artifactId>iot-dao</artifactId>
|
2022-07-14 11:45:27 +00:00
|
|
|
|
<groupId>cc.iotkit</groupId>
|
2024-03-16 02:23:54 +00:00
|
|
|
|
<version>0.5.3</version>
|
2022-07-14 11:45:27 +00:00
|
|
|
|
</parent>
|
2024-03-16 02:23:54 +00:00
|
|
|
|
<version>0.5.3</version>
|
2022-07-14 11:45:27 +00:00
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2023-05-17 08:24:21 +00:00
|
|
|
|
<artifactId>iot-data-serviceImpl-rdb</artifactId>
|
2023-05-06 06:46:44 +00:00
|
|
|
|
<description>
|
|
|
|
|
关系型数据库的数据服务实现模块
|
|
|
|
|
如:h2、mysql,由jpa兼容不同数据库
|
|
|
|
|
</description>
|
2022-07-14 11:45:27 +00:00
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
2023-08-07 00:32:23 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cc.iotkit</groupId>
|
|
|
|
|
<artifactId>iot-common-core</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cc.iotkit</groupId>
|
|
|
|
|
<artifactId>iot-data-service</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2023-09-19 00:48:28 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cc.iotkit</groupId>
|
|
|
|
|
<artifactId>iot-common-tenant</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2023-08-07 00:32:23 +00:00
|
|
|
|
<!--====================第三方库===================-->
|
|
|
|
|
|
2022-07-14 11:45:27 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2023-05-16 15:16:36 +00:00
|
|
|
|
<!-- QueryDSL框架依赖 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.querydsl</groupId>
|
|
|
|
|
<artifactId>querydsl-apt</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.querydsl</groupId>
|
|
|
|
|
<artifactId>querydsl-jpa</artifactId>
|
|
|
|
|
</dependency>
|
2023-06-12 11:12:52 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.yitter</groupId>
|
|
|
|
|
<artifactId>yitter-idgenerator</artifactId>
|
|
|
|
|
</dependency>
|
2023-05-16 15:16:36 +00:00
|
|
|
|
|
2023-06-06 07:11:30 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2023-10-15 01:20:44 +00:00
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>mysql</groupId>-->
|
|
|
|
|
<!-- <artifactId>mysql-connector-java</artifactId>-->
|
|
|
|
|
<!-- <version>8.0.32</version>-->
|
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
<!-- -->
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>org.postgresql</groupId>-->
|
|
|
|
|
<!-- <artifactId>postgresql</artifactId>-->
|
|
|
|
|
<!-- <version>42.2.9</version>-->
|
|
|
|
|
<!-- </dependency>-->
|
2022-07-14 11:45:27 +00:00
|
|
|
|
|
2023-10-19 00:13:13 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2022-12-01 09:33:51 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
<artifactId>hutool-core</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2022-07-14 11:45:27 +00:00
|
|
|
|
<dependency>
|
2023-06-04 08:41:59 +00:00
|
|
|
|
<groupId>io.github.linpeilie</groupId>
|
2023-06-04 12:31:53 +00:00
|
|
|
|
<artifactId>mapstruct-plus-spring-boot-starter</artifactId>
|
2022-07-14 11:45:27 +00:00
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
2023-10-09 23:34:00 +00:00
|
|
|
|
<groupId>org.springframework.data</groupId>
|
|
|
|
|
<artifactId>spring-data-commons</artifactId>
|
2022-07-14 11:45:27 +00:00
|
|
|
|
</dependency>
|
|
|
|
|
|
2023-05-30 06:27:15 +00:00
|
|
|
|
<dependency>
|
2023-10-09 23:34:00 +00:00
|
|
|
|
<groupId>javax.validation</groupId>
|
|
|
|
|
<artifactId>validation-api</artifactId>
|
2023-05-30 06:27:15 +00:00
|
|
|
|
</dependency>
|
|
|
|
|
|
2023-05-16 15:16:36 +00:00
|
|
|
|
<dependency>
|
2023-10-15 01:20:44 +00:00
|
|
|
|
<groupId>com.github.biyanwen</groupId>
|
|
|
|
|
<artifactId>jpa-comment-spring-boot-starter</artifactId>
|
2023-10-09 23:34:00 +00:00
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
2023-05-16 15:16:36 +00:00
|
|
|
|
</dependency>
|
2022-07-14 11:45:27 +00:00
|
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
<version>3.8.1</version>
|
|
|
|
|
<configuration>
|
2023-05-15 00:31:02 +00:00
|
|
|
|
<source>${java.version}</source> <!-- depending on your project -->
|
|
|
|
|
<target>${java.version}</target> <!-- depending on your project -->
|
2022-07-14 11:45:27 +00:00
|
|
|
|
<annotationProcessorPaths>
|
2023-06-29 15:24:58 +00:00
|
|
|
|
<path>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
<version>${lombok.version}</version>
|
|
|
|
|
</path>
|
|
|
|
|
<path>
|
|
|
|
|
<groupId>io.github.linpeilie</groupId>
|
|
|
|
|
<artifactId>mapstruct-plus-processor</artifactId>
|
|
|
|
|
<version>${mapstruct-plus.version}</version>
|
|
|
|
|
</path>
|
|
|
|
|
<path>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok-mapstruct-binding</artifactId>
|
|
|
|
|
<version>0.2.0</version>
|
|
|
|
|
</path>
|
2023-06-04 08:41:59 +00:00
|
|
|
|
|
2022-07-14 11:45:27 +00:00
|
|
|
|
<!-- other annotation processors -->
|
|
|
|
|
</annotationProcessorPaths>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2023-05-16 15:16:36 +00:00
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
<!--因为QueryDsl是类型安全的,所以还需要加上Maven APT plugin,使用 APT 自动生成Q类:-->
|
|
|
|
|
<groupId>com.mysema.maven</groupId>
|
|
|
|
|
<artifactId>apt-maven-plugin</artifactId>
|
|
|
|
|
<version>1.1.3</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>process</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<outputDirectory>target/generated-sources/java</outputDirectory>
|
|
|
|
|
<processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
2022-07-14 11:45:27 +00:00
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
2023-06-06 07:11:30 +00:00
|
|
|
|
</project>
|