[packages] Add Java and Maven2