Skip to content

Commit 4984380

Browse files
committed
✨ deepseek4j-core 不强制依赖 lombok,maven-compiler-plugin 添加 parameters true 编译。
1 parent 3e02589 commit 4984380

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

deepseek4j-core/pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@
118118
<dependency>
119119
<groupId>org.projectlombok</groupId>
120120
<artifactId>lombok</artifactId>
121-
<version>1.18.30</version>
121+
<version>1.18.36</version>
122+
<optional>true</optional>
123+
<scope>provided</scope>
122124
</dependency>
123125

124126
</dependencies>

deepseek4j-example/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@
4545
<artifactId>deepseek-spring-boot-starter</artifactId>
4646
<version>1.4.5</version>
4747
</dependency>
48+
<dependency>
49+
<groupId>org.projectlombok</groupId>
50+
<artifactId>lombok</artifactId>
51+
<scope>provided</scope>
52+
</dependency>
4853
</dependencies>
4954

5055
<build>

pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<properties>
3535
<maven.compiler.source>1.8</maven.compiler.source>
3636
<maven.compiler.target>1.8</maven.compiler.target>
37+
<maven-compiler.version>3.14.0</maven-compiler.version>
3738
<spring.checkstyle.plugin>0.0.29</spring.checkstyle.plugin>
3839
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3940
</properties>
@@ -47,6 +48,20 @@
4748

4849
<build>
4950
<plugins>
51+
<plugin>
52+
<groupId>org.apache.maven.plugins</groupId>
53+
<artifactId>maven-compiler-plugin</artifactId>
54+
<version>${maven-compiler.version}</version>
55+
<configuration>
56+
<source>${maven.compiler.source}</source>
57+
<target>${maven.compiler.target}</target>
58+
<encoding>${project.build.sourceEncoding}</encoding>
59+
<parameters>true</parameters>
60+
<fork>true</fork>
61+
<meminitial>512m</meminitial>
62+
<maxmem>512m</maxmem>
63+
</configuration>
64+
</plugin>
5065
<plugin>
5166
<groupId>io.spring.javaformat</groupId>
5267
<artifactId>spring-javaformat-maven-plugin</artifactId>

0 commit comments

Comments
 (0)