2019-03-30 21:57:01 +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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<parent>
|
|
|
|
<artifactId>promotion</artifactId>
|
|
|
|
<groupId>cn.iocoder.mall</groupId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>promotion-service-api</artifactId>
|
|
|
|
|
2019-04-06 01:41:53 +08:00
|
|
|
<properties>
|
|
|
|
<org.mapstruct.version>1.3.0.Final</org.mapstruct.version>
|
|
|
|
<org.projectlombok.version>1.16.14</org.projectlombok.version>
|
|
|
|
</properties>
|
|
|
|
|
2019-03-30 21:57:01 +08:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.validation</groupId>
|
|
|
|
<artifactId>validation-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.iocoder.mall</groupId>
|
|
|
|
<artifactId>common-framework</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2019-04-06 01:41:53 +08:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
<artifactId>mapstruct</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
|
|
|
|
<version>${org.mapstruct.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
<artifactId>mapstruct-jdk8</artifactId>
|
|
|
|
<version>${org.mapstruct.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>${org.projectlombok.version}</version>
|
|
|
|
</dependency>
|
2019-03-30 21:57:01 +08:00
|
|
|
</dependencies>
|
|
|
|
|
2019-04-06 01:41:53 +08:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!-- 提供给 mapstruct 使用 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.8.0</version>
|
|
|
|
<configuration>
|
|
|
|
<source>1.8</source> <!-- or higher, depending on your project -->
|
|
|
|
<target>1.8</target> <!-- or higher, depending on your project -->
|
|
|
|
<annotationProcessorPaths>
|
|
|
|
<path>
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
<artifactId>mapstruct-processor</artifactId>
|
|
|
|
<version>${org.mapstruct.version}</version>
|
|
|
|
</path>
|
|
|
|
<path>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>${org.projectlombok.version}</version>
|
|
|
|
</path>
|
|
|
|
</annotationProcessorPaths>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|