Define artifact id in maven config and run maven in batch mode (-B)

It should be possible to define maven artifact id in maven configuration. Running maven in node without batch mode sometimes hangs the process.