When I build the project with maven 2.2.1, it download jar from nexus with https connection.

But it seems there is something wrong while downloading the dependency jar, What's the problem , how to solve it ?

Error:

[WARNING] Unable to get resource 'org.apache.maven.plugins:maven-clean-plugin:po m:2.2' from repository HTSA_BCD_Team-m2 (http://r2alm.ghq.com:7001/alm/proxy/ht su/HTSA_BCD_Team-m2): Error transferring file: java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory

1

There are 1 answers

3
Will On BEST ANSWER

I know how to solve this.

Edit java.security file which is in jre/lib/security

comment original ssl and set the them below:

ssl.SocketFactory.provider=com.ibm.jsse2.SSLSocketFactoryImpl ssl.ServerSocketFactory.provider=com.ibm.jsse2.SSLServerSocketFactoryImpl