fix: 修复jenkins lombox版本问题

This commit is contained in:
landaiqing
2024-05-04 02:28:18 +08:00
committed by zlg
parent 6d7ef42219
commit f68fca9ac1
2 changed files with 51 additions and 51 deletions

View File

@@ -9,38 +9,38 @@
</parent>
<artifactId>schisandra-cloud-storage-auth-application-controller</artifactId>
<name>schisandra-cloud-storage-auth-application-controller</name>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.24</version>
</path>
<!-- 必须要加, 否则生成不了 MapperImpl 实现类 -->
<path>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>1.4.2.Final</version>
</path>
<!-- 如果是 0.1.0 有可能出现生成了maptruct的实现类, 但该类只创建了对象, 没有进行赋值 -->
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-mapstruct-binding</artifactId>
<version>0.2.0</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
<!-- <build>-->
<!-- <plugins>-->
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
<!-- <artifactId>maven-compiler-plugin</artifactId>-->
<!-- <configuration>-->
<!-- <source>1.8</source>-->
<!-- <target>1.8</target>-->
<!-- <encoding>UTF-8</encoding>-->
<!--&lt;!&ndash; <annotationProcessorPaths>&ndash;&gt;-->
<!--&lt;!&ndash; <path>&ndash;&gt;-->
<!--&lt;!&ndash; <groupId>org.projectlombok</groupId>&ndash;&gt;-->
<!--&lt;!&ndash; <artifactId>lombok</artifactId>&ndash;&gt;-->
<!--&lt;!&ndash; <version>1.18.24</version>&ndash;&gt;-->
<!--&lt;!&ndash; </path>&ndash;&gt;-->
<!--&lt;!&ndash; &lt;!&ndash; 必须要加, 否则生成不了 MapperImpl 实现类 &ndash;&gt;&ndash;&gt;-->
<!--&lt;!&ndash; <path>&ndash;&gt;-->
<!--&lt;!&ndash; <groupId>org.mapstruct</groupId>&ndash;&gt;-->
<!--&lt;!&ndash; <artifactId>mapstruct-processor</artifactId>&ndash;&gt;-->
<!--&lt;!&ndash; <version>1.4.2.Final</version>&ndash;&gt;-->
<!--&lt;!&ndash; </path>&ndash;&gt;-->
<!--&lt;!&ndash; &lt;!&ndash; 如果是 0.1.0 有可能出现生成了maptruct的实现类, 但该类只创建了对象, 没有进行赋值 &ndash;&gt;&ndash;&gt;-->
<!--&lt;!&ndash; <path>&ndash;&gt;-->
<!--&lt;!&ndash; <groupId>org.projectlombok</groupId>&ndash;&gt;-->
<!--&lt;!&ndash; <artifactId>lombok-mapstruct-binding</artifactId>&ndash;&gt;-->
<!--&lt;!&ndash; <version>0.2.0</version>&ndash;&gt;-->
<!--&lt;!&ndash; </path>&ndash;&gt;-->
<!--&lt;!&ndash; </annotationProcessorPaths>&ndash;&gt;-->
<!-- </configuration>-->
<!-- </plugin>-->
<!-- </plugins>-->
<!-- </build>-->
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>

View File

@@ -17,25 +17,25 @@
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.24</version>
</path>
<!-- 必须要加, 否则生成不了 MapperImpl 实现类 -->
<path>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>1.4.2.Final</version>
</path>
<!-- 如果是 0.1.0 有可能出现生成了maptruct的实现类, 但该类只创建了对象, 没有进行赋值 -->
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-mapstruct-binding</artifactId>
<version>0.2.0</version>
</path>
</annotationProcessorPaths>
<!-- <annotationProcessorPaths>-->
<!-- <path>-->
<!-- <groupId>org.projectlombok</groupId>-->
<!-- <artifactId>lombok</artifactId>-->
<!-- <version>1.18.24</version>-->
<!-- </path>-->
<!-- &lt;!&ndash; 必须要加, 否则生成不了 MapperImpl 实现类 &ndash;&gt;-->
<!-- <path>-->
<!-- <groupId>org.mapstruct</groupId>-->
<!-- <artifactId>mapstruct-processor</artifactId>-->
<!-- <version>1.4.2.Final</version>-->
<!-- </path>-->
<!-- &lt;!&ndash; 如果是 0.1.0 有可能出现生成了maptruct的实现类, 但该类只创建了对象, 没有进行赋值 &ndash;&gt;-->
<!-- <path>-->
<!-- <groupId>org.projectlombok</groupId>-->
<!-- <artifactId>lombok-mapstruct-binding</artifactId>-->
<!-- <version>0.2.0</version>-->
<!-- </path>-->
<!-- </annotationProcessorPaths>-->
</configuration>
</plugin>
</plugins>