Header/Footer support

support header/footer
maven pom support