resolving compilation error through maven + implicit conversion warning