war中jar overlay的targetPath怎么设置?
How do you set the targetPath of jar overlay in a war?
我正在阅读 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.
但我正在尝试覆盖一个罐子,而不是 war。我不希望文件位于根目录中。
回答我自己的问题:
原来文档是错误的,您可以使用类型为 jar
的 targetPath。
我正在阅读 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.
但我正在尝试覆盖一个罐子,而不是 war。我不希望文件位于根目录中。
回答我自己的问题:
原来文档是错误的,您可以使用类型为 jar
的 targetPath。