tweak license management.

- add license header file for basepom
- add xml formatting rule