How do you set the targetPath of jar overlay in a war?

拟墨画扇 提交于 2019-12-24 17:14:37

问题


I was reading the war plugin's overlay documentation and it said:

targetPath - the target relative path in the webapp structure, which is only available for overlays of type war. By default, the content of the overlay is added in the root structure of the webapp.

But I'm trying to overlay a jar, not a war. I don't want the files to be at the root directory.


回答1:


Answering my own question:

Turns out that documentation is wrong and you can use a targetPath with a type, jar.



来源:https://stackoverflow.com/questions/36895963/how-do-you-set-the-targetpath-of-jar-overlay-in-a-war

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!