sonyxperiadev / gerrit-events

MIT License
47 stars 62 forks source link

Update dependencies #85

Closed framillien closed 5 years ago

framillien commented 5 years ago

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: