Should you provide dependent libraries in client jar?

前端 未结 5 638
眼角桃花
眼角桃花 2021-02-02 14:25

We\'re providing a client jar for other internal apps to connect to our app\'s REST API. Our API depends on a few standard Jakarta libraries. Is it a best practice to include

5条回答
  •  遇见更好的自我
    2021-02-02 14:57

    You should include those jars if you're deploying the app as a standalone application. If you're deploying the source for someone to build and you provide a maven pom file then you don't necessarily need to.

提交回复
热议问题