Made java into maven project.