Reorganize pom for docker build