什么';Jenkins Build中发生低于Maven异常的原因是什么?

什么';Jenkins Build中发生低于Maven异常的原因是什么?,maven,jenkins,Maven,Jenkins,Jenkins Build中发生低于Maven异常的原因是什么 它最初是为版本3.0.2工作的-有人意外地替换了3.2.3-我们开始看到这个错误 3.0.2已恢复 使用命令mvn-U clean install 似乎不起作用。。欢迎指点 Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.6.1/maven-clean-plugin-2.6.1.pom Ma

Jenkins Build中发生低于Maven异常的原因是什么

它最初是为版本3.0.2工作的-有人意外地替换了3.2.3-我们开始看到这个错误

3.0.2已恢复 使用命令mvn-U clean install

似乎不起作用。。欢迎指点

Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.6.1/maven-clean-plugin-2.6.1.pom
Mar 25, 2015 3:17:44 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request: java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory
Mar 25, 2015 3:17:44 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
INFO: Retrying request
Mar 25, 2015 3:17:44 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request: java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory
Mar 25, 2015 3:17:44 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
INFO: Retrying request
Mar 25, 2015 3:17:44 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request: java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory
Mar 25, 2015 3:17:44 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
INFO: Retrying request

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.526 s
[INFO] Finished at: 2015-03-25T15:17:44-04:00
[INFO] Final Memory: 4M/11M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.6.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.6.1: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.6.1 from/to central (https://repo.maven.apache.org/maven2): java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory -> [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 solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
SOE Failed. ( goto :FailResult )
Checking whether SOE.war is built successfully and available.
"Building BatchFeed in Dev Environment...."

 The Command: D:\apache-maven-3.0.4\bin\mvn.bat -U clean install

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building feed 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.12.4/maven-surefire-plugin-2.12.4.pom
Mar 25, 2015 3:17:48 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request: java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory
Mar 25, 2015 3:17:48 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
INFO: Retrying request
Mar 25, 2015 3:17:48 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request: java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory
Mar 25, 2015 3:17:48 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
INFO: Retrying request
Mar 25, 2015 3:17:48 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request: java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory
Mar 25, 2015 3:17:48 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
INFO: Retrying request

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.034 s
[INFO] Finished at: 2015-03-25T15:17:48-04:00
[INFO] Final Memory: 5M/11M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-surefire-plugin:2.12.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-surefire-plugin:jar:2.12.4: Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4 from/to central (https://repo.maven.apache.org/maven2): java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory -> [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 solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

错误消息看起来像是网络问题(代理/防火墙),正如Manfred已经提到的那样。可能是您错误地配置了存储库(settings.xml)(您似乎没有使用存储库管理器)

无法解析:未能读取的项目描述符 plugins:maven clean plugin:jar:2.6.1:无法 转移伪影 plugins:maven clean plugin:pom:2.6.1 from/to central (): java.lang.ClassNotFoundException:找不到指定的类 com.ibm.websphere.ssl.protocol.SSLSocketFactory->[帮助1]


我还可以建议至少升级到3.0.5,以便在稳定的版本上更好地升级到更高的版本。

补充了其他人对网络问题的看法,这可能是这里的问题

我在这里看到I/O异常

信息:I/O异常


请检查您的磁盘是否已满或存在问题或权限问题。

是否使用代理或其他工具?在settings.xml中配置了什么?我还建议使用3.0版本3.0.5的稳定版本,而不是不稳定的3.0.2。。或者更好地升级到最新的3.2.5或3.3.1我们曾经在Websphere上使用“错误”的JDK运行时遇到过这种情况:但这不会通过简单地更改Maven版本触发,我想。@ManfredMoser settings.xml是空的,我们尝试切换JDK并尝试将jsse.jar添加到IBMJDK中,但似乎没有work@kharbaise我们尝试改为Maven 3.2.3-似乎不起作用,我建议先检查网络等问题,然后再更新到新的Maven版本。我们做到了,在运行maven命令的Jenkins windows服务器上找不到任何网络问题。我们对网络问题不是很乐观,因为我们可以下载其他JAR。。