瀏覽代碼

no message

FengChaoYu 1 年之前
父節點
當前提交
a7d74044b0
共有 1 個文件被更改,包括 58 次插入25 次删除
  1. 58 25
      pom.xml

+ 58 - 25
pom.xml

@@ -16,6 +16,9 @@
 
     <properties>
         <java.version>1.8</java.version>
+        <org.mapstruct.version>1.5.5.Final</org.mapstruct.version>
+        <lombok-mapstruct-binding.version>0.2.0</lombok-mapstruct-binding.version>
+        <org.projectlombok.version>1.18.28</org.projectlombok.version>
     </properties>
 
     <dependencies>
@@ -40,7 +43,7 @@
         <dependency>
             <groupId>org.springframework.integration</groupId>
             <artifactId>spring-integration-redis</artifactId>
-<!--            <version>RELEASE</version>-->
+            <!--            <version>RELEASE</version>-->
         </dependency>
 
         <dependency>
@@ -68,15 +71,15 @@
         </dependency>
 
         <!--<dependency>-->
-            <!--<groupId>org.mybatis.spring.boot</groupId>-->
-            <!--<artifactId>mybatis-spring-boot-starter</artifactId>-->
-            <!--<version>2.1.0</version>-->
-            <!--<exclusions>-->
-                <!--<exclusion>-->
-                    <!--<artifactId>mybatis</artifactId>-->
-                    <!--<groupId>org.mybatis</groupId>-->
-                <!--</exclusion>-->
-            <!--</exclusions>-->
+        <!--<groupId>org.mybatis.spring.boot</groupId>-->
+        <!--<artifactId>mybatis-spring-boot-starter</artifactId>-->
+        <!--<version>2.1.0</version>-->
+        <!--<exclusions>-->
+        <!--<exclusion>-->
+        <!--<artifactId>mybatis</artifactId>-->
+        <!--<groupId>org.mybatis</groupId>-->
+        <!--</exclusion>-->
+        <!--</exclusions>-->
         <!--</dependency>-->
         <dependency>
             <groupId>com.baomidou</groupId>
@@ -123,7 +126,7 @@
         <dependency>
             <groupId>org.projectlombok</groupId>
             <artifactId>lombok</artifactId>
-            <version>1.18.8</version>
+            <version>${org.projectlombok.version}</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
@@ -132,7 +135,6 @@
             <version>2.1.0</version>
         </dependency>
 
-
         <dependency>
             <groupId>com.google.zxing</groupId>
             <artifactId>core</artifactId>
@@ -302,26 +304,26 @@
 
         <!--word 转 pdf-->
         <!--<dependency>-->
-            <!--<groupId>e-iceblue</groupId>-->
-            <!--<artifactId>spire.doc.free</artifactId>-->
-            <!--<version>5.2.0</version>-->
+        <!--<groupId>e-iceblue</groupId>-->
+        <!--<artifactId>spire.doc.free</artifactId>-->
+        <!--<version>5.2.0</version>-->
         <!--</dependency>-->
         <!--<dependency>-->
-            <!--<groupId>fr.opensagres.xdocreport</groupId>-->
-            <!--<artifactId>fr.opensagres.poi.xwpf.converter.pdf-gae</artifactId>-->
-            <!--<version>2.0.1</version>-->
+        <!--<groupId>fr.opensagres.xdocreport</groupId>-->
+        <!--<artifactId>fr.opensagres.poi.xwpf.converter.pdf-gae</artifactId>-->
+        <!--<version>2.0.1</version>-->
         <!--</dependency>-->
 
 
         <!--<dependency>-->
-            <!--<groupId>org.docx4j</groupId>-->
-            <!--<artifactId>docx4j-JAXB-Internal</artifactId>-->
-            <!--<version>8.2.4</version>-->
+        <!--<groupId>org.docx4j</groupId>-->
+        <!--<artifactId>docx4j-JAXB-Internal</artifactId>-->
+        <!--<version>8.2.4</version>-->
         <!--</dependency>-->
         <!--<dependency>-->
-            <!--<groupId>org.docx4j</groupId>-->
-            <!--<artifactId>docx4j-export-fo</artifactId>-->
-            <!--<version>8.2.4</version>-->
+        <!--<groupId>org.docx4j</groupId>-->
+        <!--<artifactId>docx4j-export-fo</artifactId>-->
+        <!--<version>8.2.4</version>-->
         <!--</dependency>-->
 
         <!---excel导入-->
@@ -417,7 +419,7 @@
         <dependency>
             <groupId>cn.hutool</groupId>
             <artifactId>hutool-all</artifactId>
-            <version>5.8.0.M4</version>
+            <version>5.8.20</version>
         </dependency>
 
         <!-- 校验工具 -->
@@ -432,6 +434,11 @@
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-freemarker</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.mapstruct</groupId>
+            <artifactId>mapstruct</artifactId>
+            <version>${org.mapstruct.version}</version>
+        </dependency>
 
     </dependencies>
 
@@ -472,6 +479,32 @@
                 <version>2.3.10.RELEASE</version>
             </plugin>
             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>${maven-compiler-plugin.version}</version>
+                <configuration>
+                    <source>${java.version}</source>
+                    <target>${java.version}</target>
+                    <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>
+                        <path>
+                            <groupId>org.projectlombok</groupId>
+                            <artifactId>lombok-mapstruct-binding</artifactId>
+                            <version>${lombok-mapstruct-binding.version}</version>
+                        </path>
+                    </annotationProcessorPaths>
+                </configuration>
+            </plugin>
+            <plugin>
                 <groupId>com.plus.plugin</groupId>
                 <artifactId>plus-maven-plugin</artifactId>
                 <version>5.0.0-SNAPSHOT</version>