Generate classpath string from pom.xml