Is it possible to build a java project only once using eclipse and share?

前端 未结 5 1684
有刺的猬
有刺的猬 2020-12-01 16:51

Is it possible to actually build a maven project containing java code to be built once and the binaries can be shared?

Problem: The project I am trying to build woul

5条回答
  •  情歌与酒
    2020-12-01 17:14

    If you use maven, a mvn install will install your binary into your ${home}/.m2 folder. Those binary will be available for all other maven job that will run on the same machine.

    If you need to share your binary between multiple machine, you can deploy your jars to a repository, like nexus or artifactory.

提交回复
热议问题