maven deploy additional jar file

前端 未结 6 1017
花落未央
花落未央 2020-12-30 00:05

I have an artifact which is being built and deployed in a particular way (not as a jar file). In the course of deployment, a war file is built.

How can I configure t

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-30 00:31

    One way to solve this is to have the module build a jar and then use the assembly plugin to build a war file with the jar in WEB-INF/lib of that war. I would strongly recommend against this. You'd be better off having a jar project and a war project with a parent project building both modules.

提交回复
热议问题