added pom.xml and java agent