java sample from maven