Adding dependency to M2 project