Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
svn:E175002上的Maven验证声纳失败_Maven_Ssl_Svn_Sonarqube_Sonarqube Scan - Fatal编程技术网

svn:E175002上的Maven验证声纳失败

svn:E175002上的Maven验证声纳失败,maven,ssl,svn,sonarqube,sonarqube-scan,Maven,Ssl,Svn,Sonarqube,Sonarqube Scan,新安装的声纳应为6。使用 sudo svn https://mySvnServer --username myUsername 永久接受mySvnServer的证书。SonarQube服务器已启动,我准备按照进行maven验证 几乎在99%的过程之后,它会失败,并出现以下错误 [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3. 0.2:sonar (default-cli)

新安装的声纳应为6。使用

sudo svn https://mySvnServer --username myUsername    
永久接受
mySvnServer
的证书。SonarQube服务器已启动,我准备按照进行maven验证

几乎在99%的过程之后,它会失败,并出现以下错误

[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.
0.2:sonar (default-cli) on project com.foo.bar: Error when executing blame for fil
e src/main/java/com/foo/bar/MyJavaClass.java: svn: E175002: Connection has been sh
utdown: javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name
[ERROR] svn: E175002: OPTIONS request failed on '/svn/full-SVN-Path-To-My-Project/
MyJavaClass.java'
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch
.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solut
ions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVE
N/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :clear.ng
[ERROR]无法执行目标org.sonarsource.scanner.maven:sonarmaven插件:3。
0.2:project com.foo.bar上的sonar(默认cli):执行fil责备时出错
e src/main/java/com/foo/bar/MyJavaClass.java:svn:E175002:连接已完成
utdown:javax.net.ssl.sslprotoclexception:握手警报:无法识别的\u名称
[错误]svn:E175002:选项请求在我的项目的“/svn/full svn路径上失败/
MyJavaClass.java'
[错误]->[帮助1]
[错误]
[错误]要查看错误的完整堆栈跟踪,请使用-e开关重新运行Maven
.
[错误]使用-X开关重新运行Maven以启用完整调试日志记录。
[错误]
[错误]有关错误和可能的解决方案的更多信息
请阅读以下文章:
[错误][帮助1]http://cwiki.apache.org/confluence/display/MAVE
N/MojoExecutionException
[错误]
[错误]纠正问题后,可以使用命令恢复生成
[错误]mvn-射频:clear.ng

尝试阅读发布的与批次相关的问题,并设法对问题有所了解,但不知道在何处以及哪些更改可以解决相同的问题。

升级您的VisualSVN服务器实例。VisualSVN Server 2.7不再受支持,也不再接受安全或错误修复。当前的VisualSVN服务器发布版本是3.5.x

要立即修复,请应用上次修补程序更新:

修补程序更新是同一发布版本中的次要更新。应用一个小补丁更新总是无痛且快速的;补丁更新只包含错误修复,没有新功能。对于2.7.14版,您不应再出现此类错误,因为我们在以下方面应用了一种变通方法:

禁用SNI(服务器名称指示)扩展以解决问题 不兼容的Subversion客户端错误地处理SSL握手 警报

问题在于,不合规的Subversion客户端可能会错误地处理SSL握手警报。在您的特定情况下,我猜证书、URL和服务器设置中使用了不同的服务器名称,因此会出现握手警告,警告客户端无法正确处理。此类警报必须仅被视为警告,但较旧的客户端和一些基于Java的客户端将其视为导致上述错误之一的关键错误


顺便说一句,最好在服务器上安装有效且正确签名的证书。

您的Subversion服务器版本很旧,对吗?@bahrep Visual SVN server version 1.8.9。这个问题是不是太老了??
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.
0.2:sonar (default-cli) on project com.foo.bar: Error when executing blame for fil
e src/main/java/com/foo/bar/MyJavaClass.java: svn: E175002: Connection has been sh
utdown: javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name
[ERROR] svn: E175002: OPTIONS request failed on '/svn/full-SVN-Path-To-My-Project/
MyJavaClass.java'
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch
.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solut
ions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVE
N/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :clear.ng