For the finish scenario, use `mvn package` to copy the required postgres library for building docker image. is there an alternative to achieve it?