jenkins构建maven项目,提示1.5 中不支持 switch 中存在字符串

时间:2021-07-13 14:58:15   收藏:0   阅读:20

jenkins构建中提示:1.5 中不支持 switch 中存在字符串

技术分享图片

 

 

pom.xml文件添加:

      <plugin>
             <version>3.8.1</version>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                  <source>1.7</source>
                  <target>1.7</target>
                </configuration>
       </plugin>

 

原文:https://www.cnblogs.com/Mrshao94/p/15005450.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!