130 lines
4.5 KiB
XML
130 lines
4.5 KiB
XML
<?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-common-dao</artifactId>
|
||
<groupId>cc.iotkit</groupId>
|
||
<version>${revision}</version>
|
||
</parent>
|
||
<version>${revision}</version>
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<artifactId>iot-data-serviceImpl-rdb</artifactId>
|
||
<description>
|
||
关系型数据库的数据服务实现模块
|
||
如:h2、mysql,由jpa兼容不同数据库
|
||
</description>
|
||
|
||
<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>
|
||
|
||
<dependency>
|
||
<groupId>com.h2database</groupId>
|
||
<artifactId>h2</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>commons-io</groupId>
|
||
<artifactId>commons-io</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-core</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.mapstruct</groupId>
|
||
<artifactId>mapstruct</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.github.biyanwen</groupId>
|
||
<artifactId>jpa-comment-spring-boot-starter</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>cc.iotkit</groupId>
|
||
<artifactId>iot-common-core</artifactId>
|
||
</dependency>
|
||
|
||
<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>
|
||
|
||
</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>1.18.24</version>
|
||
</path>
|
||
<path>
|
||
<groupId>org.mapstruct</groupId>
|
||
<artifactId>mapstruct-processor</artifactId>
|
||
<version>1.4.2.Final</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> |