Skip to content

Commit cf4eb61

Browse files
committed
add: add maven-compiler-plugin
1 parent b508593 commit cf4eb61

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,16 @@
148148
</execution>
149149
</executions>
150150
</plugin>
151+
<!-- release to github -->
152+
<plugin>
153+
<groupId>org.apache.maven.plugins</groupId>
154+
<artifactId>maven-compiler-plugin</artifactId>
155+
<version>3.13.0</version> <!-- 显式指定一个兼容的版本 -->
156+
<configuration>
157+
<source>${maven.compiler.source}</source>
158+
<target>${maven.compiler.target}</target>
159+
</configuration>
160+
</plugin>
151161
</plugins>
152162
</build>
153163

0 commit comments

Comments
 (0)