mybatis-generator maven plugin 无法识别 filterd properties 文件

2021-10-05 11:17:07 +08:00
 asanelder
俺想先使用 maven resource plugin 来 filter properties 文件, 然后 mybatis-generator plugin 使用 filter 之后的 properties 文件, 但这样好像不行, 有铁子遇到过么?
997 次点击
所在节点    程序员
2 条回复
junbaor
2021-10-06 02:00:54 +08:00
mybatis-generator plugin 引用的文件是 target 目录下 filter 过的吗
asanelder
2021-10-06 22:27:31 +08:00
@junbaor #1 嗯, 是的.

不过现在搞定了, 发现配置文件中可以直接使用 maven properties 了.

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/805931

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX