Fix maven configuration

The distribution module had dependencies that are only created in
profile "sign".