Fix build for windows
Fix time adjustment for test

Fix #8.
Merge pull request #7 from slawekjaranowski/master

Fix build for windows
Merge pull request #9 from rinrinne/fix-time

Fix time adjustment for test
Removed external repositories.

If we want publish in central repository all dependency should be already in central.
Otherwise other people's build might break because of missing dependencies
Removed SLF4J bindings from transitive dependencies.

The code only required SLF4J Api, SLF4J binding is required only during tests.
Other people may want to use another implementation of SLF4J binding in their projects.
Merge pull request #11 from slawekjaranowski/master

External repository and SLF4J bindings
Separate ssh connection logic from constructor

Implementation class of SshConnection has connection logic in
constructor. So instance might not be generated if unstable connection.

This patch separates connection logic from constructor. Then it is moved
to new method connect().
Add byte array for private key phrase
Add interface to update authentication just before ssh session opened.

This is a part of JENKINS-21637.
Fix test and checkstyle errors
Fix an issue related to Watchdog reconnection.

Add a catch statement to handle the IllegalStateException being
thrown by SshConnection in very specific circumstances. If a
disconnection would occur during the short timeframe between
connecting (calling of the connect() method in GerritConnection.java)
and the moment when the ssh command is executed by the
executeCommandReader() method, the watchdog would stop trying to
reconnect to gerrit. This issue has occurred several times and
caused problems for Jenkins builds which depend on projects in Gerrit.
When caught, the exception no longer causes a reconnection issue.

The fix was tested in multiple test environments by setting a
breakpoint at the specific moment when the issue was occurring,
forcing a disconnection via failover, and observing the Watchdog's
reconnection process.
Merge pull request #13 from ibratanov/reconnection-fix

Fix an issue related to Watchdog reconnection.
Merge pull request #12 from rinrinne/credential-plugin

Add interface to update authentication just before ssh session opened
Improvements in the README file

Change-Id: I918b43d72fa5d38bbe932ac25f45095b8ecda616
Merge pull request #14 from dpursehouse/readme-fixes

Improvements in the README file
Added query with comments and more model data.

- --comments flag is now available for queyring
- new mappings:
-- Account.username as String
-- Change.comments as List<Comment>
-- Comment.reviewer as Account
-- Comment.message as String
-- PatchSet.author as Account
-- PatchSet.approvals as List<Approval>
-- PatchSet.parents as List<String>
- replaced Approval.username (as String) by Approval.by (as Account)
Review feedback:

- Added tests for Account::username and Change::comments
- Avoid empty ArrayList when JSON is missing (or object not initialized)
Reverted wildcard imports
Added unit-test for Approval deserialization compatibility