pom.xml formatted, javadoc added to ResourceService