add java.policy and pom