Fix compilation problem by adding pom dependencies