我正在阅读the war plugin's overlay documentation它说:
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.
但我试图覆盖一个 jar ,而不是一场 war 。我不希望这些文件位于根目录中。
最佳答案
回答我自己的问题:
事实证明文档是错误的,您可以将 targetPath 与类型 jar
一起使用。
关于java - 在 war 中如何设置jar覆盖的targetPath?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36895963/