Changed public from jar to pom