copied from google code trunk, updated pom for github