Fix maven build which produce a jar for server module and install it as the war in maven repository