修改插件版本
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -20,7 +20,7 @@ pipeline {
|
|||||||
stage('Build with Maven') {
|
stage('Build with Maven') {
|
||||||
steps {
|
steps {
|
||||||
echo "🛠️ 正在使用 Maven 构建..."
|
echo "🛠️ 正在使用 Maven 构建..."
|
||||||
sh 'mvn clean package -s settings.xml'
|
sh 'mvn clean package -s settings.xml -X'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
1
pom.xml
1
pom.xml
@ -122,6 +122,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<version>3.10.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>${java.version}</source>
|
<source>${java.version}</source>
|
||||||
<target>${java.version}</target>
|
<target>${java.version}</target>
|
||||||
|
|||||||
Reference in New Issue
Block a user