add assembly plugin in build definition to generate jar file containing all dependencies.