compilation and resolve maven dependencies