Currently SignServer is always built from source and some changes in the configuration produces binaries with built-in configuration.
It would be better if the build-scripts produced one set of binaries that could be package as a binary distribution. Configuration of the deployment, datasources, keystores and client application could then be done in a later step without needing the source. The binary distribution would be the SignServer folder but without the modules folder.
Change the build script:
x Remove the preprocessing
x Change the target signserver.ear to not compile anything but instead open the different jar-files updating web.xml ejb.jar.xml etc and then put together the final signserver.ear