HotswapProjects / HotswapAgent

Java unlimited redefinition of classes at runtime.
GNU General Public License v2.0
2.36k stars 493 forks source link

HotswapAgent watch /.m2/repository/ directory #588

Closed xiangpingjiang closed 1 month ago

xiangpingjiang commented 1 month ago

I have ERROR like below: HOTSWAP AGENT: 17:17:55.352 WARNING (org.hotswap.agent.watch.nio.WatcherNIO2) - Unable to watch for path file:///workspaces/doraemon-prod/jar:file:/home/vscode/.m2/repository/com/alipay/sofa/common/sofa-common-tools/1.3.11/sofa-common-tools-1.3.11.jar!/sofa-thread/log/log4j2, not a local regular file or directory.

and I have tried add exclude=file:/.m2/repository/** and exclude=jar:* in maven: src/main/resources/hotswap-agent.properties
But it did't take effet.

How can I exclude /.m2/repository/ directory? Thank you

skybber commented 1 month ago

You can ignore this log, will be fixed in next release