Basic Java example using Maven