iotkit-parent/iot-common/iot-common-dao/iot-data-serviceImpl-rdb/pom.xml

153 lines
5.3 KiB
XML
Raw Normal View History

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-05-17 08:24:21 +00:00
<artifactId>iot-common-dao</artifactId>
2022-07-14 11:45:27 +00:00
<groupId>cc.iotkit</groupId>
2023-05-06 06:46:44 +00:00
<version>${revision}</version>
2022-07-14 11:45:27 +00:00
</parent>
2023-05-06 06:46:44 +00:00
<version>${revision}</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>
<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>
2023-06-12 11:12:52 +00:00
<dependency>
<groupId>com.github.yitter</groupId>
<artifactId>yitter-idgenerator</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
2022-07-14 11:45:27 +00:00
<dependency>
2023-06-05 03:07:27 +00:00
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.32</version>
2022-07-14 11:45:27 +00:00
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
2022-12-01 09:33:51 +00:00
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-core</artifactId>
</dependency>
2023-06-04 12:31:53 +00:00
2023-06-04 08:41:59 +00:00
<!-- <dependency>-->
2023-06-04 12:31:53 +00:00
<!-- <groupId>io.github.linpeilie</groupId>-->
<!-- <artifactId>mapstruct-plus</artifactId>-->
2023-06-04 08:41:59 +00:00
<!-- </dependency>-->
2023-06-04 12:31:53 +00:00
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>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
2023-05-30 06:27:15 +00:00
<dependency>
<groupId>com.github.biyanwen</groupId>
<artifactId>jpa-comment-spring-boot-starter</artifactId>
</dependency>
2023-05-15 00:31:02 +00:00
<dependency>
<groupId>cc.iotkit</groupId>
<artifactId>iot-common-core</artifactId>
</dependency>
2022-07-14 11:45:27 +00:00
<dependency>
<groupId>cc.iotkit</groupId>
<artifactId>iot-data-service</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
<version>2.7.11</version>
</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-04 08:41:59 +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>
2022-07-14 11:45:27 +00:00
<!-- 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>
2022-07-14 11:45:27 +00:00
</plugins>
</build>
</project>