• 请不要在回答技术问题时复制粘贴 AI 生成的内容
asanelder
V2EX  ›  程序员

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

  •  
  •   asanelder · Oct 5, 2021 · 1994 views
    This topic created in 1876 days ago, the information mentioned may be changed or developed.
    俺想先使用 maven resource plugin 来 filter properties 文件, 然后 mybatis-generator plugin 使用 filter 之后的 properties 文件, 但这样好像不行, 有铁子遇到过么?
    2 replies  •  2021-10-06 22:27:31 +08:00
    junbaor
    junbaor
    Oct 6, 2021 via iPhone
    1
    mybatis-generator plugin 引用的文件是 target 目录下 filter 过的吗
    asanelder
    asanelder
    OP
    Oct 6, 2021
    2
    @junbaor #1 嗯, 是的.

    不过现在搞定了, 发现配置文件中可以直接使用 maven properties 了.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1158 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 23:30 · PVG 07:30 · LAX 15:30 · JFK 18:30
    ♥ Do have faith in what you're doing.