How to use as dependency with maven