Improvements/dev 111 improve java maven cookbook

details: https://issues.teracy.org/browse/DEV-111
@datphan no, .strip() is not available for array.