|
|
<?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>
|
|
|
<artifactId>iot-dao</artifactId>
|
|
|
<groupId>cc.iotkit</groupId>
|
|
|
<version>0.5.3</version>
|
|
|
</parent>
|
|
|
<version>0.5.3</version>
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
<artifactId>iot-data-serviceImpl-rdb</artifactId>
|
|
|
<description>
|
|
|
关系型数据库的数据服务实现模块
|
|
|
如:h2、mysql,由jpa兼容不同数据库
|
|
|
</description>
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>cc.iotkit</groupId>
|
|
|
<artifactId>iot-common-core</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>cc.iotkit</groupId>
|
|
|
<artifactId>iot-data-service</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>cc.iotkit</groupId>
|
|
|
<artifactId>iot-common-tenant</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!--====================第三方库===================-->
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- QueryDSL框架依赖 -->
|
|
|
<dependency>
|
|
|
<groupId>com.querydsl</groupId>
|
|
|
<artifactId>querydsl-apt</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.querydsl</groupId>
|
|
|
<artifactId>querydsl-jpa</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.github.yitter</groupId>
|
|
|
<artifactId>yitter-idgenerator</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.h2database</groupId>
|
|
|
<artifactId>h2</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<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>-->
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-core</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>io.github.linpeilie</groupId>
|
|
|
<artifactId>mapstruct-plus-spring-boot-starter</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.data</groupId>
|
|
|
<artifactId>spring-data-commons</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.github.biyanwen</groupId>
|
|
|
<artifactId>jpa-comment-spring-boot-starter</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok</artifactId>
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>cc.iotkit</groupId>
|
|
|
<artifactId>iot-common-satoken</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi</artifactId>
|
|
|
<version>5.2.3</version>
|
|
|
<scope>compile</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
<version>5.2.3</version>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi-ooxml-schemas</artifactId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.xmlbeans</groupId>
|
|
|
<artifactId>xmlbeans</artifactId>
|
|
|
<version>5.1.1</version>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<groupId>org.apache.xmlbeans</groupId>
|
|
|
<artifactId>xmlbeans</artifactId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
<!-- <dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
<version>5.2.3</version>
|
|
|
</dependency>-->
|
|
|
<!-- <dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi</artifactId>
|
|
|
<version>5.2.3</version>
|
|
|
<scope>compile</scope>
|
|
|
</dependency>-->
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<version>3.8.1</version>
|
|
|
<configuration>
|
|
|
<source>${java.version}</source> <!-- depending on your project -->
|
|
|
<target>${java.version}</target> <!-- depending on your project -->
|
|
|
<annotationProcessorPaths>
|
|
|
<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>
|
|
|
|
|
|
<!-- other annotation processors -->
|
|
|
</annotationProcessorPaths>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
|
|
|
<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>
|
|
|
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|
|
|
</project>
|