Use Maven Resource plugin for easier coding.