Remove endorseid, because this moment not is used

Remove endorseid, because this moment not is used.
Set encoding configuration to maven-compiler-plugin.