Fixed javadocs so they compile and made pom compatable for official repositories.

Change-Id: I05d54c1ba12df671e924cd469e4ecc9e8d17499c