Add Java and maven snippets