add license
Specify encoding
Execute maven in separate dir