Closed framillien closed 5 years ago
JCraft Jsch lib is the main SSH lib used. J2SSH is only used for a passphrase validity check. Replace J2SSH by Jsch calls to implement validity check.
Previous PowerMock implementation is not compatible with Java9, upgrade PowerMock, Mockito & co to gain this compatibility.
Do needed changes (null parameter is no more matched by any() matchers) and try to use same patterns for static Mock imports:
Update jsch to last version (security fix & new algos)
Remove additionnal SSH lib
JCraft Jsch lib is the main SSH lib used. J2SSH is only used for a passphrase validity check. Replace J2SSH by Jsch calls to implement validity check.
Allow packaging with JDK 9, updating tests lib
Previous PowerMock implementation is not compatible with Java9, upgrade PowerMock, Mockito & co to gain this compatibility.
Do needed changes (null parameter is no more matched by any() matchers) and try to use same patterns for static Mock imports: