How to make a monolithic jar.file?

后端 未结 5 1648
眼角桃花
眼角桃花 2021-01-17 06:29

I need to create a hadoop job jar file that uses mahout and a bunch of other libraries. I need ti be able to run the job without needing additional jar.files such that all r

5条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-17 07:05

    Jar is just a Zip container.

    You can manually unzip and modify your Jar file with the classes needed, or you can make use of e.g., the jar-with-dependencies descriptor of the Maven build system.

提交回复
热议问题