Fix a a bug in parseDuration(String duration) and printTo(StringBuffer buffer, Duration duration) methods : using a null duration is considered as a normal use case and shouldn't throw an exception.
Specify a default value for timeout parameter and use the new maven format for this one.