fix maven warnings and errors

java source defaults to 1.3, so need to manually specify it as 1.5 to use generics

transfer files using UTF-8 encoding instead of the local encoding

put junit in test scope so that it isn't an inherited dependency